Subject: Re: accessing IDE hard drive via pcmcia card
To: Charles M. Hannum <>
From: Steven M. Bellovin <>
List: netbsd-users
Date: 05/20/2004 07:06:31
In message <>, "Charles M. Hannum" wri
>On Thursday 20 May 2004 00:58, Steven M. Bellovin wrote:
>> In message <>, Manuel Bouyer writes:
>> >How long do you wait ?
>> >Per the specs, a reset can take up to 31s.
>> That was the answer.  I fiddled with my code a bit to allow for a
>> longer wait; the drive is now recognized.  I'm going to play with
>> things a bit more and then send in a PR with the fix.
>This "fix" is simply not going to be acceptable as a general-purpose thing.  
>Not only will it cause us to potentially wait 31 seconds when no drive is 
>present again, but it will also reintroduce the problem of busy-waiting a 
>long time when a card is inserted.  It has to be done better.
I agree.  That's why I'm not going to commit my fix; I'll simply 
include it in the PR for people who have the problem.

		--Steve Bellovin,