Using: cdrtools 2.01_alpha19,cdrdao 1.17-r2 When burning an Audio cd in DAO mode, via K3b, cdrecord hangs after the first track. The system makes the images ok, then starst to burn, but generally, either after or halfway through the first track, the track progress indicator leaps up to 100%. Then the program tries to start recording the second track, but hangs at that point, with no errors at all. The cd-rw then locks up completely, and only a full system restart will enable the cd to be retrieved from the machine. (This behaviour occurs even on a dummy write). cdrecord is unable to eject the device, which somehow thinks there is a long write in progress. This is not a hardware issue, as CDRDAO works fine for copying, and cdrecord works in TAO mode. System ----------------------- K3b Version: 0.10.2cvs KDE Version: 3.1.4 QT Version: 3.2.3 cdrecord ----------------------- scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.24 SCSI buffer size: 64512 Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J
Using: cdrtools 2.01_alpha19,cdrdao 1.17-r2 When burning an Audio cd in DAO mode, via K3b, cdrecord hangs after the first track. The system makes the images ok, then starst to burn, but generally, either after or halfway through the first track, the track progress indicator leaps up to 100%. Then the program tries to start recording the second track, but hangs at that point, with no errors at all. The cd-rw then locks up completely, and only a full system restart will enable the cd to be retrieved from the machine. (This behaviour occurs even on a dummy write). cdrecord is unable to eject the device, which somehow thinks there is a long write in progress. This is not a hardware issue, as CDRDAO works fine for copying, and cdrecord works in TAO mode. System ----------------------- K3b Version: 0.10.2cvs KDE Version: 3.1.4 QT Version: 3.2.3 cdrecord ----------------------- scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.24 SCSI buffer size: 64512 Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling TOC Type: 0 = CD-DA Using libscg version 'schily-0.7' Driveropts: 'burnfree' atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identifikation : 'CD-RW GCE-8240B ' Revision : '1.07' Device seems to be: Generic mmc CD-RW. Current: 0x0009 Profile: 0x000A Profile: 0x0009 (current) Profile: 0x0008 Profile: 0x0002 (current) 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 : 6037504 = 5896 KB FIFO size : 4194304 = 4096 KB /usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler /usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). /usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns. pregap1: -1 Track 01: audio 46 MB (04:34.32) no preemp copy Track 02: audio 47 MB (04:44.17) no preemp copy pregapsize: 0 Track 03: audio 32 MB (03:10.49) no preemp copy pregapsize: 0 Track 04: audio 56 MB (05:33.01) no preemp copy pregapsize: 0 Track 05: audio 96 MB (09:36.58) no preemp copy pregapsize: 0 Track 06: audio 40 MB (04:02.94) no preemp copy pregapsize: 0 Track 07: audio 88 MB (08:44.65) no preemp copy pregapsize: 0 Track 08: audio 45 MB (04:33.04) no preemp copy pregapsize: 0 Track 09: audio 57 MB (05:38.94) no preemp copy pregapsize: 0 Track 10: audio 57 MB (05:43.30) no preemp copy pregapsize: 0 Total size: 568 MB (56:21.48) = 253611 sectors Lout start: 569 MB (56:23/36) = 253611 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: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 3 Manufacturer: CMC Magnetics Corporation Blocks total: 359849 Blocks current: 359849 Blocks remaining: 106238 Starting to write CD/DVD at speed 24 in dummy SAO mode for single session. Last chance to quit, starting dummy write in 2 seconds. 1 seconds. 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is ON. Sending CUE sheet... SAO startsec: -11634 Writing lead-in... Lead-in write time: 11.515s Writing pregap for track 1 at -150 Starting new track at sector: 0 Track 01: 0 of 46 MB written. Track 01: 1 of 46 MB written (fifo 98%) [buf 93%] 13.3x. Track 01: 2 of 46 MB written (fifo 100%) [buf 90%] 13.7x. Track 01: 3 of 46 MB written (fifo 100%) [buf 87%] 14.1x. Track 01: 4 of 46 MB written (fifo 98%) [buf 84%] 13.7x. Track 01: 5 of 46 MB written (fifo 98%) [buf 81%] 14.0x. Track 01: 6 of 46 MB written (fifo 98%) [buf 77%] 13.6x. Track 01: 7 of 46 MB written (fifo 98%) [buf 74%] 14.1x. Track 01: 8 of 46 MB written (fifo 98%) [buf 71%] 13.6x. Track 01: 9 of 46 MB written (fifo 98%) [buf 68%] 14.0x. Track 01: 10 of 46 MB written (fifo 100%) [buf 65%] 13.6x. Track 01: 11 of 46 MB written (fifo 98%) [buf 62%] 14.0x. Track 01: 12 of 46 MB written (fifo 98%) [buf 59%] 13.6x. Track 01: 13 of 46 MB written (fifo 98%) [buf 56%] 14.0x. Track 01: 14 of 46 MB written (fifo 98%) [buf 53%] 13.6x. Track 01: 15 of 46 MB written (fifo 98%) [buf 50%] 14.0x. Track 01: 16 of 46 MB written (fifo 98%) [buf 47%] 13.6x. Track 01: 17 of 46 MB written (fifo 100%) [buf 44%] 13.9x. Track 01: 18 of 46 MB written (fifo 100%) [buf 41%] 13.6x. Track 01: 19 of 46 MB written (fifo 100%) [buf 38%] 13.9x. Track 01: 20 of 46 MB written (fifo 98%) [buf 35%] 13.6x. Track 01: 21 of 46 MB written (fifo 98%) [buf 32%] 13.9x. Track 01: 22 of 46 MB written (fifo 98%) [buf 28%] 13.5x. Track 01: 23 of 46 MB written (fifo 98%) [buf 25%] 13.8x. Track 01: 24 of 46 MB written (fifo 100%) [buf 22%] 13.5x. Track 01: 25 of 46 MB written (fifo 98%) [buf 19%] 13.9x. Track 01: 26 of 46 MB written (fifo 98%) [buf 16%] 13.5x. Track 01: 27 of 46 MB written (fifo 98%) [buf 13%] 13.8x. Track 01: 28 of 46 MB written (fifo 100%) [buf 10%] 13.4x. Track 01: 29 of 46 MB written (fifo 100%) [buf 7%] 13.8x. Track 01: 30 of 46 MB written (fifo 98%) [buf 4%] 13.4x. Track 01: 31 of 46 MB written (fifo 98%) [buf 1%] 13.8x. Track 01: 32 of 46 MB written (fifo 100%) [buf 0%] 13.4x. Track 01: 33 of 46 MB written (fifo 100%) [buf 9%] 13.6x. Track 01: 34 of 46 MB written (fifo 100%) [buf 25%] 13.3x. Track 01: 35 of 46 MB written (fifo 98%) [buf 39%] 13.9x. Track 01: 36 of 46 MB written (fifo 100%) [buf 51%] 13.2x. Track 01: 37 of 46 MB written (fifo 100%) [buf 48%] 13.8x. Track 01: 38 of 46 MB written (fifo 100%) [buf 45%] 13.3x. Track 01: 39 of 46 MB written (fifo 100%) [buf 42%] 13.7x. Track 01: 40 of 46 MB written (fifo 100%) [buf 38%] 13.3x. Track 01: 41 of 46 MB written (fifo 100%) [buf 35%] 13.8x. Track 01: 42 of 46 MB written (fifo 98%) [buf 32%] 13.3x. Track 01: 43 of 46 MB written (fifo 98%) [buf 29%] 13.7x. Track 01: 44 of 46 MB written (fifo 98%) [buf 26%] 14.1x. Track 01: 45 of 46 MB written (fifo 100%) [buf 23%] 13.7x. Track 01: 46 of 46 MB written (fifo 100%) [buf 20%] 14.1x. Track 01: Total bytes read/written: 48390048/48390048 (20574 sectors). Starting new track at sector: 20574 Track 02: 0 of 47 MB written. cdrecord comand: ----------------------- /usr/bin/cdrecord -v gracetime=2 dev=0,1,0 speed=24 -dao -dummy driveropts=burnfree -eject -useinfo -text -pad -audio /home/ashe/tmp/k3b_au Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.24 Using libscg version 'schily-0.7' Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identifikation : 'CD-RW GCE-8240B ' Revision : '1.07' Device seems to be: Generic mmc CD-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 cdrecord: Input/output error. start/stop unit: scsi sendcmd: no error CDB: 1B 00 00 00 02 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 08 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in progress) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.002s timeout 40s cdrecord: Cannot eject media. dio_1_01.wav /home/ashe/tmp/k3b_audio_1_02.wav /home/ashe/tmp/k3b_audio_1_03.wav /home/ashe/tmp/k3b_audio_1_04.wav /home/ashe/tmp/k3b_audio_1_05.wav /home/ashe/tmp/k3b_audio_1_06.wav /home/ashe/tmp/k3b_audio_1_07.wav /home/ashe/tmp/k3b_audio_1_08.wav /home/ashe/tmp/k3b_audio_1_09.wav /home/ashe/tmp/k3b_audio_1_10.wav
tested using commandline cdrecord only, same files, same command. seems to work fine, no hangups.
May want to try 0.10.3 and see if that fixes it.
using .10.3. Still same bug.
New data. Ran a test after reemerging cdrtools 2.01alpha19. Left it long enough and it actually errored out this time. System ----------------------- K3b Version: 0.10.3 KDE Version: 3.1.4 QT Version: 3.2.3 cdrecord ----------------------- scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.25 SCSI buffer size: 64512 Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J
New data. Ran a test after reemerging cdrtools 2.01alpha19. Left it long enough and it actually errored out this time. System ----------------------- K3b Version: 0.10.3 KDE Version: 3.1.4 QT Version: 3.2.3 cdrecord ----------------------- scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.25 SCSI buffer size: 64512 Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling TOC Type: 0 = CD-DA Using libscg version 'schily-0.7' Driveropts: 'burnfree' atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identifikation : 'CD-RW GCE-8240B ' Revision : '1.07' Device seems to be: Generic mmc CD-RW. Current: 0x0009 Profile: 0x000A Profile: 0x0009 (current) Profile: 0x0008 Profile: 0x0002 (current) 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 : 6037504 = 5896 KB FIFO size : 4194304 = 4096 KB /usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler /usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). /usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns. pregap1: -1 Track 01: audio 9 MB (00:54.92) no preemp copy Track 02: audio 44 MB (04:26.17) no preemp copy pregapsize: 0 Total size: 54 MB (05:21.09) = 24082 sectors Lout start: 54 MB (05:23/07) = 24082 sectors 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: 335767 Starting to write CD/DVD at speed 24 in dummy SAO mode for single session. Last chance to quit, starting dummy write in 2 seconds. 1 seconds. 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is ON. Sending CUE sheet... SAO startsec: -11607 Writing lead-in... Lead-in write time: 11.480s Writing pregap for track 1 at -150 Starting new track at sector: 0 Track 01: 0 of 9 MB written. Track 01: 1 of 9 MB written (fifo 100%) [buf 93%] 13.4x. Track 01: 2 of 9 MB written (fifo 100%) [buf 90%] 13.8x. Track 01: 3 of 9 MB written (fifo 100%) [buf 87%] 14.2x. Track 01: 4 of 9 MB written (fifo 100%) [buf 84%] 13.7x. Track 01: 5 of 9 MB written (fifo 100%) [buf 81%] 14.2x. Track 01: 6 of 9 MB written (fifo 100%) [buf 78%] 13.7x. Track 01: 7 of 9 MB written (fifo 100%) [buf 75%] 14.2x. Track 01: 8 of 9 MB written (fifo 100%) [buf 72%] 13.7x. Track 01: 9 of 9 MB written (fifo 100%) [buf 70%] 14.2x. Track 01: Total bytes read/written: 9687888/9687888 (4119 sectors). Starting new track at sector: 4119 Track 02: 0 of 44 MB written. /usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error CDB: 2A 00 00 00 10 17 00 00 1B 00 status: 0x0 (GOOD STATUS) cmd finished after 235.102s timeout 200s /usr/bin/cdrecord: A write error occured. /usr/bin/cdrecord: Please properly read the error message above. /usr/bin/cdrecord: faio_wait_on_buffer for writer timed out. /usr/bin/cdrecord: Input/output error. test unit ready: scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 08 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in progress) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 35.053s timeout 200s write track data: error after 0 bytes Writing time: 290.904s Average write speed 1.1x. Min drive buffer fill was 70% Fixating... pregap1: -1 Track 01: audio 9 MB (00:54.92) no preemp copy Track 02: audio 44 MB (04:26.17) no preemp copy pregapsize: 0 Total size: 54 MB (05:21.09) = 24082 sectors Lout start: 54 MB (05:23/07) = 24082 sectors 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: 335767 /usr/bin/cdrecord: Input/output error. start/stop unit: scsi sendcmd: no error CDB: 1B 00 00 00 02 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 08 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in progress) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.001s timeout 200s /usr/bin/cdrecord: Cannot eject media. WARNING: Some drives don't like fixation in dummy mode. Fixating time: 5.029s /usr/bin/cdrecord: fifo had 217 puts and 154 gets. /usr/bin/cdrecord: fifo was 0 times empty and 152 times full, min fill was 96%. cdrecord comand: ----------------------- /usr/bin/cdrecord -v gracetime=2 dev=0,1,0 speed=24 -dao -dummy driveropts=burnfree -eject -useinfo -text -pad -audio /home/ashe/tmp/k3b_audio_hmm0_01.wav /home/ashe/tmp/k3b_audio_hmm0_02.wav
Tested via xcdroast.... cdrecord seems to work perfectly well. This is starting to look suspiciously like a k3b issue.
Do you happen to use a 2.6 kernel? Are you using the ide-scsi module, or a scsi recorder?
2.4.22 kernel, ide-scsi in use. (occurred with 2.4.20 as well). Problem occurs, even after upgrading to cdrtools 2.01alpha20. If I thought i could get everything working, I'd be tempted to try ATAPI and kenel 2.6 to see what happens. Basically, TAO seems to work fine, its only DAO thats messed up, andthe important bit of the process seems to be.. Starting new track at sector: 4119 Track 02: 0 of 44 MB written. /usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error CDB: 2A 00 00 00 10 17 00 00 1B 00 status: 0x0 (GOOD STATUS) cmd finished after 235.102s timeout 200s /usr/bin/cdrecord: A write error occured. /usr/bin/cdrecord: Please properly read the error message above. /usr/bin/cdrecord: faio_wait_on_buffer for writer timed out. /usr/bin/cdrecord: Input/output error. test unit ready: scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 08 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in progress) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 35.053s timeout 200s write track data: error after 0 bytes Writing time: 290.904s Average write speed 1.1x. Min drive buffer fill was 70% SCSI error perhaps? XCDroast seems to have it fine (but then xcdroast detects teh drives twice, as ATAPI devices as well as scsi ones)
please tryout latest k3b, cdrtools and cdrdao
what's the status of this?
Current Status: Now running Kernel 2.6 Worked fine under ATAPI mode using auto (tao/dao) setting. Recompiled to latest cdrtools and k3b, and kernel 2.6.2 and same problem manifests. Will try and get error reports, etc.
seems to be a cdrtools / kernel bug than k3b
Close dead old bug originally resolved "needinfo".