[paranoia] cdparanoia III/9.8 bug report

Christopher S. Kush cskush at qwest.net
Tue Jul 31 22:13:59 PDT 2001



To whom it may MONTY concern:

I've been through the FAQ, troubleshoot list and (all three (!))
mail archives to no avail.  Hope someone can help.

System:
  Asus A7M266 mobo
  Athlon 1.2Ghz
  IDE1M 40G Maxtor HDD
  IDE1S empty
  IDE2M Creative CDRW 8-4-32
  IDE2S empty
  SuSE 7.2 Pro (kernel 2.4.4-4GB (vanilla distro kernel))

I am running ide-scsi emulation, and have no reason (other than
the bug I'm about to describe) to believe that it's not working
perfectly.

I started off trying to rip a whole disc.  However, I noticed
that at a certain sector, cdparanoia would get stuck.  The drive
was spinning (and its busy light was flashing), but the ripped
sector count had stopped increasing, and drive was making seeking
sounds, like CDP had hit an error and was trying to re-read.  The
status smiley was switching between :-0 and :-P.  I let it sit
like this for three or four minutes before hitting ctrl-c.

I recalled the command and tried again.  Same thing.

I then tried ripping only the track with the Sector Of Death.
Again, CDP did fine, zipping right along until it hit a brick
wall on that particular sector.

Running with -v, I found that a string of the following errors
occurred just before the hang:

  scsi_read underrun: pos=176735 len=13 read=9 retry=0
  sending SG SCSI reset... FAILED: EBUSY

Nothing has ever shown up in /var/log/messages.

This same problem also occurred on two other discs (I've only
tried ripping these three so far).

Messing with the -o and -S switches did not help.  I tried 10,
20, 40, 75 and 1 with -o.  I tried 32 and 1 with -S, although I
think I read elsewhere on xiph.org that -S is a no-op with
ide-scsi.

After exhausting the xiph.org resources, I decided to compose
this bug report.  I fired up CDP one more time and teed the
output (attached below) while writing this note.  Naturally, it
extracted the track successfully for the first time.  I still got
the slew of scsi_read underruns, but it didn't hang.  As a guy I
work with says, "Bugs are cognizant of the presence of an
expert."

csk

---------------------------------------------------------------------
reptile:/tmp # cdparanoia -v -z 9-9 2>&1 | tee paranoid.txt
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/

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                /dev/scd0 is not a cooked ioctl CDROM.
        Testing /dev/cdrom for SCSI interface
                generic device: /dev/sg0
                ioctl device: /dev/scd0

Found an accessible SCSI CDROM drive.
Looking at revision of the SG interface in use...
        SG interface version 3.1.17; OK.

CDROM model sensed sensed: CREATIVE  CD-RW RW8435E BC03 

Checking for SCSI emulation...
        Drive is ATAPI (using SCSI host adaptor emulation)

Checking for MMC style command set...
        Drive is MMC style
        DMA scatter/gather table entries: 256
        table entry size: 32768 bytes
        maximum theoretical transfer: 3566 sectors
        Setting default read size to 13 sectors (30576 bytes).

Verifying CDDA command set...
        Expected command set reads OK.

Table of contents (audio tracks only):
track        length               begin        copy pre ch
===========================================================
  1.    37037 [08:13.62]        0 [00:00.00]    no   no  2
  2.    26908 [05:58.58]    37037 [08:13.62]    no   no  2
  3.    26165 [05:48.65]    63945 [14:12.45]    no   no  2
  4.    11010 [02:26.60]    90110 [20:01.35]    no   no  2
  5.    22909 [05:05.34]   101120 [22:28.20]    no   no  2
  6.    10243 [02:16.43]   124029 [27:33.54]    no   no  2
  7.    20850 [04:38.00]   134272 [29:50.22]    no   no  2
  8.    11418 [02:32.18]   155122 [34:28.22]    no   no  2
  9.    10355 [02:18.05]   166540 [37:00.40]    no   no  2
 10.    38330 [08:31.05]   176895 [39:18.45]    no   no  2
 11.    24725 [05:29.50]   215225 [47:49.50]    no   no  2
 12.    30497 [06:46.47]   239950 [53:19.25]    no   no  2
 13.    21043 [04:40.43]   270447 [60:05.72]    no   no  2
 14.    10142 [02:15.17]   291490 [64:46.40]    no   no  2
 15.    36673 [08:08.73]   301632 [67:01.57]    no   no  2
TOTAL  338305 [75:10.55]    (audio only)

Ripping from sector  166540 (track  9 [0:00.00])
          to sector  176894 (track  9 [2:18.04])

outputting to cdda.wav

csi_read underrun: pos=176740 len=7 read=4 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176743 len=13 read=1 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176742 len=13 read=2 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176742 len=13 read=2 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176743 len=13 read=1 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176743 len=13 read=1 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176742 len=13 read=2 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176733 len=13 read=11 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176734 len=13 read=10 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176735 len=13 read=9 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176736 len=13 read=8 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176737 len=13 read=7 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176736 len=13 read=8 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176739 len=13 read=5 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176737 len=13 read=7 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176739 len=13 read=5 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176740 len=13 read=4 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176742 len=13 read=2 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176742 len=13 read=2 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176743 len=13 read=1 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176744 len=13 read=1 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176734 len=13 read=10 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176735 len=13 read=9 retry=0
sending SG SCSI reset... FAILED: EBUSY
scsi_read underrun: pos=176736 len=13 read=8 retry=0
sending SG SCSI reset... FAILED: EBUSY

Done.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send a message to 'paranoia-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Paranoia mailing list