Comment 19 for bug 149076

Revision history for this message
cosmix (cosm7x) wrote :

This bug exists on Ubuntu (GNOME) 8.04 too.

Applications using wodim cannot burn any CD-R (multiple brands). The drive is an Optiarc AD5170A (IDE), the kernel is 2.6.24 (default 32bit shipping kernel).

There is no hardware problem with this machine. It works fine with Gutsy or Windows. This seems to be either a kernel or a wodim bug.

Example wodim output while attempting to burn an audio CD (through rhythmbox in this instance):

wodim stderr: wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/scd1'
wodim stderr: devname: '/dev/scd1'
wodim stderr: scsibus: -2 target: -2 lun: -2
wodim stderr: Linux sg driver version: 3.5.27
wodim stderr: Wodim version: 1.1.6
wodim stderr: SCSI buffer size: 64512
wodim stderr: Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
wodim stdout: TOC Type: 0 = CD-DA
wodim stderr: communication breaks or freezes immediately after that.
wodim stdout: Device type : Removable CD-ROM
wodim stderr: Speed set to 8467 KB/s
wodim stdout: Version : 5
wodim stdout: Response Format: 2
wodim stdout: Capabilities :
wodim stdout: Vendor_info : 'Optiarc '
wodim stdout: Identification : 'DVD RW AD-5170A '
wodim stdout: Revision : '1.11'
wodim stdout: Device seems to be: Generic mmc2 DVD-R/DVD-RW.
wodim stdout: Current: 0x0009 (CD-R)
wodim stdout: Profile: 0x002B (DVD+R/DL)
wodim stdout: Profile: 0x001B (DVD+R)
wodim stdout: Profile: 0x001A (DVD+RW)
wodim stdout: Profile: 0x0016 (DVD-R/DL layer jump recording)
wodim stdout: Profile: 0x0015 (DVD-R/DL sequential recording)
wodim stdout: Profile: 0x0014 (DVD-RW sequential recording)
wodim stdout: Profile: 0x0013 (DVD-RW restricted overwrite)
wodim stdout: Profile: 0x0011 (DVD-R sequential recording)
wodim stdout: Profile: 0x0010 (DVD-ROM)
wodim stdout: Profile: 0x000A (CD-RW)
wodim stdout: Profile: 0x0009 (CD-R) (current)
wodim stdout: Profile: 0x0008 (CD-ROM) (current)
wodim stdout: Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
wodim stdout: Driver flags : MMC-3 SWABAUDIO BURNFREE
wodim stdout: Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
wodim stdout: Drive buf size : 890880 = 870 KB
wodim stdout: FIFO size : 16777216 = 16384 KB
wodim stdout: Track 01: audio 46 MB (04:34.54) no preemp pad copy
wodim stdout: Track 02: audio 73 MB (07:17.60) no preemp pad copy
wodim stdout: Track 03: audio 44 MB (04:26.89) no preemp pad copy
wodim stdout: Track 04: audio 85 MB (08:26.82) no preemp pad copy
wodim stdout: Track 05: audio 64 MB (06:20.60) no preemp pad copy
wodim stdout: Track 06: audio 44 MB (04:22.40) no preemp copy
wodim stdout: Track 07: audio 63 MB (06:16.24) no preemp pad copy
wodim stdout: Total size: 421 MB (41:45.17) = 187888 sectors
wodim stdout: Lout start: 421 MB (41:47/13) = 187888 sectors
wodim stdout: Current Secsize: 2048
wodim stdout: ATIP info from disk:
wodim stdout: Indicated writing power: 5
wodim stdout: Is not unrestricted
wodim stdout: Is not erasable
wodim stdout: Disk sub type: Medium Type B, low Beta category (B-) (4)
wodim stdout: ATIP start of lead in: -11933 (97:22/67)
wodim stdout: ATIP start of lead out: 359849 (79:59/74)
wodim stdout: Disk type: Short strategy type (Phthalocyanine or similar)
wodim stdout: Manuf. index: 43
wodim stdout: Manufacturer: Acer Media Technology, Inc.
wodim stdout: Blocks total: 359849 Blocks current: 359849 Blocks remaining: 171961
wodim stdout: Starting to write CD/DVD at speed 48.0 in real SAO mode for single session.
wodim stdout: Last chance to quit, starting real write i 0 seconds. Operation starts.
wodim stdout: Waiting for reader process to fill input buffer ... input buffer ready.
wodim stdout: Performing OPC...
wodim stdout: Sending CUE sheet...
wodim stdout: Writing pregap for track 1 at -150
wodim stdout: Starting new track at sector: 0
wodim stderr: Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
wodim stderr: CDB: 2A 00 00 00 00 1B 00 00 1B 00
wodim stdout: Track 01: 0 of 46 MB written.
wodim stderr: status: 0x2 (CHECK CONDITION)
wodim stdout: write track data: error after 63504 bytes
wodim stderr: Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 08 03 00 00
wodim stdout: Writing time: 22.112s
wodim stderr: Sense Key: 0x4 Hardware Error, Segment 0
wodim stdout: Average write speed 493.5x.
wodim stderr: Sense Code: 0x08 Qual 0x03 (logical unit communication crc error (ultra-dma/32)) Fru 0x0
wodim stdout: Fixating...
wodim stderr: Sense flags: Blk 0 (not valid)
wodim stderr: cmd finished after 0.002s timeout 200s
wodim stderr: wodim: A write error occured.
wodim stderr: wodim: Please properly read the error message above.
wodim stderr: Errno: 5 (Input/output error), flush cache scsi sendcmd: no error
wodim stdout: Trouble flushing the cache
wodim stderr: CDB: 35 00 00 00 00 00 00 00 00 00
wodim stdout: Fixating time: 8.817s
wodim stderr: status: 0x2 (CHECK CONDITION)
wodim stdout: BURN-Free was never needed.
wodim stderr: Sense Bytes: F0 00 03 00 00 00 1C 0A 00 00 00 00 0C 07 00 00
process stdout: HUP
wodim stderr: Sense Key: 0x3 Medium Error, Segment 0
wodim stderr: Sense Code: 0x0C Qual 0x07 (write error - recovery needed) Fru 0x0
wodim stderr: Sense flags: Blk 28 (valid)
wodim stderr: cmd finished after 8.805s timeout 200s
wodim stderr: wodim: fifo had 256 puts and 2 gets.
wodim stderr: wodim: fifo was 0 times empty and 1 times full, min fill was 99%.
process stderr: HUP