Subject: Re: root on cardbus devices, a fix...
To: Jason Thorpe <>
From: Manuel Bouyer <>
List: tech-kern
Date: 01/23/2000 22:45:23
On Sun, Jan 23, 2000 at 11:09:32AM -0800, Jason Thorpe wrote:
> 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.
> Well, with some clever code rearranging and use of 2 semaphores, I have
> fixed this problem.
> [...]
> Anyhow, if people are okay with this solution, I'll commit it soonish.  Note
> I have only changed the cardbus code to use it, but changing e.g. USB should
> be a trivial matter (so you can mount a USB Zip drive as root, or NFS root over
> USB Ethernet!  :-)

I like it, really. This could allow me to use a kernel thread for some
IDE tasks (for examples, device resets which needs to poll for 'drive ready').

Manuel Bouyer, LIP6, Universite Paris VI.