K3B Audio CD burn fails

Hi,

I recently installed OpenSuse 11.1 (i586) on a new laptop (HP 6710b)
all has been going well, until I tried to burn audio CDs with K3B using
.wav files in a directory in the format 01.wav 02.wav 03.wav etc.

To burn the audio CDs I have been running K3B as root to avoid any
potential permission issues. I now have a stack of cd ‘coasters’ with
only one lucky success using the command line, which when the exact
command was repeated failed again.

I have successfully burnt 2 data DVDs using K3B, one as root the second
as user, both without problem - so maybe it is not a permissions
problem?

I am using K3b 1.0.5 in KDE 4.1.3. (it runs under KDE3)
I have not been able to run k3bsetup – it is not part of the
installation. However permissions appear correctly set-up – I also added
the appropriate users to the group “disk”.

/dev/cdrom lrw-rw---- root disk (just points to /dev/sr0)
/dev/sr0 -rw-rw---- root disk

/usr/bin/cdrecord lrwxr-xr-x root root (just points to
/usr/bin/wodim)
/usr/bin/wodim -rwxr-xr-x root root

K3b uses the executables in /usr/bin/x11/ which are just the same.
I have not put suid on anything. I tried running cdrecord as a user,
however the burn failed.

I checked the .wav files and they play fine in kaffeine.
I am using the same brand of blank CDs as the DVDs.
I have not had the occasion to try a data CD – I’ve run out of blank
disks for the moment.

K3b detects my DVD/CD burner as:

The system device is /dev/sr0
interface Generic SCSI
Vendor HL-DT-ST
Description DVDRAM GSA-T40L
Firmware KC07

I tried burning audio CDs in both TAO and DAO mode, neither with
success.

Here is an example shortened K3b output:

scsidev: ‘/dev/sr0’
devname: ‘/dev/sr0’
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.8
SCSI buffer size: 64512
Driveropts: ‘burnfree’
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Vendor_info : ‘HL-DT-ST’
Identification : 'DVDRAM GSA-T40L ’
Revision : ‘KC07’
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
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 : 1053696 = 1029 KB
Drive DMA Speed: 9176 kB/s 52x CD 6x DVD
FIFO size : 4194304 = 4096 KB
pregap1: -1
blah…
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type B, low Beta category (B-) (4)
ATIP start of lead in: -11607 (97:27/18)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 110112
Starting to write CD/DVD at speed 10.0 in real TAO mode for single
session.
Speed set to 1764 KB/s
1 seconds.
0 seconds. Operation starts.
Waiting for reader process to fill input buffer … input buffer
ready.
Performing OPC…
Starting new track at sector: 0
Track 01: 0 of 268 MB written.
Track 01: 1 of 268 MB written (fifo 100%) [buf 99%] 0.3x.
blah…
Track 01: 268 of 268 MB written (fifo 100%) [buf 99%] 10.3x.
Track 01: Total bytes read/written: 281228640/281228640 (119570
sectors).
Starting new track at sector: 119722
Track 02: 0 of 108 MB written.
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 01 D5 5A 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 3C 30 00 80 02 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 21.507s timeout 40s
/usr/bin/X11/wodim: A write error occured.
/usr/bin/X11/wodim: Please properly read the error message above.
write track data: error after 1016064 bytes
Writing time: 208.194s
Average write speed 16.0x.
Min drive buffer fill was 97%
Fixating…
Errno: 5 (Input/output error), close track/session scsi sendcmd: no
error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 5B 02 00 80 72 03 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x03 (session fixation error - incomplete track
in session) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 3.609s timeout 480s
/usr/bin/X11/wodim: Cannot fixate disk.
Fixating time: 3.616s
/usr/bin/X11/wodim: fifo had 4509 puts and 4446 gets.
/usr/bin/X11/wodim: fifo was 0 times empty and 4421 times full, min
fill was 92%.

cdrecord command:

/usr/bin/X11/wodim -v gracetime=2 dev=/dev/sr0 speed=10 -tao
driveropts=burnfree -eject -useinfo -audio
/tmp/kde-root/k3b_audio_0_01.inf /tmp/kde-root/k3b_audio_0_02.inf
blah…

The above failed after completing track one.

After this I resorted to using the following command line, as root in
the appropriate directory:

cdrecord dev=/dev/cdrom -v -eject -driveropts=burnfree speed=10 -audio
-pad *.wav

Here is an example output:

linux-9bpq:/home/robert/cage # cdrecord dev=/dev/cdrom -v -eject
-driveropts=burnfree speed=10 -audio -pad *.wav

wodim: No write mode specified.

wodim: Asuming -tao mode.

wodim: Future versions of wodim may have different drive dependent
defaults.
TOC Type: 0 = CD-DA

scsidev: ‘/dev/cdrom’

devname: ‘/dev/cdrom’

scsibus: -2 target: -2 lun: -2

Linux sg driver version: 3.5.27

Wodim version: 1.1.8

Driveropts: ‘burnfree’

SCSI buffer size: 64512

Device type : Removable CD-ROM

Version : 5

Response Format: 2

Capabilities :

Vendor_info : ‘HL-DT-ST’

Identification : 'DVDRAM GSA-T40L ’

Revision : ‘KC07’

Device seems to be: Generic mmc2 DVD-R/DVD-RW.

Current:
blah blah blah…
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 : 1053696 = 1029 KB

Beginning DMA speed test. Set CDR_NODMATEST environment variable if
device
communication breaks or freezes immediately after that.

Drive DMA Speed: 9229 kB/s 52x CD 6x DVD

FIFO size : 4194304 = 4096 KB

blah…
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 110112

Speed set to 1764 KB/s

Starting to write CD/DVD at speed 10.0 in real TAO mode for single
session.
Last chance to quit, starting real write in 0 seconds. Operation
starts.
Waiting for reader process to fill input buffer … input buffer ready.

Performing OPC…

Starting new track at sector: 0

Track 01: 268 of 268 MB written (fifo 100%) [buf 99%] 10.3x.

Track 01: Total bytes read/written: 281228640/281228640 (119570
sectors).
Errno: 5 (Input/output error), flush cache scsi sendcmd: no error

CDB: 35 00 00 00 00 00 00 00 00 00

status: 0x2 (CHECK CONDITION)

Sense Bytes: 70 00 03 00 00 00 00 0A 0C 00 BB 80 A0 80 00 00

Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0xA0 Qual 0x80 (vendor unique sense code 0xA0) [No matching
qualifier] Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 9.573s timeout 120s
Trouble flushing the cache
wodim: Cannot close track.
Writing time: 185.060s
Average write speed 18.0x.
Min drive buffer fill was 97%
Fixating…
Errno: 5 (Input/output error), close track/session scsi sendcmd: no
error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 80 0C 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 6.664s timeout 480s
cmd finished after 6.664s timeout 480s
wodim: Cannot fixate disk.
Fixating time: 6.671s
wodim: fifo had 4492 puts and 4429 gets.
wodim: fifo was 0 times empty and 4417 times full, min fill was 93%.

Similar result, sometimes it fails in track 2, sometimes it gets to the
end, but the CD won’t be readable in any player. I also tried different
.wav files with no success.

What’s going wrong?

Hope someone has some ideas.

Thanks in advance.


robert2600

robert2600’s Profile: http://forums.opensuse.org/member.php?userid=18603
View this thread: http://forums.opensuse.org/showthread.php?t=404297

Do these bugs seem relevant?

http://tinyurl.com/72esm7
http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/bab51a9188ddd8e0
(http://tinyurl.com/8btdtm)


robert2600

robert2600’s Profile: http://forums.opensuse.org/member.php?userid=18603
View this thread: http://forums.opensuse.org/showthread.php?t=404297