Subject: Re: root on cardbus devices, a fix...
To: None <tech-kern@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: tech-kern
Date: 01/23/2000 12:02:50
thorpej@nas.nasa.gov (Jason Thorpe) writes:
> PR kern/9247 describes a problem where cardbus devices cannot be used as
> the root device because the cardbus code uses threads to do card discovery,
> and those threads don't run until after the root file system has been mounted.

Hayakawa Koichi pointed me at a different trick that might also be of
interest for mounting a rootfs on a cardbus device.  Setting the 0x1
flag causes the cardbus-ethernet attach to occur before the rootfs
needs to be selected.

        cardslot*	at cbb? flags 0x0001

With this and -current of 12/20/1999 I could mount an NFS root on a
d-link cardbus tulip board.

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
DGPS signals via the Internet  http://www.wsrcc.com/wolfgang/gps/dgps-ip.html