cd burning returns "cannot send CUE sheet" and fails on SATA burners

Bug #185691 reported by James Michael Page on 2008-01-24
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
brasero (Ubuntu)
Low
Unassigned

Bug Description

Brasero fails with the error, "cannot send cue sheet"(see log file below)

Brasero log file:

imager (BraseroLocalImage) set_output
job (BraseroLocalImage) set_task
imager (BraseroLocalImage) get_track
job (BraseroLocalImage) set_task
Session starting:
 flags = 8535
 media type = 0
 speed = 47
 track type = 8
 track format = 2
 output = none
job (BraseroCDRecord) set_rate
recorder (BraseroCDRecord) set_drive
recorder (BraseroCDRecord) set_flags
job (BraseroCDRecord) set_source
job (BraseroCDRecord) set_task
recorder (BraseroCDRecord) record
process (BraseroCDRecord) getting varg
cdrecord (BraseroCDRecord) set_action
process (BraseroCDRecord) got varg:
 /usr/bin/wodim
 -v
 dev=/dev/scd0
 gracetime=0
 speed=47
 driveropts=burnfree
 -dao
 fs=16m
 -data
 -nopad
 /home/sirzepp/Desktop/gparted-livecd-0.3.4-11.iso
process (BraseroCDRecord) launching command
process (BraseroCDRecord) stderr: /usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/scd0'
process (BraseroCDRecord) stderr: devname: '/dev/scd0'
process (BraseroCDRecord) stderr: scsibus: -2 target: -2 lun: -2
process (BraseroCDRecord) stderr: Linux sg driver version: 3.5.27
process (BraseroCDRecord) stderr: Wodim version: 1.1.6
process (BraseroCDRecord) stderr: SCSI buffer size: 64512
process (BraseroCDRecord) stderr: Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
process (BraseroCDRecord) stderr: communication breaks or freezes immediately after that.
process (BraseroCDRecord) stdout: TOC Type: 1 = CD-ROM
process (BraseroCDRecord) stdout: Driveropts: 'burnfree'
process (BraseroCDRecord) stdout: Device type : Removable CD-ROM
process (BraseroCDRecord) stdout: Version : 5
process (BraseroCDRecord) stdout: Response Format: 2
process (BraseroCDRecord) stdout: Capabilities :
process (BraseroCDRecord) stdout: Vendor_info : 'PIONEER '
process (BraseroCDRecord) stdout: Identification : 'DVD-RW DVR-212D'
process (BraseroCDRecord) stdout: Revision : '1.24'
process (BraseroCDRecord) stdout: Device seems to be: Generic mmc2 DVD-R/DVD-RW.
process (BraseroCDRecord) stdout: Current: 0x0009 (CD-R)
process (BraseroCDRecord) stdout: Profile: 0x002B (DVD+R/DL)
process (BraseroCDRecord) stdout: Profile: 0x001B (DVD+R)
process (BraseroCDRecord) stdout: Profile: 0x001A (DVD+RW)
process (BraseroCDRecord) stdout: Profile: 0x0016 (DVD-R/DL layer jump recording)
process (BraseroCDRecord) stdout: Profile: 0x0015 (DVD-R/DL sequential recording)
process (BraseroCDRecord) stdout: Profile: 0x0014 (DVD-RW sequential recording)
process (BraseroCDRecord) stdout: Profile: 0x0013 (DVD-RW restricted overwrite)
process (BraseroCDRecord) stdout: Profile: 0x0011 (DVD-R sequential recording)
process (BraseroCDRecord) stdout: Profile: 0x0010 (DVD-ROM)
process (BraseroCDRecord) stdout: Profile: 0x000A (CD-RW)
process (BraseroCDRecord) stdout: Profile: 0x0009 (CD-R) (current)
process (BraseroCDRecord) stdout: Profile: 0x0008 (CD-ROM)
process (BraseroCDRecord) stdout: Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
process (BraseroCDRecord) stdout: Driver flags : MMC-3 SWABAUDIO BURNFREE
process (BraseroCDRecord) stdout: Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
process (BraseroCDRecord) stdout: Drive buf size : 1267712 = 1238 KB
process (BraseroCDRecord) stdout: FIFO size : 16777216 = 16384 KB
process (BraseroCDRecord) stderr: Speed set to 7056 KB/s
process (BraseroCDRecord) stdout: Track 01: data 52 MB
process (BraseroCDRecord) stdout: Total size: 59 MB (05:55.37) = 26653 sectors
process (BraseroCDRecord) stdout: Lout start: 60 MB (05:57/28) = 26653 sectors
process (BraseroCDRecord) stdout: Current Secsize: 2048
process (BraseroCDRecord) stdout: ATIP info from disk:
process (BraseroCDRecord) stdout: Indicated writing power: 5
process (BraseroCDRecord) stdout: Is not unrestricted
process (BraseroCDRecord) stdout: Is not erasable
process (BraseroCDRecord) stdout: Disk sub type: Medium Type A, high Beta category (A+) (3)
process (BraseroCDRecord) stdout: ATIP start of lead in: -11634 (97:26/66)
process (BraseroCDRecord) stdout: ATIP start of lead out: 359846 (79:59/71)
process (BraseroCDRecord) stdout: Disk type: Short strategy type (Phthalocyanine or similar)
process (BraseroCDRecord) stdout: Manuf. index: 3
process (BraseroCDRecord) stdout: Manufacturer: CMC Magnetics Corporation
process (BraseroCDRecord) stdout: Blocks total: 359846 Blocks current: 359846 Blocks remaining: 333193
process (BraseroCDRecord) stdout: Starting to write CD/DVD at speed 40.0 in real SAO mode for single session.
process (BraseroCDRecord) stdout: Last chance to quit, starting real write in 0 seconds. Operation starts.
process (BraseroCDRecord) stdout: Waiting for reader process to fill input buffer ... input buffer ready.
process (BraseroCDRecord) stdout: Performing OPC...
process (BraseroCDRecord) stdout: Sending CUE sheet...
process (BraseroCDRecord) set_action
process (BraseroCDRecord) stderr: /usr/bin/wodim: CUE sheet not accepted. Retrying with minimum pregapsize = 1.
process (BraseroCDRecord) stderr: Errno: 5 (Input/output error), send_cue_sheet scsi sendcmd: no error
process (BraseroCDRecord) stderr: CDB: 5D 00 00 00 00 00 00 00 20 00
process (BraseroCDRecord) stderr: status: 0x2 (CHECK CONDITION)
process (BraseroCDRecord) stderr: Sense Bytes: 70 00 05 06 00 00 20 0E 24 08 11 40 A8 04 00 00
process (BraseroCDRecord) stderr: Sense Key: 0x5 Illegal Request, Segment 0
process (BraseroCDRecord) stderr: Sense Code: 0xA8 Qual 0x04 (vendor unique sense code 0xA8) [No matching qualifier] Fru 0x0
process (BraseroCDRecord) stderr: Sense flags: Blk 100663328 (not valid)
process (BraseroCDRecord) stderr: cmd finished after 0.019s timeout 200s
process (BraseroCDRecord) stderr: /usr/bin/wodim: CUE sheet still not accepted. Please try to write in RAW (-raw96r) mode.
process (BraseroCDRecord) stderr: /usr/bin/wodim: Cannot send CUE sheet.
process (BraseroCDRecord) stderr: /usr/bin/wodim: Could not write Lead-in.
job (BraseroCDRecord) asked to stop
 status = 1
 error = 1
 message = "the cd information could not be written"
iter (BraseroCDRecord) stopping
process (BraseroCDRecord) got killed
iter (BraseroCDRecord) stopped
job (BraseroCDRecord) got out of loop
job (BraseroCDRecord) set_task
Session error : the cd information could not be written
--end Brasero log-file--

Nero Linux fails with the following logfile:

2CA0-80X3-1800-2000-406M-AA2A-****

Linux 2.6.22-14-generic
Nero API version: 7.5.14.4
Using interface version: 7.5.0.2
Installed in: /usr/lib64/nero/
Application: Nero AG\Nero Linux
Internal Version: 7, 5, 14, 4

Recorder: <PIONEER DVD-RW DVR-212D>Version: 1.24 - HA 4 TA 0 - 0.0.0.0
 Adapter driver: <sata_via> HA 4
 Drive buffer : 2000kB
 Bus Type : default (0) -> SCSI, detected: ?
Excluded drive IDs:
WriteBufferSize: 83886080 (0) Byte
BUFE : 0
Physical memory : 1509MB (1545812kB)
Free physical memory: 842MB (863112kB)
Memory in use : 44 %
Uncached PFiles: 0x0
Use Inquiry : 1
Global Bus Type: default (0)
Check supported media : Disabled (0)

23.1.2008
NeroAPI
08:25:18 PM #1 Text 0 File DlgWaitCD.cpp, Line 307
 Last possible write address on media: 359845 ( 79:59.70)
 Last address to be written: 26652 ( 5:57.27)

08:25:18 PM #2 Text 0 File DlgWaitCD.cpp, Line 319
 Write in overburning mode: NO

08:25:18 PM #3 Text 0 File DlgWaitCD.cpp, Line 2951
 Recorder: PIONEER DVD-RW DVR-212D;
    CDR code: 00 97 26 66; OSJ entry from: CMC Magnetics Corporation
    ATIP Data:
      Special Info [hex] 1: D0 00 98, 2: 61 1A 42 (LI 97:26.66), 3: 4F 3B 47 (LO 79:59.71)
      Additional Info [hex] 1: FF FF FF (invalid), 2: FF FF FF (invalid), 3: FF FF FF (invalid)

08:25:18 PM #4 Text 0 File DlgWaitCD.cpp, Line 493
 >>> Protocol of DlgWaitCD activities: <<<
 =========================================

08:25:18 PM #5 Text 0 File ThreadedTransferInterface.cpp, Line 792
 Setup items (after recorder preparation)
  0: TRM_DATA_MODE1 (2 - CD-ROM Mode 1, Joliet)
     2 indices, index0 (150) not provided
     original disc pos #0 + 26653 (26653) = #26653/5:55.28
     not relocatable, disc pos for caching/writing not required/not required
     -> TRM_ULTRARAW96_MODE1, 2448, config 4, wanted index0 0 blocks, length 26653 blocks [PIONEER DVD-RW DVR-212D (H:4 T:0)]
 --------------------------------------------------------------

08:25:20 PM #6 Text 0 File ThreadedTransferInterface.cpp, Line 995
 Prepare [PIONEER DVD-RW DVR-212D (H:4 T:0)] for write in raw writing
 DAO infos:
 ==========
  MCN: ""
  TOCType: 0x00; Session Closed, disc fixated
  Tracks 1 to 1: Idx 0 Idx 1 Next Trk
    1: TRM_ULTRARAW96_MODE1, 2448/0x04, FilePos 0 367200 65613744, ISRC ""
 DAO layout:
 ===========
  ___Start_|____Track_|_Idx_|_CtrlAdr_|_____Size_|______NWA_|_RecDep__________
      -150 | lead-in | 0 | 0x41 | 0 | 0 | 0x00
      -150 | 1 | 0 | 0x41 | 0 | 0 | 0x00
         0 | 1 | 1 | 0x41 | 26653 | 26653 | 0x00
     26653 | lead-out | 1 | 0x41 | 0 | 0 | 0x00

08:25:20 PM #7 Text 0 File Burncd.cpp, Line 4263
 Caching options: cache CDRom or Network-No, small files-Yes (<32KB)

08:25:20 PM #8 Phase 24 File ExtendedProgress.cpp, Line 537
 Caching of files started

08:25:20 PM #9 Text 0 File Burncd.cpp, Line 4382
 Cache writing successful.

08:25:20 PM #10 Phase 25 File ExtendedProgress.cpp, Line 537
 Caching of files completed

08:25:20 PM #11 Phase 36 File ExtendedProgress.cpp, Line 537
 Burn process started at 40x (6000 KB/s)

08:25:21 PM #12 Text 0 File ThreadedTransferInterface.cpp, Line 2712
 Verifying disc position of item 0 (not relocatable, no disc pos, no patch infos, orig at #0): write at #0

08:25:21 PM #13 Text 0 File MMC.cpp, Line 17730
 StartDAO : CD-Text - Off

08:25:21 PM #14 Text 0 File MMC.cpp, Line 22396
 Set BUFE: Buffer underrun protection -> ON

08:25:21 PM #15 Text 0 File ThreadedTransfer.cpp, Line 269
 Pipe memory size 83836800

08:25:22 PM #16 SCSI -400 File SCSIInterface.cpp, Line 622
 SCSI Exec, HA 4, TA 0, LUN 0, buffer 0x0x15d6cc0
 Status: 0x04 (0x01, SCSI_ERR)
 HA-Status 0x00 (0x00, OK)
 TA-Status 0x05 (0x0B, SCSI_TASTATUS_FAILED)
 Sense Key: 0x05 (KEY_ILLEGAL_REQUEST)
 Sense Code: 0xA8
 Sense Qual: 0x04
 CDB Data: 0x2A 0x00 0xFF 0xFF 0xD2 0x8E 0x00 0x00 0x1A 0x00
 Sense Data: 0x70 0x00 0x05 0x06 0x00 0x00 0x20 0x0E
             0x24 0x08 0x11 0x40 0xA8 0x04

08:25:22 PM #17 CDR -400 File Writer.cpp, Line 299
 Unspecified target error
 PIONEER DVD-RW DVR-212D (H:4 T:0)

08:25:22 PM #18 Phase 38 File ExtendedProgress.cpp, Line 537
 Burn process failed at 40x (6000 KB/s)

--end Nero Logfile--

K3b fails with the following logfile:

System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.8
QT Version: 3.3.7
Kernel: 2.6.22-14-generic
Devices
-----------------------
CD-ROM CCD-52X6S YS0C (/dev/hdb, ) [CD-ROM] [Error] [None]

PIONEER DVD-RW DVR-212D 1.24 (/dev/scd0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump]
Used versions
-----------------------
cdrecord: 1.1.6

cdrecord
-----------------------
scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 0 = CD-DA
Driveropts: 'burnfree'
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identification : 'DVD-RW DVR-212D'
Revision : '1.24'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
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
Drive buf size : 1267712 = 1238 KB
FIFO size : 12582912 = 12288 KB
pregap1: -1
Track 01: audio 33 MB (03:21.57) no preemp swab copy
Track 02: audio 46 MB (04:37.64) no preemp swab copy
Track 03: audio 41 MB (04:06.52) no preemp swab copy
Track 04: audio 39 MB (03:57.09) no preemp swab copy
Track 05: audio 44 MB (04:23.26) no preemp swab copy
Track 06: audio 50 MB (04:57.25) no preemp swab copy
Track 07: audio 44 MB (04:22.48) no preemp swab copy
Track 08: audio 37 MB (03:44.24) no preemp swab copy
Track 09: audio 29 MB (02:53.06) no preemp swab copy
Track 10: audio 39 MB (03:57.36) no preemp swab copy
Track 11: audio 46 MB (04:38.16) no preemp swab copy
Track 12: audio 56 MB (05:36.44) no preemp swab copy
Track 13: audio 19 MB (01:54.32) no preemp swab copy
Track 14: audio 96 MB (09:33.10) no preemp swab copy
Total size: 626 MB (62:02.52) = 279189 sectors
Lout start: 626 MB (62:04/39) = 279189 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in: -11634 (97:26/66)
  ATIP start of lead out: 359846 (79:59/71)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 80657
Starting to write CD/DVD at speed 16.0 in real SAO mode for single session.
Last chance to quit, starting real write in 2 seconds.
Speed set to 2822 KB/s
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
/usr/bin/wodim: CUE sheet not accepted. Retrying with minimum pregapsize = 1.
Errno: 5 (Input/output error), send_cue_sheet scsi sendcmd: no error
CDB: 5D 00 00 00 00 00 00 00 F0 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 06 00 00 20 0E 24 08 11 40 A8 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0xA8 Qual 0x04 (vendor unique sense code 0xA8) [No matching qualifier] Fru 0x0
Sense flags: Blk 100663328 (not valid)
cmd finished after 0.019s timeout 200s
/usr/bin/wodim: CUE sheet still not accepted. Please try to write in RAW (-raw96r) mode.
/usr/bin/wodim: Cannot send CUE sheet.
/usr/bin/wodim: Could not write Lead-in.
Writing time: 13.863s
/usr/bin/wodim: fifo had 191 puts and 0 gets.
/usr/bin/wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/scd0 speed=16 -dao driveropts=burnfree -eject -useinfo -audio /tmp/kde-sirzepp/k3b_audio_0_01.inf /tmp/kde-sirzepp/k3b_audio_0_02.inf /tmp/kde-sirzepp/k3b_audio_0_03.inf /tmp/kde-sirzepp/k3b_audio_0_04.inf /tmp/kde-sirzepp/k3b_audio_0_05.inf /tmp/kde-sirzepp/k3b_audio_0_06.inf /tmp/kde-sirzepp/k3b_audio_0_07.inf /tmp/kde-sirzepp/k3b_audio_0_08.inf /tmp/kde-sirzepp/k3b_audio_0_09.inf /tmp/kde-sirzepp/k3b_audio_0_10.inf /tmp/kde-sirzepp/k3b_audio_0_11.inf /tmp/kde-sirzepp/k3b_audio_0_12.inf /tmp/kde-sirzepp/k3b_audio_0_13.inf /tmp/kde-sirzepp/k3b_audio_0_14.inf

--end K3b logfile--

cdrecord, from the command line, fails at "Sending CUE Sheet". When run with the -raw96r option, it writes to the CD, but the CD is unreadable.

Thanks!

Here is the log file for K3b:

Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Changed in brasero:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!.

Changed in brasero:
status: Incomplete → Invalid
LAZA (laza74) wrote :

I have the same problem.
It seems that wodim ist the problem... - so I have to change to cdrecord!
Could be also a problem of the Pioneer drive (I have an DVR-16DBK)

I will have an eye on it with the next version of brasero...

komputes (komputes) wrote :

I have a SATA drive as well and when trying to burn a DVD Data project, it just gets stuck on "Writing cue sheet" With no estimated speed or time remaining. It does not time out, so I can leave it all day and it will not progress or err. This only affects me on this SATA burner.

Changed in brasero (Ubuntu):
status: Invalid → New
status: New → Confirmed
Phillip Susi (psusi) wrote :

Is this still an issue on 12.04 or later? If so can you confirm that cdrecord does work, and the model of the drive?

Changed in brasero (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for brasero (Ubuntu) because there has been no activity for 60 days.]

Changed in brasero (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers