[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/48927: config(8) root on dkN doesn't work
>Synopsis: config(8) root on dkN doesn't work
>Arrival-Date: Thu Jun 19 12:50:00 +0000 2014
>Originator: Tobias Nygren
config(8) cannot wire the rootdev configuration to dk(4) devices.
Try to build kernel:
no config netbsd
config netbsd root on dk7 type ffs
Notice that it fails with:
# config GENERIC.test
GENERIC.test:7: netbsd: device `dk' does not exist
Attempt to trick config(8) by adding the following to GENERIC.test:
defpseudodev dk: disk
... does not work:
dk.o:(.data+0x80): multiple definition of `dk_cd'
(additionally it will use the wrong minor number)
Workaround is to manually hack the desired root device into swapnetbsd.c after
config(8) has run.
config(8) will probably have to be specifically taught about dk(4) devices.
Main Index |
Thread Index |