Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2016 21:44:18 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: Bizarre clone attempt failures on Raspberry Pi2...
Message-ID:  <5475ea53-ae22-2634-6f2a-5737d1b0e308@denninger.net>
In-Reply-To: <EDE65B12-4961-4CEF-8AE9-BFDA4FD508A5@gromit.dlib.vt.edu>
References:  <548783e1-9047-68f7-5f50-449db684d602@denninger.net> <d2eb4035-e494-1a7b-98e5-2aa87efe0763@denninger.net> <EDE65B12-4961-4CEF-8AE9-BFDA4FD508A5@gromit.dlib.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms040105040309050805020600
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable



On 7/13/2016 19:13, Paul Mather wrote:
>> On Jul 13, 2016, at 3:54 PM, Karl Denninger <karl@denninger.net> wrote=
:
>>
>> Oh, there is one difference:
>>
>> tunefs -p on the new device *works* (no idea why however since there's=

>> no slice there) where it FAILS on the original:
>>
>> root@Test-MCP:/home/karl # tunefs -p /dev/mmcsd0s2
>
> Shouldn't this be /dev/mmcsd0s2a?  You're referencing the entire BSD sl=
ice in the above command, not the UFS partition upon which the rootfs liv=
es.
Right.  Here's the issue; it doesn't work on the original disk (as it
shouldn't) on the entire BSD slice but...
>> tunefs: /dev/mmcsd0s2: could not read superblock to fill out disk
>>
>> root@Test-MCP:/home/karl # tunefs -p /dev/da0s2
>> tunefs: POSIX.1e ACLs: (-a)                                disabled
>> tunefs: NFSv4 ACLs: (-N)                                   disabled
>> tunefs: MAC multilabel: (-l)                               disabled
>> tunefs: soft updates: (-n)                                 enabled
>> tunefs: soft update journaling: (-j)                       disabled
>> tunefs: gjournal: (-J)                                     disabled
>> tunefs: trim: (-t)                                         disabled
>> tunefs: maximum blocks per file in a cylinder group: (-e)  4096
>> tunefs: average file size: (-f)                            16384
>> tunefs: average number of files in a directory: (-s)       64
>> tunefs: minimum percentage of free space: (-m)             8%
>> tunefs: space to hold for metadata blocks: (-k)            6408
>> tunefs: optimization preference: (-o)                      time
>> tunefs: volume label: (-L)                                 rootfs
> Cheers,
>
> Paul.

It DOES on the "clone"!

It ALSO does on the "a" partition of the clone.

This implies that gpart screwed up the partitioning, but THAT leaves
open how and why the original partitioning (which is defined here
https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi%202%20image) works
at all, since that's what I'm doing -- and yet it gives the results as
above (and no boot when I'm done.)

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms040105040309050805020600
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC
Bl8wggZbMIIEQ6ADAgECAgEpMA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G
A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl
bXMgTExDMRwwGgYDVQQDExNDdWRhIFN5c3RlbXMgTExDIENBMSIwIAYJKoZIhvcNAQkBFhND
dWRhIFN5c3RlbXMgTExDIENBMB4XDTE1MDQyMTAyMjE1OVoXDTIwMDQxOTAyMjE1OVowWjEL
MAkGA1UEBhMCVVMxEDAOBgNVBAgTB0Zsb3JpZGExGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM
TEMxHjAcBgNVBAMTFUthcmwgRGVubmluZ2VyIChPQ1NQKTCCAiIwDQYJKoZIhvcNAQEBBQAD
ggIPADCCAgoCggIBALmEWPhAdphrWd4K5VTvE5pxL3blRQPyGF3ApjUjgtavqU1Y8pbI3Byg
XDj2/Uz9Si8XVj/kNbKEjkRh5SsNvx3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qtZwHqpu/jjEqWdj0acDYUuNyxIszLyCVW8br/DDr3xXFTwWnT3HhPwhh3D
oYSB5xQUTPH89KGr1tPqS6VQVPZfqTlvuFxc9fKC+PwimwOT2cav3EH9i47EY4GgrDd4j/mL
bq7Aw7TvyHhZr0ppfDeU3dptmIWrXNhTzO3dvQqn6L2IdAckrOdYbmvb+hhgIiR7/EEytF6Y
UcxTINR6UGc+OgdttPZdAMufd7EAAAAAAAA=
--------------ms040105040309050805020600--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5475ea53-ae22-2634-6f2a-5737d1b0e308>