Subject: Re: bad ATAPI juju (was Re: Hard drives for free?)
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 08/25/1999 08:35:43
Manuel Bouyer <bouyer@antioche.lip6.fr> writes:
> > Strangely, under 1.4.1, a machine I've borrowed hangs whenever you
> > touch the ATAPI CD-ROM. (An identically configured machine does the
> > same so I don't think its bad drives per se.)
> > 
> > The errors are
> > 
> > pcide:1:0: Lost interrupt
> > 	type atapi
> > 	c_bcount: 32
> > 	c_skip: 0
> > 
> > after printing that, it goes legs up and won't respond to anything at
> > all...
> 
> Did it use PIO ?

No, DMA. One note: DMA probed but the machine initially refused to use
DMA because of a lack of driver support. (Its an Intel 810 "everything
but the kitchen sink" chipset). I set the flag on the pciide entry in
the kernel config to make it try DMA anyway. I haven't touched the cd
driver's flags, though.

> If so it may be stuck in an interrupt loop (because the
> drive and driver don't agree on how much data was transfered, there was more
> than just a 'lost interrupt' problem on the IDE bus).
> It should be fixed in -current, and I asked for a pullup yesterday.
> 
> Any chances to try this again once the pullup is done (or try a -current
> kernel) ?

Sure, I could try anything you like. Just let me know what you want me
to do.

Perry