Subject: Re: smartmedia adaptors
To: Wolfgang Rupprecht <>
From: Lennart Augustsson <>
List: tech-kern
Date: 01/26/2000 01:20:36
Wolfgang Rupprecht wrote:

> I built a new kernel after the supscan this morning (1/25) and both
> the off-by-one error in the disk size printout and the bug with the
> phanthom third wdcXX showing up have been fixed.
> There is still one small lingering problem.  Upon inserting the PCMCIA
> card the kernel freezes for 49 seconds.  This happens on each
> insertion.  Mr DDB says:
>         gettick()
>         delay()
>         __wdcwait_reset()
>         wdcprobe()
>         wdcattaach()
>         wdc_pcmcia_attach()
>         config_found_sm()
>         pcmcia_card_attach()
>         cardslot_event_thread()
> Could the pcmcia card really be taking 49 seconds to power up???  Even
> a disk with a platter will spin up over an order of magnitude faster
> than that.

What I'd like to know is what the h**l wdcprobe is up to?  It's using delay()
for up to 49s?!?  Any calls to delay() with an argument bigger than, say, 100
should be banned.  (Unless you KNOW this is cold boot.)


        -- Lennart