Skip to content

Read failing with negative offsets: Input/output error #61

Description

@MmAaXx500

On my LG CRD-8522B drive every attempt to use negative offset fails with ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed: Input/output error. I have tried with -491 as this supposed to be the drive's offset and also with -1 and others, but every negative offset failed. >=0 are fine.

What I tried so far:

  • Using other drive: Edit: not works either, fails the same way as the other drive, it just not prints the errors. There is also an LG GSA-4163B in the machine with an offset of +667. That drive works with negative offsets
  • Using cdparanoia (the old one) with -491 offset: works (and mainly this is the reason I'm raising this issue)
  • Using non-negative offset: works

The system is an i686 gentoo linux. Package links: media-sound/cdparanoia, dev-libs/libcdio-paranoia
Package versions:

# cdparanoia-paranoia --version
cdparanoia III release 10.2 (September 11, 2008)
# libcdio-paranoia --version
cdparanoia III release 10.2 libcdio 2.2.0 i686-pc-linux-gnut64

# libcdio-paranoia --verbose -d /dev/sr1 -O -491 1-1                                                                         23:17:40 [26/1571]
cdparanoia III release 10.2 libcdio 2.2.0 i686-pc-linux-gnut64
(C) 2001 Monty <monty@xiph.org> and Xiphophorus                    
(C) 2004, 2005, 2008 Rocky Bernstein <rocky@gnu.org>
(C) 2014 Robert Kausch <robert.kausch@freac.org>                   
                                     
Report bugs to bug-libcdio@gnu.org                                         
                                     
Using cdda library version: 10.2+2.0.2 i686-pc-linux-gnut64                                                                                           
Using paranoia library version: 10.2+2.0.2 i686-pc-linux-gnut64
Checking /dev/sr1 for cdrom...                                             
                CDROM sensed: LG       CD-ROM CRD-8522B 2.01 SCSI CD-ROM
                                                                           
Verifying drive can read CDDA...
        Expected command set reads OK.                             
                                     
Attempting to determine drive endianness from data.......          
        Data appears to be coming back Little Endian.
        certainty: 100%                                                    
                                     
Attempting to set cdrom to full speed...                           
        drive returned OK.
                                                                           
Table of contents (audio tracks only):
track        length               begin        copy pre ch         
===========================================================
  1.    26282 [05:50.32]        0 [00:00.00]    no   no  2                                                                                            
  2.    17178 [03:49.03]    26282 [05:50.32]    no   no  2
  3.    27375 [06:05.00]    43460 [09:39.35]    no   no  2
  4.    37090 [08:14.40]    70835 [15:44.35]    no   no  2
  5.    26582 [05:54.32]   107925 [23:59.00]    no   no  2
  6.    16205 [03:36.05]   134507 [29:53.32]    no   no  2
  7.    16558 [03:40.58]   150712 [33:29.37]    no   no  2
  8.    18260 [04:03.35]   167270 [37:10.20]    no   no  2
  9.    18727 [04:09.52]   185530 [41:13.55]    no   no  2
 10.    22133 [04:55.08]   204257 [45:23.32]    no   no  2
 11.    18935 [04:12.35]   226390 [50:18.40]    no   no  2
 12.    21117 [04:41.42]   245325 [54:31.00]    no   no  2
 13.    22633 [05:01.58]   266442 [59:12.42]    no   no  2
 14.    20940 [04:39.15]   289075 [64:14.25]    no   no  2
 15.    25622 [05:41.47]   310015 [68:53.40]    no   no  2
 16.    19803 [04:24.03]   335637 [74:35.12]    no   no  2
TOTAL  355440 [78:59.15]    (audio only)
  
Ripping from sector       0 (track  1 [0:00.00])
          to sector   26281 (track  1 [5:50.31])

outputting to cdda.wav

   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
 (== PROGRESS == [e>                            | ...... 00 ] == :-0 0 ==)      INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
   INFO: ioctl CDROM_SEND_PACKET for command READ CD (0xbe) failed:
        Input/output error
 (== PROGRESS == [e>                            | ...... 00 ] == :-0 0 ==)   ^C

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions