Re: Problems with cdrecord under kernel 2.6.15-8
On Sat, March 11, 2006 19:02, Todd A. Jacobs said:
> Since doing an upgrade to testing, I can no longer burn CDs using any
> tool in my arsenal, although DVDs continue to burn correctly. When
> trying to burn CDs, I get lots of errors similar to the following:
>
> cdrecord: Warning: Running on Linux-2.6.15-1-686
> cdrecord: There are unsettled issues with Linux-2.5 and newer.
> cdrecord: If you have unexpected problems, please try Linux-2.4 or
> Solaris.
> TOC Type: 1 = CD-ROM
> scsidev: '0,0,0'
> scsibus: 0 target: 0 lun: 0
> Linux sg driver version: 3.5.33
> Using libscg version 'schily-0.8'.
> SCSI buffer size: 64512
> atapi: 1
> Device type : Removable CD-ROM
> Version : 0
> Response Format: 2
> Capabilities :
> Vendor_info : '_NEC '
> Identifikation : 'DVD_RW ND-1300A '
> Revision : '1.06'
> Device seems to be: Generic mmc2 DVD-R/DVD-RW.
> Current: 0x0009
> Profile: 0x001B
> Profile: 0x001A
> Profile: 0x0014
> Profile: 0x0013
> Profile: 0x0011
> Profile: 0x0010
> Profile: 0x000A
> Profile: 0x0009 (current)
> Profile: 0x0008 (current)
> cdrecord: This version of cdrecord does not include DVD-R/DVD-RW
> support code.
> cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on
> DVD support.
> Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
> Driver flags : MMC-3 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
> Drive buf size : 1345536 = 1314 KB
> FIFO size : 4194304 = 4096 KB
> Track 01: data 3 MB
> Total size: 4 MB (00:26.69) = 2002 sectors
> Lout start: 4 MB (00:28/52) = 2002 sectors
> Current Secsize: 2048
> ATIP info from disk:
> Indicated writing power: 5
> Is not unrestricted
> Is not erasable
> Disk sub type: Medium Type A, low Beta category (A-) (2)
> ATIP start of lead in: -11634 (97:26/66)
> ATIP start of lead out: 107849 (23:59/74)
> Disk type: Short strategy type (Phthalocyanine or similar)
> Manuf. index: 3
> Manufacturer: CMC Magnetics Corporation
> Blocks total: 107849 Blocks current: 107849 Blocks remaining: 105847
> Starting to write CD/DVD at speed 16 in real TAO mode for single
> session.
> Last chance to quit, starting real write 0 seconds. Operation
> starts.
> Waiting for reader process to fill input buffer ... input buffer
> ready.
> BURN-Free is ON.
> Turning BURN-Free off
> Performing OPC...
> cdrecord: Input/output error. send opc: scsi sendcmd: no error
> CDB: 54 01 00 00 00 00 00 00 00 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 03 00 1C A3 80 0A 00 00 00 00 0C 00 00 00
> Sense Key: 0x3 Medium Error, Segment 0
> Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
> Sense flags: Blk 1876864 (not valid)
> cmd finished after 2.135s timeout 60s
> cdrecord: OPC failed.
> Writing time: 2.290s
> cdrecord: fifo had 64 puts and 0 gets.
> cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
>
> The kernel doesn't seem to include modules for ide-scsi anymore, and I
> have to manually load sg.o with "sudo modprobe sg" before cdrecord will
> even find the device. What's weird, though, is that burning DVDs on the
> same device still works.
>
> What gives?
>
> --
> Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
You just need to use ATAPI, not SCSI.
In my cdrecord.conf I have:
CDR_DEVICE=cdrom
# drive name device speed fifosize driveropts
#
cdrom= ATAPI:/dev/hdc -1 -1 burnfree -v
Then I just do:
cdrecord -v -eject myimage.iso
--
/ernst-magne
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
Reply to: