NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-arm/57324: NetBSD 10.99.2 -current fails to detect root wedge using name on Raspberry Pi 3 official image
On 05/04/2023 22:30, bbartlomiej.mail%gmail.com@localhost wrote:
Number: 57324
Category: port-arm
Synopsis: NetBSD 10.99.2 -current fails to detect root wedge using name on Raspberry Pi 3 official image
Confidential: no
Severity: serious
Priority: medium
Responsible: port-arm-maintainer
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Wed Apr 05 20:30:00 +0000 2023
Originator: Bartek Krawczyk
Release: 10.99.2
Organization:
Environment:
NetBSD rpi3 10.99.2 NetBSD 10.99.2 (GENERIC64) #0: Sun Apr 2 15:06:06 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Description:
10.99.2 from 02.04.2023 fails to find the root wedge using the root=NAME=netbsd-root argument passed to it from the bootloader. It works fine on 10.0_BETA. The only thing changed is the kernel itself. After answering with "dk1" during boot, it continues to boot fine (although asking about /sbin/init). This is a Raspberry Pi 3 installation using an official image of 10.0_BETA from https://nycdn.netbsd.org/pub/arm/
I have tested it on amd64 and can't replicate this problem neither on
10.99.2 nor 10.99.3 (14.04.2023) so it seems to be arm aarch64 specific
or even Raspberry Pi 3 specific.
On my amd64 desktop it manages to find the root wedge among many more
wedges:
[ 1.919219] dk0 at ld0: "EFI system partition", 204800 blocks at
2048, type: msdos
[ 1.919219] dk1 at ld0: "Microsoft reserved partition", 32768 blocks
at 206848, type: <unknown>
[ 1.919219] dk2 at ld0: "Basic data partition", 1952002048 blocks at
239616, type: ntfs
[ 1.919219] dk3 at ld0: "d16e48e8-1af5-4885-b2f8-9004eeb3034d",
1280000 blocks at 1952241664, type: <unknown>
[ 2.069218] dk4 at wd0: "EFI System Partition", 1228800 blocks at
2048, type: msdos
[ 2.069218] dk5 at wd0: "7bd3949f-33e0-4ada-9987-dbc17e2bb0d2",
2097152 blocks at 1230848, type: ext2fs
[ 2.069218] dk6 at wd0: "6f47e461-d77c-4b4b-9df0-da0774e75c0c",
465532928 blocks at 3328000, type: ext2fs
[ 2.069218] dk7 at wd1: "78fd4ff6-1604-4f63-beba-84a601380172",
262144 blocks at 2048, type: msdos
[ 2.069218] dk8 at wd1: "8e6a55ef-5972-4b53-a6b5-ffb613ee1b75",
401670144 blocks at 264192, type: ffs
[ 2.069218] dk9 at wd1: "5dbf11ea-4737-473b-a72e-70f874db536b",
66927759 blocks at 401934336, type: swap
[ 4.889199] root on dk8 dumps on dk9
bash-5.2# cat /etc/fstab
# NetBSD /etc/fstab
# See /usr/share/examples/fstab/ for more examples.
NAME=8e6a55ef-5972-4b53-a6b5-ffb613ee1b75 / ffs
rw,log,noatime 1 1
NAME=5dbf11ea-4737-473b-a72e-70f874db536b none swap
sw,dp 0 0
#tmpfs /tmp tmpfs rw,-m=1777,-s=ram%25
kernfs /kern kernfs rw
ptyfs /dev/pts ptyfs rw
procfs /proc procfs rw
tmpfs /var/shm tmpfs rw,-m1777,-sram%25
bash-5.2# cat /boot.cfg
menu=Boot normally:gop 0;rndseed /var/db/entropy-file;boot
menu=Boot single user:gop 0;rndseed /var/db/entropy-file;boot -s
menu=Drop to boot prompt:prompt
default=1
timeout=5
clear=1
How does NetBSD kernel detect the root disk?
--
Regards
Bartek Krawczyk
Home |
Main Index |
Thread Index |
Old Index