Subject: Re: PCMCIA madness
To: None <>
From: Lennart Augustsson <>
List: tech-kern
Date: 09/06/1998 22:40:01
> I hate deamon processes for this and that. 
Me too, but as long as we don't have kernel threads it is the only
option, IMHO.

> With 0.5 seconds timeout driven state machine is a better solution.
It's not a 0.5 second timeout.  It always waits for 0.5 seconds, because
the PCMCIA specs says you have to.  I don't find a busy-wait for 0.5 seconds
in the kernel acceptable.  And even less so when it is called from an

> The problems with daemons is that they may get killed ...
Yes, it can happen, but I'd rather take that risk.
You could imagine creating a system process like the swapper et al,
but I guess it could die too.

> Whats the problem?
"pcic_wait_ready never happened"

> If the Card doesn't get ready try increasing the timeouts,
Tried that.

> if I remember correctly you've more than 15 MB and AFAIK the Card does some
> kind of inventory during powerup.
It happens both with the 8MByte and 40MByte cards.

   -- Lennart