cdrecord returned an unknown error (code 254) when burning audio cd

Bug #1091962 reported by Jeremy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cdrkit (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am seeing this error when trying to burn audio cd from mp3 with K3b.

Devices
-----------------------
ASUS BC-12B1ST 1.01 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, BD-ROM, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW, BD-ROM] [SAO, TAO, RAW, SAO/R96P, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7]

System
-----------------------
K3b Version: 2.0.2
KDE Version: 4.9.3
QT Version: 4.8.3
Kernel: 3.6.9-030609-generic

Used versions
-----------------------
cdrecord: 3.0

cdrecord
-----------------------
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Warning: Cannot read drive buffer.
/usr/bin/cdrecord: Warning: The DMA speed test has been skipped.
Cdrecord-ProDVD-ProBD-Clone 3.00 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2010 J�rg Schilling
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'ASUS '
Identifikation : 'BC-12B1ST '
Revision : '1.01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-RW
Profile: BD-ROM
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW (current)
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
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 RAW/R16 RAW/R96P RAW/R96R LAYER_JUMP
Drive buf size : 1575840 = 1538 KB
FIFO size : 4194304 = 4096 KB
pregap1: -1
Track 01: audio 30 MB (03:02.78) no preemp swab copy
Track 02: audio 41 MB (04:05.86) no preemp swab copy
Track 03: audio 52 MB (05:09.89) no preemp swab copy
Track 04: audio 57 MB (05:41.74) no preemp swab copy
Track 05: audio 55 MB (05:29.09) no preemp swab copy
Track 06: audio 39 MB (03:56.49) no preemp swab copy
Track 07: audio 47 MB (04:42.05) no preemp swab copy
Track 08: audio 56 MB (05:36.25) no preemp swab copy
Track 09: audio 43 MB (04:16.81) no preemp swab copy
Track 10: audio 43 MB (04:17.18) no preemp swab copy
Track 11: audio 41 MB (04:08.85) no preemp swab copy
Track 12: audio 44 MB (04:26.77) no preemp swab copy
Total size: 554 MB (54:53.81) = 247036 sectors
Lout start: 554 MB (54:55/61) = 247036 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 6
  Reference speed: 2
Disk Is not unrestricted
Disk Is erasable
  ATIP start of lead in: -11078 (97:34/22)
  ATIP start of lead out: 336075 (74:43/00)
  1T speed low: 0 (reserved val 0) 1T speed high: 4
  2T speed low: 0 (reserved val 5) 2T speed high: 0 (reserved val 12)
  power mult factor: 3 5
  recommended erase/write power: 3
  A1 values: 02 3A B0
  A2 values: 5C C6 26
Disk type: Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
    Capacity Blklen/Sparesz. Format-type Type
      336075 2048 0x00 Unformated or Blank Media
      275744 32 0x10 Reserved (0)
Blocks total: 336075 Blocks current: 336075 Blocks remaining: 89039
Starting to write CD/DVD/BD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write in 3 seconds.
   2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
Sending CUE sheet...
Writing pregap for track 1 at 226878
Starting new track at sector: 227028
Track 01: 0 of 30 MB written.
Track 01: 1 of 30 MB written (fifo 98%) 3.8x.
Track 01: 2 of 30 MB written (fifo 100%) [buf 99%] 4.8x.
Track 01: 3 of 30 MB written (fifo 100%) [buf 99%] 4.4x.
Track 01: 4 of 30 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 5 of 30 MB written (fifo 100%) [buf 98%] 4.4x.
Track 01: 6 of 30 MB written (fifo 100%) [buf 97%] 4.1x.
Track 01: 7 of 30 MB written (fifo 100%) [buf 97%] 4.4x.
Track 01: 8 of 30 MB written (fifo 100%) [buf 96%] 4.1x.
Track 01: 9 of 30 MB written (fifo 100%) [buf 96%] 4.3x.
Track 01: 10 of 30 MB written (fifo 100%) [buf 99%] 4.3x.
Track 01: 11 of 30 MB written (fifo 100%) [buf 99%] 4.3x.
Track 01: 12 of 30 MB written (fifo 100%) [buf 97%] 4.1x.
Track 01: 13 of 30 MB written (fifo 100%) [buf 97%] 4.3x.
Track 01: 14 of 30 MB written (fifo 100%) [buf 96%] 4.1x.
Track 01: 15 of 30 MB written (fifo 100%) [buf 96%] 4.3x.
Track 01: 16 of 30 MB written (fifo 100%) [buf 99%] 4.3x.
Track 01: 17 of 30 MB written (fifo 100%) [buf 99%] 4.3x.
Track 01: 18 of 30 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 19 of 30 MB written (fifo 100%) [buf 98%] 4.3x.
Track 01: 20 of 30 MB written (fifo 100%) [buf 97%] 4.1x.
Track 01: 21 of 30 MB written (fifo 100%) [buf 96%] 4.3x.
Track 01: 22 of 30 MB written (fifo 100%) [buf 99%] 4.3x.
Track 01: 23 of 30 MB written (fifo 100%) [buf 99%] 4.3x.
Track 01: 24 of 30 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 25 of 30 MB written (fifo 100%) [buf 98%] 4.3x.
Track 01: 26 of 30 MB written (fifo 100%) [buf 97%] 4.1x.
Track 01: 27 of 30 MB written (fifo 100%) [buf 97%] 4.3x.
Track 01: 28 of 30 MB written (fifo 100%) [buf 96%] 4.1x.
Track 01: 29 of 30 MB written (fifo 100%) [buf 96%] 4.3x.
Track 01: 30 of 30 MB written (fifo 100%) [buf 99%] 4.3x.
Track 01: Total bytes read/written: 32243568/32243568 (13709 sectors).
Starting new track at sector: 240737
Track 02: 0 of 41 MB written.
Track 02: 1 of 41 MB written (fifo 100%) 4.1x.
Track 02: 2 of 41 MB written (fifo 100%) [buf 97%] 4.2x.
Track 02: 3 of 41 MB written (fifo 100%) [buf 97%] 4.4x.
Track 02: 4 of 41 MB written (fifo 100%) [buf 96%] 4.2x.
Track 02: 5 of 41 MB written (fifo 100%) [buf 96%] 4.3x.
Track 02: 6 of 41 MB written (fifo 100%) [buf 98%] 4.3x.
Track 02: 7 of 41 MB written (fifo 100%) [buf 98%] 4.4x.
Track 02: 8 of 41 MB written (fifo 100%) [buf 97%] 4.1x.
Track 02: 9 of 41 MB written (fifo 100%) [buf 97%] 4.3x.
Track 02: 10 of 41 MB written (fifo 100%) [buf 96%] 4.1x.
Track 02: 11 of 41 MB written (fifo 100%) [buf 96%] 4.3x.
Track 02: 12 of 41 MB written (fifo 100%) [buf 99%] 4.3x.
Track 02: 13 of 41 MB written (fifo 100%) [buf 99%] 4.3x.
Track 02: 14 of 41 MB written (fifo 100%) [buf 98%] 4.1x.
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 03 C5 0F 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 200s
/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly read the error message above.
write track data: error after 14859936 bytes
Writing time: 109.542s
Average write speed 31.1x.
Min drive buffer fill was 96%
Fixating...
Fixating time: 22.843s
/usr/bin/cdrecord: fifo had 806 puts and 743 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 727 times full, min fill was 90%.

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=4 -sao driveropts=burnfree -overburn -useinfo -audio /tmp/kde-purnomo/k3b_audio_0_01.inf /tmp/kde-purnomo/k3b_audio_0_02.inf /tmp/kde-purnomo/k3b_audio_0_03.inf /tmp/kde-purnomo/k3b_audio_0_04.inf /tmp/kde-purnomo/k3b_audio_0_05.inf /tmp/kde-purnomo/k3b_audio_0_06.inf /tmp/kde-purnomo/k3b_audio_0_07.inf /tmp/kde-purnomo/k3b_audio_0_08.inf /tmp/kde-purnomo/k3b_audio_0_09.inf /tmp/kde-purnomo/k3b_audio_0_10.inf /tmp/kde-purnomo/k3b_audio_0_11.inf /tmp/kde-purnomo/k3b_audio_0_12.inf

Revision history for this message
Schily (schilling-fokus) wrote :

A command sequence error usually appears, when unfriendly software
interrupts the write process, ignoring the current write task.

hald and similar on Linux are known to be such software, kill it.

Another possible way to go is to write in -raw96r mode to prevent the
drive from being able to report the current media state. Note that this
will not work for DVDs BluRay.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.