Subject: kern/9821: NCR hangs machine while reading some CD's
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Root <root@garbled.net>
List: netbsd-bugs
Date: 04/07/2000 13:05:05
>Number: 9821
>Category: kern
>Synopsis: NCR hangs while reading some CD's
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 07 09:02:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Charlie Root
>Release: 1.4.2<NetBSD-current source date>
>Organization:
>Environment:
NetBSD giauzar 1.4.2 NetBSD 1.4.2 (GIAUZAR) #1: Thu Mar 30 23:36:38 MST 2000 root@giauzar:/usr/src/1.4.2/sys/arch/alpha/compile/GIAUZAR alpha
>Description:
While ripping a CD with lame:
Error code is "current errors"
Segment number is 00
Sense key is "Medium error"
The Information field is not valid but contains 00000000 (0).
The Command Specific Information field is 00000000 (0).
Additional sense code: 4e
Additional sense code qualifier: 00
sense (32 of 48):
70 00 0b 00 00 00 00 0a 00 00 00 00 4e 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SCIOCCOMMAND ioctl: Command accepted.
return status 1 (Command Timeout) after 2000 msCommand out (12 of 12):
d8 00 00 03 4e 8d 00 00 00 0a 00 00
Data in (0 of 23520):
No sense sent.
Console:
ncr0: timeout ccb=0xfffffe00000d1c00 (skip)
[screenfulls of the above]
ncr0: timeout ccb=0xfffffe00000d1c00 (skip)
ncr0: timeout ccb=0xfffffe00000d1c00 (skip)
ncr0: SCSI phase error fixup: CCB already dequeued (0xfffffe00000d1c00)
ncr0: timeout ccb=0xfffffe00000d1c00 (skip)
ncr0: timeout ccb=0xfffffe00000c9c00 (skip)
ncr0: timeout ccb=0xfffffe00000c6400 (skip)
ncr0: timeout ccb=0xfffffe00000c6c00 (skip)
At this point all devices on the ncr controller are wedged solid.
>How-To-Repeat:
Rip certain CD's on a scsi CD drive attached to an NCR controller. 90% of my
CD library is fine, only certain CD's trigger this backlash. The effects are
completely repeatable on my machine, and by ripping the particular track on a
certain CD, the machine will inevitably hang.
my hardware:
ncr0 at pci0 dev 9 function 0: ncr 53c810a fast10 scsi
ncr0: interrupting at eb164 irq 3
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
cd0 at scsibus0 targ 6 lun 0: <PLEXTOR, CD-ROM PX-32TS, 1.03> SCSI2 5/cdrom removable
>Fix:
I had a collection of 4 CD's that would trigger this problem under 1.4.1.
The ncr related fix to scsipi_??.c in 1.4.2 fixed 3 of these CD's but one of
them still does the dirty deed. Perhaps there are more bugs along this line
somewhere.
>Release-Note:
>Audit-Trail:
>Unformatted: