Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 64-bit pi 3 grief



> setup #2:
> - Pi3 with latest 9 GENERIC64 kernel on SD card; cross compiled from linux
> - root=sd0a console=fb
> - wired ethernet
> but:
> - *no usb keyboard*
> - sd0a is a usb/*spinning-disk* (configured kernel boot param)
> Now I hit two problems:
> #1: the kernel doesn't wait for the sd0 to come online and instead
> prompts for the root device (I hit this long ago on an odroid, and the
> SSD was a workaround ...)
> #2: the prompt displays "root device: ld0", I think it should have
> displayed "root device: sd0a" since that is what was specified
> Should "init" have waited longer for "sd0a" before prompting for the
> root device (perhaps it waited for ld0?).  Since "sd0" does come
> online while "init" is sitting at the "root device" prompt, should
> "init" be able to detect this?
> Any workarounds?  I"m building a custom kernel with "root on sd0" to
> see if it helps.

#3, I don't see the command line being printed, so when I claim I have
root=sd0a you'll have to just trust me :-(

Success (edited):

[   1.0000000] NetBSD/evbarm (fdt) booting
[   1.0000000]
cagney@meeka:/home/cagney/netbsd-build/9/evbarm64/sys/arch/evbarm/compile/GENERIC64
[   1.4928741] usb0 at dwctwo0: USB revision 2.0
[   1.5127460] uhub0 at usb0: NetBSD (0000) DWC2 root hub (0000),
class 9/0, rev 2.00/1.00, addr 1
[   3.3531519] uhub1 at uhub0 port 1: vendor 0424 (0x424) product 9514
(0x9514), class 9/0, rev 2.00/2.00, addr 2
[   3.3631529] uhub1: multiple transaction translators
[   5.6733415] umass0 at uhub1 port 2 configuration 1 interface 0
[   5.6833426] umass0: JMicron (0x152d) External USB 3.0 (0x578), rev
2.10/2.04, addr 4
[   5.6833426] scsibus0 at umass0: 2 targets, 1 lun per target
[   5.6933438] sd0 at scsibus0 target 0 lun 0: <External, USB3.0,
0204> disk fixed
[   5.7033450] sd0: fabricating a geometry
[   5.7133461] sd0: 119 GB, 122104 cyl, 64 head, 32 sec, 512
bytes/sect x 250069680 sectors
[   5.7233468] sd0: fabricating a geometry
[   7.5535897] uhub0: illegal enable change, port 1
[   7.5535897] WARNING: 2 errors while detecting hardware; check system log.
[   7.5635920] boot device: sd0
[   7.5635920] root on sd0a dumps on sd0b
[   7.5735926] root file system type: ffs
....

Failure (edited):

[   1.4979362] usb0 at dwctwo0: USB revision 2.0
[   1.5178083] uhub0 at usb0: NetBSD (0000) DWC2 root hub (0000),
class 9/0, rev 2.00/1.00, addr 1
[   3.3582506] uhub1 at uhub0 port 1: vendor 0424 (0x424) product 9514
(0x9514), class 9/0, rev 2.00/2.00, addr 2
[   3.3682525] uhub1: multiple transaction translators
[   6.5586728] uhub0: illegal enable change, port 1
[   6.5686741] WARNING: 2 errors while detecting hardware; check system log.
[   6.5686741] boot device: ld0
[   6.5786753] unknown device major 0xffffffffffffffff
[   6.5786753] root device (default ld0a): umass0 at uhub1 port 2
configuration 1 interface 0
[   8.6889561] umass0: JMicron (0x152d) External USB 3.0 (0x578), rev
2.10/2.04, addr 5
[   8.7029132] scsibus0 at umass0: 2 targets, 1 lun per target
[   8.7089603] sd0 at scsibus0 target 0 lun 0: <External, USB3.0,
0204> disk fixed
[   8.7189627] sd0: fabricating a geometry
[   8.7189627] sd0: 465 GB, 476940 cyl, 64 head, 32 sec, 512
bytes/sect x 976773168 sectors
[   8.7327332] sd0: fabricating a geometry


Home | Main Index | Thread Index | Old Index