Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Heads up: TI OMAP3 and AM335x switched to FDT
On Tue, 3 Dec 2019, John D. Baker wrote:
> Apparently, "bootarm.efi" assumes the "d is whole disk, c is NetBSD part"
> model, so expects the disklabel at the start of the NetBSD part.
>
> I can probably retcon the PC-style partitioning, but it looks like I'll
> have to dig up one of my uSD-USB adapters and do the fixup in an x86
> machine as even the old BEAGLEBONE kernel is suffering "sdhc0: cmd timeout"
> errors trying to operate on the SD card (fsck -f).
That seems to have done it, as far as 'bootarm.efi' is concerned. The
output of 'dev' now shows:
> dev
hd0 (7600 MB): VenHw(E61D73B9-A384-4ACC-AEAB-82E828F3628B)/Usb(0x6,0x0)
hd0a (2051 MB): 4.2BSD
hd0e (18 MB): MSDOS
hd0f (1027 MB): 4.2BSD
hd0g (3473 MB): 4.2BSD
hd1 (3688 MB): VenHw(E61D73B9-A384-4ACC-AEAB-82E828F3628B)/Usb(0x6,0x1)
net0 xx:xx:xx:xx:xx:xx
default: hd0a
and it is able then to boot netbsd directly. Unfortunately, the system
is then plagued with the "sdhc0: cmd timeout" errors and cannot complete
booting. Something involved in "mountcritlocal" bombs out with SIGSEGV
and it punts to single-user mode.
'disklabel' shows the opposite of what I'd expect and retains the "c is
whole disk" entry and claims "d is NetBSD part", even though I explicitly
set "d is whole disk, c is NetBSD part" through 'disklabel -i ld0'.
Netbooting with "boot net0:netbsd" now assumes "ld0a" is the root device
instead of "cpsw0" and it ends up with:
[...]
[ 33.7099253] sdhc0: cmd timeout error
[ 33.7599245] ld0a: error writing fsbn 2104000 (ld0 bn 4249024; cn 526 tn 116 sn 52)
[ 33.7705713] sdhc0: cmd timeout error
[ 33.7929220] ld0a: error reading fsbn 2238568 of 2238568-2238575 (ld0 bn 4383592; cn 543 tn 76 sn 52), retrying
mount_ffs: /dev/ld0a on /: Connection timed out
swapctl: setting dump device to /dev/ld0b
swapctl: adding /dev/ld0b as swap device at priority 0
Starting file system checks:
/dev/rld0e: 12 files, 3116 free (779 clusters)
/dev/rld0f: file system is clean; not checking
/dev/rld0g: file system is journaled; not checking
[ 34.9099434] /var: replaying log to disk
mkdir: /var: No such file or directory
chown: /var/run/lvm: No such file or directory
chmod: /var/run/lvm: No such file or directory
Enter pathname of shell or RETURN for /bin/sh:
So, some progress, but things still aren't working right. Definitely need
to dig out USB-uSD adapter to check/repair the SD card...
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index