Subject: Re: check condition and unresponsiveness
To: nmanisca <nmanisca@vt.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 09/29/2002 16:16:03
On Fri, Sep 27, 2002 at 12:10:53AM -0400, nmanisca wrote:
> Hey all, first, thanks for 1.6.  It's quite nice.
> 
> Now to the nitty gritty...
> 
> I was running cda today (came from xmcd in pkgsrc) in prep for ripping
> some waves from a cd I had burned (CDR), and my system seemed to lock
> up, hard.  No mouse movement, didn't respond to pings, etc.
> 
> After 10-30 the system unwedged itself and I appeared to have control
> again... about 10 more seconds and it re-wedged... this cycled repeated
> until I shutdown.
> 
> I noticed a bunch of these in /var/log/messages:
> Sep 26 19:51:54 anomaly /netbsd: cd0(pciide0:1:0):  Check Condition on CDB: 
> 0x28 00 00 00 00 00 00 00 01 00
> Sep 26 19:51:54 anomaly /netbsd:     SENSE KEY:  Illegal Request
> Sep 26 19:51:54 anomaly /netbsd:      ASC/ASCQ:  Illegal Mode For This Track
> Sep 26 19:51:54 anomaly /netbsd: 
> Sep 26 19:51:54 anomaly /netbsd: cd0: dos partition I/O error
> 
> on the console I saw
> 
> pciide0:1:0: piomode timed out
> pciide0:1:0: reset failed
> pciide0:1:0: lost interrupt
>         type: atapi tc_bcount: 0 tc_skip: 0
> pciide0:1:0: piomode timed out
> pciide0:1:0: reset failed
> 
> I've repeated with with three different burned cds, haven't tried a non burned
> cd just yet (but I plan to).
> 
> Can someone explain what is happening?  I've included dmesg output at the
> end of this email.  I'm happy to provide information that would aid in
> tracking this down, just ask.

You CD drive looks hung, it doesn't properly deal with IDE resets any more.
Currently the driver is busy-looping waiting for the reset to complete (this
is something I should fix), which explains the hangs you're seeing.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--