Current-Users archive

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

config rootdev problem



Hi,

I have the following kernel configuration file:

----
include "arch/amd64/conf/XEN3_DOM0"
no config netbsd
config netbsd root on wd1a type ffs
----

When ran through config(1) it yields (from swapnetbsd.c):

const char *rootspec = "wd1a";
dev_t   rootdev = makedev(0, 8);        /* wd1a */

When I boot this kernel it tries to mount wd0i as the root, and fails.
The minor number does appear to be wrong:

tnn@laptop:dev> ls -l /dev/wd0a /dev/wd0i /dev/wd1a
brw-r-----  1 root  operator  0,  0 Jun 17 00:52 /dev/wd0a
brw-r-----  1 root  operator  0,  8 Jun 17 00:52 /dev/wd0i
brw-r-----  1 root  operator  0, 16 Jun 17 00:52 /dev/wd1a

Any idea why this happens? I'm using NetBSD-5.99.41.

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index