Re: NetBSD 10.0 RC_3 GENERIC amd64 home built kernel doesn't boot
2024-02-04 19:54 időpontban Martin Husemann ezt írta: On Sun, Feb 04, 2024 at 07:18:57PM +0100, Fekete Zoltán wrote: ... boot device: wd0 ... root on wd0c dumps on wd0b ... vfs_mountroot: can't open root device ... cannot mount root, error = 6 ... root device (default wd0c): wd0c sounds unlikely for / - can you try answering wd0a at the prompt? When that works, show dmesg output and fdisk / disklabel output for wd0 and we can try to find out where something goes wrong. Martin Thanks to both of you for your efforts. I've figured out that it should be a hardware error. Sometimes the system just hangs on boot, and sometimes it doesn't. Anyway, it's independent of the kernel used, I'm sure. Later, I'll change the disk. Have a great day, FeZ
Re: NetBSD 10.0 RC_3 GENERIC amd64 home built kernel doesn't boot
2024-02-04 20:02 időpontban mlel...@serpens.de ezt írta: fekete.zol...@minux.hu (=?UTF-8?Q?Fekete_Zolt=C3=A1n?=) writes: Hi There, Hi, maybe you can provide more information. I have a laptop from 2013, and I'm playing around with it. I've just compiled a kernel with the command: ./build.sh -T ../tools -O ../obj -U -N1 -j2 kernel=GENERIC is that from netbsd-10 sources? Did you change the GENERIC configuration? ... boot device: wd0 ... root on wd0c dumps on wd0b ... vfs_mountroot: can't open root device wd0c wouldn't be a standard installation. Usually you write a disklabel that uses wd0a as the root partition. ... cannot mount root, error = 6 error 6 could mean that the wd0 disk doesn't exist or that partition wd0c doesn't contain a valid filesystem or that you have a stripped kernel that lacks the filesystem code. I've checked, and as expected, DKWEDGE options are set properly as mentioned in 'man dk(4)'. What DKWEDGE options did you set? The system just boots fine with the kernel bundled in the installation image. Then you could show your disk layout as seen by the bundled kernel, also what that kernel prints for 'boot device' and 'root on' and what filesystem you used. Thanks to both of you for your efforts. I've figured out that it should be a hardware error. Sometimes the system just hangs on boot, and sometimes it doesn't. Anyway, it's independent of the kernel used, I'm sure. Later, I'll change the disk. Have a great day, FeZ
Re: NetBSD 10.0 RC_3 GENERIC amd64 home built kernel doesn't boot
fekete.zol...@minux.hu (=?UTF-8?Q?Fekete_Zolt=C3=A1n?=) writes: >Hi There, Hi, maybe you can provide more information. >I have a laptop from 2013, and I'm playing around with it. >I've just compiled a kernel with the command: >./build.sh -T ../tools -O ../obj -U -N1 -j2 kernel=GENERIC is that from netbsd-10 sources? Did you change the GENERIC configuration? >... boot device: wd0 >... root on wd0c dumps on wd0b >... vfs_mountroot: can't open root device wd0c wouldn't be a standard installation. Usually you write a disklabel that uses wd0a as the root partition. >... cannot mount root, error = 6 error 6 could mean that the wd0 disk doesn't exist or that partition wd0c doesn't contain a valid filesystem or that you have a stripped kernel that lacks the filesystem code. >I've checked, and as expected, DKWEDGE options are set properly as >mentioned in 'man dk(4)'. What DKWEDGE options did you set? >The system just boots fine with the kernel bundled in the installation >image. Then you could show your disk layout as seen by the bundled kernel, also what that kernel prints for 'boot device' and 'root on' and what filesystem you used.
Re: NetBSD 10.0 RC_3 GENERIC amd64 home built kernel doesn't boot
On Sun, Feb 04, 2024 at 07:18:57PM +0100, Fekete Zoltán wrote: > ... boot device: wd0 > ... root on wd0c dumps on wd0b > ... vfs_mountroot: can't open root device > ... cannot mount root, error = 6 > ... root device (default wd0c): wd0c sounds unlikely for / - can you try answering wd0a at the prompt? When that works, show dmesg output and fdisk / disklabel output for wd0 and we can try to find out where something goes wrong. Martin
NetBSD 10.0 RC_3 GENERIC amd64 home built kernel doesn't boot
Hi There, I have a laptop from 2013, and I'm playing around with it. I've just compiled a kernel with the command: ./build.sh -T ../tools -O ../obj -U -N1 -j2 kernel=GENERIC Then copied to / and rebooted. Unfortunately the boot stops with this error: ... boot device: wd0 ... root on wd0c dumps on wd0b ... vfs_mountroot: can't open root device ... cannot mount root, error = 6 ... root device (default wd0c): Here, it is waiting for my input. I've checked, and as expected, DKWEDGE options are set properly as mentioned in 'man dk(4)'. The system just boots fine with the kernel bundled in the installation image. Never experienced this before. Could somebody pls. help me out? Thank you, FeZ