[Paranoia] CD drive stuttering problem

Peter Jones pjones at redhat.com
Wed Aug 25 11:54:42 PDT 2004


On Tue, 2004-08-24 at 14:24 -0500, Joel Konkle-Parker wrote:

> Error reading command:
>           be 00 00 00 00 00 00 00  17 f8 00 00
> scsi_read error: sector=0 length=23 retry=0
>                    Sense key: 2 ASC: 4 ASCQ: 7
>                    Transport error: Device busy
>                    System error: Device or resource busy
> scsi_read error: sector=0 length=23 retry=0
>                    Sense key: 2 ASC: 4 ASCQ: 7
>                    Transport error: Device busy
>                    System error: Device or resource busy
> sending SG SCSI reset... FAILED: EBUSY
> 
> Error reading command:
>           00 00 00 00 00 00
>    (== PROGRESS == [-   +  +!!e ! ++++++++++++++++*| 000031 18 ] == :^D 
> * ==)

I don't suppose dmesg or syslog show anything interesting when this
happens?  Also, is the drive USB?

Either way, try this patch:

--- cdparanoia-III-alpha9.8-sgio/interface/scsi_interface.c.smallbuf	2004-08-25 14:50:01.612539861 -0400
+++ cdparanoia-III-alpha9.8-sgio/interface/scsi_interface.c	2004-08-25 14:51:20.185536181 -0400
@@ -178,7 +178,12 @@
    * thoroughly".  We're not currently honoring that, because we should
    * always get -ENOMEM.
    */
-#if 0
+#if 1
+  /* this just limits how big of a sector size we'll use.  In the future,
+   * maybe add something to override it?
+   * unfortunately, our only option without breaking ABI is an environment
+   * variable...
+   */
   cur=(cur>1024*32?1024*32:cur);
 #endif
   d->nsectors=cur/CD_FRAMESIZE_RAW;

-- 
        Peter

"This entire opus is respectfully dedicated to all those who have
loved unconditionally only to have their hearts unanesthetically
ripped out: base not your joy upon the deeds of others, for what
is given may be taken away."
                -- Steele



More information about the Paranoia mailing list