NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Raspberry Pi 3 aarch64 -current fails to find root fs label and boot.
Hi, I have PR port-evbarm/57308 opened regarding problems with WiFi on
RPI3 using 10.0_BETA and I figured I'll have a look at -current. Earlier
I tried it and it couldn't find the root filesystem (I only dropped in a
new kernel into /boot/netbsd.img). Today I tried again and this time
since dmesg indicated it did read the ld0 partitions and reported dk0
and dk1 available, I typed in dk0 as root and it booted ok (asked about
init path).
Why is that? Has anything changed since 10.0_BETA? Why -current is
unable to find the root fs on its own?
[ 1.4856975] sdmmc0: SD card status: 4-bit, C10, U3, V30, A2
[ 1.4967611] ld0 at sdmmc0: <0x1d:0x4144:SD :0x02:0xd7022ac5:0x13c>
[ 1.4967611] ld0: 117 GB, 15371 cyl, 255 head, 63 sec, 512 bytes/sect
x 246947840 sectors
[ 1.5157040] dk0 at ld0: "EFI", 163840 blocks at 32768, type: msdos
[ 1.5157040] dk1 at ld0: "netbsd-root", 246743040 blocks at 196608,
type: ffs
[ 1.5257030] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[ 1.5857075] sdmmc1: 4-bit width, 50.000 MHz
[ 1.5957106] sdmmc1: SDIO function
[ 1.5957106] bwfm0 at sdmmc1 function 1
[ 1.6057193] (manufacturer 0x2d0, product 0xa9a6) at sdmmc1 function 2
not configured
[ 1.6157274] (manufacturer 0x2d0, product 0xa9a6, standard function
interface code 0x2) at sdmmc1 function 3 not configured
[ 2.0157606] uhub1 at uhub0 port 1: vendor 0424 (0x0424) product 2514
(0x2514), class 9/0, rev 2.00/b.b3, addr 2
[ 2.0257620] uhub1: multiple transaction translators
[ 2.8558321] uhub2 at uhub1 port 1: vendor 0424 (0x0424) product 2514
(0x2514), class 9/0, rev 2.00/b.b3, addr 3
[ 2.8658342] uhub2: multiple transaction translators
[ 3.2058625] uhub0: illegal enable change, port 1
[ 3.2158641] swwdog0: software watchdog initialized
[ 3.2258697] WARNING: 3 errors while detecting hardware; check system log.
[ 3.2258697] boot device: ld0
[ 3.2369263] root on ld0a dumps on ld0b
[ 3.2369263] vfs_mountroot: can't open root device
[ 3.2369263] cannot mount root, error = 16
[ 3.2497924] root device (default ld0a):
[ 4.1352268] dump device (default ld0b):
[ 4.5673969] file system (default generic):
[ 5.2860701] root on ld0a dumps on ld0b
[ 5.2860701] vfs_mountroot: can't open root device
[ 5.2860701] cannot mount root, error = 16
[ 5.2981452] root device (default ld0a): uhub2: port 1 reset failed
[ 5.7558228] dump device (default ld0b):
[ 6.6264810] file system (default generic):
[ 7.0067687] root on ld0a dumps on ld0b
[ 7.0067687] vfs_mountroot: can't open root device
[ 7.0067687] cannot mount root, error = 16
[ 7.0187698] root device (default ld0a): dk1
[ 8.4815674] dump device:
[ 9.4116857] file system (default generic): ffs
[ 10.5739479] root on dk1
[ 10.5739479] kern.module.path=/stand/evbarm/10.99.2/modules
[ 10.5870282] WARNING: no TOD clock present
[ 10.5870282] vchiq0: interrupting on icu irq 66
[ 10.5870282] WARNING: using filesystem time
[ 10.5997254] WARNING: CHECK AND RESET THE DATE!
[ 10.5997254] vcaudio0 at vchiq0: auds
[ 10.6070300] audio0 at vcaudio0: playback
[ 10.6170331] audio0: slinear_le:16 -> slinear_le:16 2ch 48000Hz, blk
7680 bytes (40ms) for playback
[ 10.6270318] spkr0 at audio0: PC Speaker (synthesized)
[ 10.6270318] wsbell at spkr0 not configured
[ 12.4172682] bwfm0: CHIPACTIVE
[ 12.5172821] bwfm0: address b8:27:eb:e4:30:c8
[ 12.5172821] bwfm0: wl0: Mar 1 2015 07:29:38 version 7.45.18
(r538002) FWID 01-6a2c8ad4
[ 12.5372856] init path (default /sbin/init):
[ 12.9500747] init: trying /sbin/init
The rest of the config is:
rpi3# cd /boot
rpi3# cat config.txt
#
upstream_kernel=1
#
arm_64bit=1
os_prefix=dtb/broadcom/
cmdline=../../cmdline.txt
kernel=/netbsd.img
kernel_address=0x200000
enable_uart=1
force_turbo=0
rpi3# cat cmdline.txt
root=NAME=netbsd-root
rpi3# cat /etc/fstab
# NetBSD /etc/fstab
# See /usr/share/examples/fstab/ for more examples.
NAME=netbsd-root / ffs rw,noatime,log 1 1
NAME=EFI /boot msdos rw 1 1
ptyfs /dev/pts ptyfs rw
procfs /proc procfs rw
tmpfs /var/shm tmpfs rw,-m1777,-sram%25
/swap none swap sw,dp 0 0
Why is it not reading the label "netbsd-root" properly comparing to
10.0_BETA?
--
Regards
Bartłomiej Krawczyk
Home |
Main Index |
Thread Index |
Old Index