Whenever I try to write a CD I get this error:

$ cdrecord -dummy speed=8 dev=0,0,0 image.iso
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.20
Cdrecord 1.11a05 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J�rg Schilling
Using libscg version 'schily-0.5'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'TEAC    '
Identifikation : 'CD-W58E         '
Revision       : '1.0A'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: Drive needs to reload the media to return to proper status.
Starting to write CD/DVD at speed 8 in dummy mode for single session.
Last chance to quit, starting dummy write in 0 seconds. Operation starts..cdrecord: 
Input/output error. read track info: scsi sendcmd: no error
CDB:  52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.000s timeout 240s

I have tried 1.8, 1.10, and 1.11a5; all under Linux 2.4.9-ac7.  The
drive is IDE, and has been wired to IDE-SCSI emulation.  All three
give the same error, except that 1.8 says "scsi sendcmd: retryable
error" not "... no error".

This error appears immediately after it prints "Operation starts".

The drive used to work correctly, some time ago.  I believe that that
was with cdrecord 1.8 and kernel 2.2.  I have not been able to
convince 1.11 to compile against 2.2 headers.

There is no problem reading from the drive, either data or audio
tracks.

Any advice would be appreciated.  I have attached the output of
'cdrecord -prcap dev=0,0,0' to this message.  Logs with high
-v/-V/-debug settings available on request.

I am not subscribed to this list, please cc: me on replies.

zw
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.20
Cdrecord 1.11a05 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J�rg Schilling
Using libscg version 'schily-0.5'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'TEAC    '
Identifikation : 'CD-W58E         '
Revision       : '1.0A'
Device seems to be: Generic mmc CD-RW.

Drive capabilities, per page 2A:

  Does read CD-R media
  Does write CD-R media
  Does read CD-RW media
  Does write CD-RW media
  Does not read DVD-ROM media
  Does not read DVD-R media
  Does not write DVD-R media
  Does not read DVD-RAM media
  Does not write DVD-RAM media
  Does support test writing

  Does read Mode 2 Form 1 blocks
  Does read Mode 2 Form 2 blocks
  Does read digital audio blocks
  Does restart non-streamed digital audio reads accurately
  Does not support Buffer-Underrun-Free recording
  Does read multi-session CDs
  Does read fixed-packet CD media using Method 2
  Does not read CD bar code
  Does read R-W subcode information
  Does return R-W subcode de-interleaved and error-corrected
  Does read raw P-W subcode data from lead in
  Does return CD media catalog number
  Does return CD ISRC information
  Does support C2 error pointers
  Does not deliver composite A/V data

  Does play audio CDs
  Number of volume control levels: 256
  Does support individual volume control setting for each channel
  Does support independent mute setting for each channel
  Does not support digital output on port 1
  Does not support digital output on port 2

  Loading mechanism type: tray
  Does support ejection of CD via START/STOP command
  Does not lock media on power up via prevent jumper
  Does allow media to be locked in the drive via PREVENT/ALLOW command
  Is not currently in a media-locked state
  Does not support changing side of disk
  Does not have load-empty-slot-in-changer feature
  Does not support Individual Disk Present feature

  Maximum read  speed in kB/s: 5645
  Current read  speed in kB/s: 5645
  Maximum write speed in kB/s: 1411
  Current write speed in kB/s: 1411
  Buffer size in KB: 1280

Reply via email to