[Paranoia] No such device or address errors
Jonathan Morace
jmorace at gmail.com
Sat Jan 22 11:42:38 PST 2005
I've been having a problem while ripping certain damaged CD's I own.
Basically, what appears to happen is some sort of SCSI failure causing
the drive to be taken offline and unusable until I reboot my computer.
I've tried just about everything I can think of that might cause this problem:
1. Using several different PX-32CSI and PX-12CSI drives.
2. Tried replacing the SCSI cable.
3. Used every sort of terminator from the jumper on the drive to an
active terminator on the cable.
4. Put anywhere from four cdrom drives on the bus to just one.
5. Tried 2 different Adaptec 2940's and a BusLogic SCSI controller.
6. Tried two very different computers: one running Fedora Core 2 and
the other Fedora Core 3.
This leads me to believe there might be something in the core linux
SCSI code, a fundamental problem with older Plextor CDROM drives, or
something cdparanoia is doing that is somehow triggering this. I'm
looking for any ideas on what might cause this or things I can try.
I've included both the cdparanoia and syslog output below. If there
is any additional information I can provide, please let me know. Any
help would be very appreciated.
Here is what the output of cdparanoia looks like:
$ cdparanoia -B -d /dev/cdrom
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty at xiph.org> and Xiphophorus
Report bugs to paranoia at xiph.org
http://www.xiph.org/paranoia/
Ripping from sector 0 (track 0 [0:00.00])
to sector 210941 (track 13 [4:13.21])
outputting to track00.cdda.wav
(== PROGRESS == [ | 000031 00 ] == :^D * ==)
outputting to track01.cdda.wav
(== PROGRESS == [++ > | 001754 00 ] == :-P O ==)
SCSI transport error: timeout waiting to read packet
scsi_read error: sector=1827 length=13 retry=0
Sense key: 0 ASC: 0 ASCQ: 0
Transport error: Error reading command from device
System error: Success
scsi_read error: sector=1827 length=6 retry=1
Sense key: 0 ASC: 0 ASCQ: 0
Transport error: Error writing packet command to device
System error: No such device or address
scsi_read error: sector=1827 length=3 retry=2
Sense key: 0 ASC: 0 ASCQ: 0
Transport error: Error writing packet command to device
System error: No such device or address
...
[it goes on and on until the process is killed]
In the syslog I see this:
kernel: scsi0:0:0:0: Attempting to queue an ABORT message
kernel: CDB: 0x0 0x0 0x0 0x0 0x0 0x0
kernel: scsi0:0:0:0: Command found on device queue
kernel: aic7xxx_abort returns 0x2002
kernel: scsi0:0:0:0: Attempting to queue an ABORT message
kernel: CDB: 0x0 0x0 0x0 0x0 0x0 0x0
kernel: scsi0:0:0:0: Command found on device queue
kernel: aic7xxx_abort returns 0x2002
kernel: scsi0:0:0:0: Attempting to queue an ABORT message
kernel: CDB: 0xd8 0x0 0x0 0x0 0x7 0x23 0x0 0x0 0x0 0xd 0x0 0x0
kernel: scsi0: At time of recovery, card was not paused
kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
kernel: scsi0: Dumping Card State while idle, at SEQADDR 0x7
kernel: Card was paused
kernel: ACCUM = 0xbe, SINDEX = 0x7, DINDEX = 0x21, ARG_2 = 0xff
kernel: HCNT = 0x90 SCBPTR = 0x1
kernel: SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]
kernel: SCSISEQ[0x12] SBLKCTL[0x0] SCSIRATE[0x0] SEQCTL[0x10]
kernel: SEQ_FLAGS[0xc0] SSTAT0[0x0] SSTAT1[0xa] SSTAT2[0x0]
kernel: SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xa4] SXFRCTL0[0x80]
kernel: DFCNTRL[0x0] DFSTATUS[0x20]
kernel: STACK: 0x0 0x149 0x18a 0x3
kernel: SCB count = 4
kernel: Kernel NEXTQSCB = 1
kernel: Card NEXTQSCB = 1
kernel: QINFIFO entries:
kernel: Waiting Queue entries:
kernel: Disconnected Queue entries: 1:3
kernel: QOUTFIFO entries:
kernel: Sequencer Free SCB List: 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15
kernel: Sequencer SCB Info:
kernel: 0 SCB_CONTROL[0xc8] SCB_SCSIID[0x37] SCB_LUN[0x0] SCB_TAG[0xff]
kernel: 1 SCB_CONTROL[0x4c] SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0x3]
kernel: 2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff]
kernel: Pending list:
kernel: 3 SCB_CONTROL[0x48] SCB_SCSIID[0x7] SCB_LUN[0x0]
kernel: Kernel Free SCB list: 2 0
kernel: Untagged Q(0): 3
kernel: DevQ(0:0:0): 0 waiting
kernel: DevQ(0:1:0): 0 waiting
kernel: DevQ(0:2:0): 0 waiting
kernel: DevQ(0:3:0): 0 waiting
kernel:
kernel: <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
kernel: (scsi0:A:0:0): Device is disconnected, re-queuing SCB
kernel: Recovery code sleeping
kernel: (scsi0:A:0:0): Abort Message Sent
kernel: Recovery code awake
kernel: Timer Expired
kernel: aic7xxx_abort returns 0x2003
kernel: scsi0:0:0:0: Attempting to queue a TARGET RESET message
kernel: CDB: 0x0 0x0 0x0 0x0 0x0 0x0
kernel: scsi0:0:0:0: Command not found
kernel: aic7xxx_dev_reset returns 0x2002
kernel: scsi0:0:0:0: Attempting to queue an ABORT message
kernel: CDB: 0x0 0x0 0x0 0x0 0x0 0x0
kernel: scsi0:0:0:0: Command found on device queue
kernel: aic7xxx_abort returns 0x2002
kernel: Recovery SCB completes
kernel: scsi: Device offlined - not ready after error recovery:
host 0 channel 0 id 0 lun 0
kernel: scsi: Device offlined - not ready after error recovery:
host 0 channel 0 id 0 lun 0
kernel: scsi0 (0:0): rejecting I/O to offline device
kernel: scsi0 (0:0): rejecting I/O to offline device
kernel: SCSI error: host 0 id 0 lun 0 return code = 4000000
kernel: ^ISense class 0, sense error 0, extended sense 0
Thanks,
Jonathan
More information about the Paranoia
mailing list