[LAU] CD ROM Problem

Philipp Überbacher hollunder at lavabit.com
Mon Sep 19 16:25:43 UTC 2011


Excerpts from Bob van der Poel's message of 2011-09-18 18:31:14 +0200:
> Hope someone can help me on this. I've got 2 LD DVD r/w drives.
> Neither one will burn an audio CD for me. When I try it gets to around
> track 8 to 10 of 22 and then it craps out. Tried a bunch of different
> media and have a nice stack of coasters!
> 
> Attempt to create using wodim/cdrecord:
> 
> 
> cdrecord dev=/dev/cdrom speed=4 -audio *wav
> wodim: No write mode specified.
> wodim: Assuming -tao mode.
> wodim: Future versions of wodim may have different drive dependent defaults.
> Device type : Removable CD-ROM
> Version : 5
> Response Format: 2
> Capabilities :
> Vendor_info : 'HL-DT-ST'
> Identification : 'DVDRAM GH22NS50 '
> Revision : 'TN02'
> Device seems to be: Generic mmc2 DVD-R/DVD-RW.
> Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
> Driver flags : MMC-3 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
> Speed set to 2822 KB/s
> Starting to write CD/DVD at speed 16.0 in real TAO mode for single session.
> Last chance to quit, starting real write in 0 seconds. Operation starts.
> Track 01: Total bytes read/written: 43551984/43551984 (18517 sectors).
> Track 02: Total bytes read/written: 36408960/36408960 (15480 sectors).
> Track 03: Total bytes read/written: 29230656/29230656 (12428 sectors).
> Track 04: Total bytes read/written: 39424224/39424224 (16762 sectors).
> Track 05: Total bytes read/written: 17870496/17870496 (7598 sectors).
> Track 06: Total bytes read/written: 23806944/23806944 (10122 sectors).
> Track 07: Total bytes read/written: 32775120/32775120 (13935 sectors).
> Track 08: Total bytes read/written: 18616080/18616080 (7915 sectors).
> Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
> CDB: 2A 00 00 01 D9 54 00 00 15 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 72 0B 00 00 00 00 00 0E 09 0C 00 00 00 03 00 00
> Sense Key: 0x0 No Additional Sense, Segment 11
> Sense Code: 0x00 Qual 0x03 (setmark detected) Fru 0x0
> Sense flags: Blk 0 (not valid)
> cmd finished after 41.296s timeout 40s
> write track data: error after 40452048 bytes
> wodim: A write error occured.
> wodim: Please properly read the error message above.
> 
> The drives in question are (from hdparm):
> 
> /dev/cdrom:
> 
> ATAPI CD-ROM, with removable media
> Model Number: HL-DT-ST DVDRAM GH22NS50
> Serial Number: K00998K1011
> Firmware Revision: TN02
> Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev
> 2.5, SATA Rev 2.6
> Standards:
> Likely used CD-ROM ATAPI-1
> Configuration:
> DRQ response: 50us.
> Packet size: 12 bytes
> cache/buffer size = unknown
> Capabilities:
> LBA, IORDY(can be disabled)
> DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> Cycle time: min=120ns recommended=120ns
> PIO: pio0 pio1 pio2 pio3 pio4
> Cycle time: no flow control=120ns IORDY flow control=120ns
> 
> And for the other drive:
> 
> /dev/cdrom1:
> 
> ATAPI CD-ROM, with removable media
> Model Number: HL-DT-ST DVDRAM GH24NS50
> Serial Number: K00AB5E3326
> Firmware Revision: XP02
> Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev
> 2.5, SATA Rev 2.6
> Standards:
> Likely used CD-ROM ATAPI-1
> Configuration:
> DRQ response: 50us.
> Packet size: 12 bytes
> cache/buffer size = unknown
> Capabilities:
> LBA, IORDY(can be disabled)
> DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> Cycle time: min=120ns recommended=120ns
> PIO: pio0 pio1 pio2 pio3 pio4
> Cycle time: no flow control=120ns IORDY flow control=120ns
> 
> And my linux is Ubuntu 11.04, kernel 2.6.38-11-generic-pae
> 
> I've checked my cables and all seems to be fine. I don't think it's a
> simple hardware thing ... my guess is something to do with irqs. This
> is a lightly loaded system. Lots of RAM (7gig) and a dual core AMD
> processor.
> 
> Suggestions welcome.

Hi Bob,
which backend do you use for burning? cdrtools or cdrkit?
If you used cdrkit, the first thing I'd try is to switch to cdrtools.
Yes, there was some licensing trouble but I'm pretty sure that from a
pragmatic perspective cdrtools is the thing to use.

Other things: use DAO mode

How do you burn the CD? As ISO or by using CUE files, TOC files? If I
remember correctly then those files, if they're wrong in some subtle
way (markers not at the correct boundaries or something), won't burn
the CD correctly. In my case it was simply something like a missing
last track.

I got a few more or less coasters too recently because I wanted to have
proper CDTEXT, but that's a different story...

Hth,
Philipp



More information about the Linux-audio-user mailing list