I am trying to read a CD that I burnt on a ATAPI CD writer.
The cdrecord dev=ATAPI: -scanbus tells me that the writer 
device is: 0,0,0 'HL-DT-ST' 'RW/DVD GCC-4240N' 'E112' Removable CD-ROM

When I run readcd:

readcd dev=ATAPI:0,0,0 f=readback.iso , I get the following error
message:
readcd: Invalid argument. Can not send SCSI cmd via ioctl

I am enclosing the dmesg output for more details. Please advise
me what I am doing wrong and how I can correct the problem.

Thanks in advance for your time and help.

Ashish



-- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Start/Stop Unit" packet command was: 
  "1b 00 00 00 03 00 00 00 00 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Start/Stop Unit" packet command was: 
  "1b 00 00 00 03 00 00 00 00 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Cannot read medium - incompatible format -- (asc=0x30, ascq=0x02)
  The failed "Send DVD Structure" packet command was: 
  "ad 00 00 00 00 00 00 01 00 08 00 00 "
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:437:udf_vrs: ISO9660 Primary Volume Descriptor found
UDF-fs DEBUG super.c:446:udf_vrs: ISO9660 Volume Descriptor Set Terminator found
UDF-fs: No VRS found
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: irq timeout: status=0xd0 { Busy }
hda: irq timeout: error=0xd0LastFailedSense 0x0d 
hda: ATAPI reset complete
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Cannot read medium - incompatible format -- (asc=0x30, ascq=0x02)
  The failed "Send DVD Structure" packet command was: 
  "ad 00 00 00 00 00 00 01 00 08 00 00 "
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:437:udf_vrs: ISO9660 Primary Volume Descriptor found
UDF-fs DEBUG super.c:446:udf_vrs: ISO9660 Volume Descriptor Set Terminator found
UDF-fs: No VRS found
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Cannot read medium - incompatible format -- (asc=0x30, ascq=0x02)
  The failed "Send DVD Structure" packet command was: 
  "ad 00 00 00 00 00 00 01 00 08 00 00 "
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:437:udf_vrs: ISO9660 Primary Volume Descriptor found
UDF-fs DEBUG super.c:446:udf_vrs: ISO9660 Volume Descriptor Set Terminator found
UDF-fs: No VRS found
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in parameter list -- (asc=0x26, ascq=0x00)
  The failed "Mode Select 10" packet command was: 
  "55 10 00 00 00 00 00 00 10 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
VFS: busy inodes on changed media.
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in parameter list -- (asc=0x26, ascq=0x00)
  The failed "Mode Select 10" packet command was: 
  "55 10 00 00 00 00 00 00 10 00 00 00 "
VFS: busy inodes on changed media.
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in parameter list -- (asc=0x26, ascq=0x00)
  The failed "Mode Select 10" packet command was: 
  "55 10 00 00 00 00 00 00 10 00 00 00 "
VFS: busy inodes on changed media.
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 02 00 00 00 "
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54
ATAPI device hda:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Mode Sense 10" packet command was: 
  "5a 00 30 00 00 00 00 00 08 00 00 00 "
VFS: busy inodes on changed media.

Reply via email to