Bug 144032

Summary: DMA access to the NEC ND3540A burner with K3b 1.0
Product: [Applications] k3b Reporter: Antoon Tolboom <atolboo>
Component: generalAssignee: Sebastian Trueg <trueg>
Status: RESOLVED WORKSFORME    
Severity: normal CC: francois, vivymarcy
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Disabled error recovery selection
Simply wait one minute before ejecting or loading the tray.
Use the linux command CDROMTRAYCLOSE instead of CDROMEJECT for tray loading
Kompare output
Some thread magic to prevent double usage of some device
Some thread magic to prevent double usage of some device NEW
atolboo_20274.diff

Description Antoon Tolboom 2007-04-10 13:27:48 UTC
Version:           1.0 (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs

This is a problem in K3b 1.0

When I burn a CD-RW (10x) (with/without verification) DMA to the burner is disabled at the end of the burnsession.
A KDiff3 comparison after burning shows a error-free CD.
A new start of K3B shows a System Configuration Problems screen with "DMA disabled on device _NEC-DVD_RW ND-3540A".

When I burn a DVD+RW (4x) without verification DMA is not disabled.
A KDiff3 comparison after burning shows a error-free DVD.

When I burn a DVD+RW (4x) with verification DMA is diabled at the end of the burnsession.
The verificationsession is done wih DMA disabled and ends 9 out of 10 times with an ERROR.
When the verificationsession is succesful KDiff3 shows a DVD with ERRORS.

I have tested this in Suse 10.2 (with KDE 3.5.6 release 41.4) and with Pardus 2007.1
An upgrade of the firmware of the burner from 1.01 to 1.04 didn't solve the problem.
After degrading K3b from 1.0 to 0.12.17 in Suse, disabling DMA doesn't happen anymore and burning is always succesful.
Going back to K3b 1.0 and the problem is back again 
I have tested this with the same NEC ND-3540A burner in two PC's with the same result.
As testfiles I used openSUSE-10.2-GM-LiveDVD.iso for the DVD and gparted-livecd-0.3.1-1.iso for the CD.
Can you give me any sugestions how to solve this problem.
Comment 1 Sebastian Trueg 2007-04-11 17:47:55 UTC
*** Bug 143991 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Trueg 2007-04-11 17:55:11 UTC
Created attachment 20230 [details]
Disabled error recovery selection

Please try the attached patch for K3b 1.0. It disables the error recovery
setting for data track reading during verification. AFAICS this is the only
thing that really changed on a device-reading-level.
Comment 3 Antoon Tolboom 2007-04-12 16:32:36 UTC
Thanks for the quick response.
I have installed K3b 0.12.17.
After this I have downloaded k3b-1.0.tar.bz2 and then changed the file k3b-1.0/libk3b/jobs/k3bdatatrackreader.cpp until I got the same Kompare result as in attachment.cgi (id=20230).
Then I compiled K3b as mentioned in http://k3b.plainblack.com/installation.
In this way I can see that the new compiled K3b is started and not the old one.
A DVD+verification test and a KDiff3 test gives the same result as before.
This means that this patch doesn't solve this problem.
I am waiting for further instructions.
Comment 4 Sebastian Trueg 2007-04-12 16:50:52 UTC
So you added the
"return true"
line and then compiled and installed K3b 1.0?
Could you please provide the complete output of K3b on the console (just start k3b through a console or do
grep k3b ~/.xsession-error > /tmp/k3b.out
Comment 5 Antoon Tolboom 2007-04-12 17:10:37 UTC
I added "return true" and removed "...." 5 lines below the "return true" line
and then compiled and installed K3B.
I will give the complete output k3b later.
At this moment I am recompiling again.
Comment 6 Antoon Tolboom 2007-04-12 17:28:57 UTC
Here is the output after I start K3b in a console.

atolboo@535775E8:~> k3b
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
atolboo@535775E8:~> k3b: (K3bPluginManager) lib libk3bffmpegdecoder not found
k3b: (K3bPluginManager) lib libk3bmaddecoder not found
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/bin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/sbin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/sbin
k3b: (K3bExternalBinManager) Cdrecord 1.0pre1 features: wodim, gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi, short-track-raw, audio-stdin, burnfree
/dev/hdd resolved to /dev/hdd
/dev/hdd is block device (64)
/dev/hdd seems to be cdrom
(K3bDevice::Device) /dev/hdd: init()
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE with real length 65535 failed.
(K3bDevice::Device) /dev/hdd: modeSense 0x05 failed!
(K3bDevice::Device) /dev/hdd: Cannot check write modes.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE with real length 65535 failed.
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
/dev/hdc seems to be cdrom
(K3bDevice::Device) /dev/hdc: init()
(K3bDevice::Device) /dev/hdc feature: CD Mastering
(K3bDevice::Device) /dev/hdc feature: CD Track At Once
(K3bDevice::Device) /dev/hdc feature: CD-RW Media Write Support
(K3bDevice::Device) /dev/hdc feature: DVD Read (MMC5)
(K3bDevice::Device) /dev/hdc feature: DVD+R
(K3bDevice::Device) /dev/hdc feature: DVD+RW
(K3bDevice::Device) /dev/hdc feature: DVD+R Double Layer
(K3bDevice::Device) /dev/hdc feature: DVD-R/-RW Write
(K3bDevice::Device) /dev/hdc feature: Rigid Restricted Overwrite
(K3bDevice::Device) /dev/hdc: dataLen: 60
(K3bDevice::Device) /dev/hdc: checking for TAO
(K3bDevice::Device) /dev/hdc: checking for SAO
(K3bDevice::Device) /dev/hdc: checking for SAO_R96P
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SELECT (55)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        26
                           ascq:       0
(K3bDevice::Device) /dev/hdc: checking for SAO_R96R
(K3bDevice::Device) /dev/hdc: checking for RAW_R16
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SELECT (55)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        26
                           ascq:       0
(K3bDevice::Device) /dev/hdc: checking for RAW_R96P
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SELECT (55)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        26
                           ascq:       0
(K3bDevice::Device) /dev/hdc: checking for RAW_R96R
(K3bDevice::Device) /dev/hdc:  Number of supported write speeds via GET PERFORMANCE: 6
(K3bDevice::Device) /dev/hdc : 8467 KB/s
(K3bDevice::Device) /dev/hdc : 7056 KB/s
(K3bDevice::Device) /dev/hdc : 5645 KB/s
(K3bDevice::Device) /dev/hdc : 4234 KB/s
(K3bDevice::Device) /dev/hdc : 2822 KB/s
(K3bDevice::Device) /dev/hdc : 1411 KB/s
(K3bDevice::DeviceManager) setting current write speed of device /dev/hdc to 3324
(K3bDevice::DeviceManager) SCANNING FOR GENERIC DEVICES.
Could not resolve /dev/sg0
(K3bDevice::Device) could not open device /dev/sg0 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg1
(K3bDevice::Device) could not open device /dev/sg1 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg2
(K3bDevice::Device) could not open device /dev/sg2 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg3
(K3bDevice::Device) could not open device /dev/sg3 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg4
(K3bDevice::Device) could not open device /dev/sg4 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg5
(K3bDevice::Device) could not open device /dev/sg5 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg6
(K3bDevice::Device) could not open device /dev/sg6 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg7
(K3bDevice::Device) could not open device /dev/sg7 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg8
(K3bDevice::Device) could not open device /dev/sg8 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg9
(K3bDevice::Device) could not open device /dev/sg9 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg10
(K3bDevice::Device) could not open device /dev/sg10 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg11
(K3bDevice::Device) could not open device /dev/sg11 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg12
(K3bDevice::Device) could not open device /dev/sg12 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg13
(K3bDevice::Device) could not open device /dev/sg13 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg14
(K3bDevice::Device) could not open device /dev/sg14 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg15
(K3bDevice::Device) could not open device /dev/sg15 for reading
                    (Onbekend bestand of map)
k3b: [void K3bMediaCache::clearDeviceList()]
/dev/hdd resolved to /dev/hdd
(K3bDevice::DeviceManager) dev /dev/hdd already found
/dev/hdc resolved to /dev/hdc
(K3bDevice::DeviceManager) dev /dev/hdc already found
(K3bDevice::DeviceManager) found config entry for devicetype: COMPAQ CRD-8400B
(K3bDevice::DeviceManager) found config entry for devicetype: _NEC DVD_RW ND-3540A
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/bin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/sbin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/sbin
k3b: (K3bExternalBinManager) Cdrecord 1.0pre1 features: wodim, gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi, short-track-raw, audio-stdin, burnfree
Devices:
------------------------------
Blockdevice:    /dev/hdd
Generic device:
Vendor:         COMPAQ
Description:    CRD-8400B
Version:        1.02
Write speed:    0
Profiles:       Fout
Read Cap:       CD-ROM
Write Cap:      Fout
Writing modes:  Geen
Reader aliases: /dev/hdd
------------------------------
Blockdevice:    /dev/hdc
Generic device:
Vendor:         _NEC
Description:    DVD_RW ND-3540A
Version:        1.04
Write speed:    8050
Profiles:       DVD-ROM, DVD-R sequentieel, DVD-R Dual Layer sequentieel, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Read Cap:       DVD-ROM, DVD-R, DVD-R sequentieel, DVD-R Dual Layer, DVD-R Dual Layer sequentieel, DVD-RW, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Write Cap:      DVD-R, DVD-R sequentieel, DVD-R Dual Layer, DVD-R Dual Layer sequentieel, DVD-RW, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW
Writing modes:  SAO, TAO, RAW, SAO/R96R, RAW/R96R, Beperkt overschrijven
Reader aliases: /dev/hdc
------------------------------
kdecore (KAction): WARNING: KActionCollection::operator+=(): function is severely deprecated.
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: kernel version: 2.6.18.8-0.1-default
k3b: (K3bCore) System problems:
k3b:  WARNING
k3b:  PROBLEM:  Mp3 Audio Decoder plugin not found.
k3b:  DETAILS:  K3b could not load or find the Mp3 decoder plugin. This means that you will not be able to create Audio CDs from Mp3 files. Many Linux distributions do not include Mp3 support for legal reasons.
k3b:  SOLUTION: To enable Mp3 support, please install the MAD Mp3 decoding library as well as the K3b MAD Mp3 decoder plugin (the latter may already be installed but not functional due to the missing libmad). Some distributions allow installation of Mp3 support via an online update tool (i.e. SuSE's YOU).
k3b:
                                                                  
Comment 7 Sebastian Trueg 2007-04-12 17:44:24 UTC
I mean the output from a failed burn run.
Comment 8 Antoon Tolboom 2007-04-12 21:54:36 UTC
Here is the console output from a failed burn run with the patched K3b.

atolboo@535775E8:~> k3b
atolboo@535775E8:~> kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
k3b: (K3bPluginManager) lib libk3bffmpegdecoder not found
k3b: (K3bPluginManager) lib libk3bmaddecoder not found
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/bin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/sbin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/sbin
k3b: (K3bExternalBinManager) Cdrecord 1.0pre1 features: wodim, gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi, short-track-raw, audio-stdin, burnfree
/dev/hdd resolved to /dev/hdd
/dev/hdd is block device (64)
/dev/hdd seems to be cdrom
(K3bDevice::Device) /dev/hdd: init()
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE with real length 65535 failed.
(K3bDevice::Device) /dev/hdd: modeSense 0x05 failed!
(K3bDevice::Device) /dev/hdd: Cannot check write modes.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE with real length 65535 failed.
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
/dev/hdc seems to be cdrom
(K3bDevice::Device) /dev/hdc: init()
(K3bDevice::Device) /dev/hdc feature: CD Mastering
(K3bDevice::Device) /dev/hdc feature: CD Track At Once
(K3bDevice::Device) /dev/hdc feature: CD-RW Media Write Support
(K3bDevice::Device) /dev/hdc feature: DVD Read (MMC5)
(K3bDevice::Device) /dev/hdc feature: DVD+R
(K3bDevice::Device) /dev/hdc feature: DVD+RW
(K3bDevice::Device) /dev/hdc feature: DVD+R Double Layer
(K3bDevice::Device) /dev/hdc feature: DVD-R/-RW Write
(K3bDevice::Device) /dev/hdc feature: Rigid Restricted Overwrite
(K3bDevice::Device) /dev/hdc: dataLen: 60
(K3bDevice::Device) /dev/hdc: checking for TAO
(K3bDevice::Device) /dev/hdc: checking for SAO
(K3bDevice::Device) /dev/hdc: checking for SAO_R96P
(K3bDevice::Device) /dev/hdc: checking for SAO_R96R
(K3bDevice::Device) /dev/hdc: checking for RAW_R16
(K3bDevice::Device) /dev/hdc: checking for RAW_R96P
(K3bDevice::Device) /dev/hdc: checking for RAW_R96R
(K3bDevice::Device) /dev/hdc:  Number of supported write speeds via GET PERFORMANCE: 2
(K3bDevice::Device) /dev/hdc : 5540 KB/s
(K3bDevice::Device) /dev/hdc : 3324 KB/s
(K3bDevice::DeviceManager) setting current write speed of device /dev/hdc to 5540
(K3bDevice::DeviceManager) SCANNING FOR GENERIC DEVICES.
Could not resolve /dev/sg0
(K3bDevice::Device) could not open device /dev/sg0 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg1
(K3bDevice::Device) could not open device /dev/sg1 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg2
(K3bDevice::Device) could not open device /dev/sg2 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg3
(K3bDevice::Device) could not open device /dev/sg3 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg4
(K3bDevice::Device) could not open device /dev/sg4 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg5
(K3bDevice::Device) could not open device /dev/sg5 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg6
(K3bDevice::Device) could not open device /dev/sg6 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg7
(K3bDevice::Device) could not open device /dev/sg7 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg8
(K3bDevice::Device) could not open device /dev/sg8 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg9
(K3bDevice::Device) could not open device /dev/sg9 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg10
(K3bDevice::Device) could not open device /dev/sg10 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg11
(K3bDevice::Device) could not open device /dev/sg11 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg12
(K3bDevice::Device) could not open device /dev/sg12 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg13
(K3bDevice::Device) could not open device /dev/sg13 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg14
(K3bDevice::Device) could not open device /dev/sg14 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg15
(K3bDevice::Device) could not open device /dev/sg15 for reading
                    (Onbekend bestand of map)
k3b: [void K3bMediaCache::clearDeviceList()]
/dev/hdd resolved to /dev/hdd
(K3bDevice::DeviceManager) dev /dev/hdd already found
/dev/hdc resolved to /dev/hdc
(K3bDevice::DeviceManager) dev /dev/hdc already found
(K3bDevice::DeviceManager) found config entry for devicetype: COMPAQ CRD-8400B
(K3bDevice::DeviceManager) found config entry for devicetype: _NEC DVD_RW ND-3540A
First sec data area: 43:41:33 (LBA 196608) (402653184
Last sec data area: 512:53:72 (LBA 2308047) (4726880256 Bytes)
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)
Layer 2 length: 512:53:72 (LBA 2308047) (4726880256 Bytes)
(K3bDevice::Device) /dev/hdc READ FORMAT CAPACITY: Current/Max 2 2111440
(K3bDevice::Device) /dev/hdc READ FORMAT CAPACITY: 38 2295104 0
k3b: (K3bMedium) found medium:
k3b: =====================================================
DiskInfo:
Mediatype:       DVD+RW
Current Profile: DVD+RW
Disk state:      complete
Empty:           0
Rewritable:      1
Appendable:      0
Sessions:        0
Tracks:          1
Layers:          1
Capacity:        510:01:29 (LBA 2295104) (4700372992 Bytes)
Remaining size:  510:01:29 (LBA 2295104) (4700372992 Bytes)
Used Size:       00:00:00 (LBA 0) (0 Bytes)
Bg Format:       none
k3b: =====================================================
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/bin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/sbin
(K3bDevice::Device) /dev/hdc:  Number of supported write speeds via GET PERFORMANCE: 2
(K3bDevice::Device) /dev/hdc : 5540 KB/s
(K3bDevice::Device) /dev/hdc : 3324 KB/s
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/sbin
k3b: (K3bExternalBinManager) Cdrecord 1.0pre1 features: wodim, gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi, short-track-raw, audio-stdin, burnfree
Devices:
------------------------------
Blockdevice:    /dev/hdd
Generic device:
Vendor:         COMPAQ
Description:    CRD-8400B
Version:        1.02
Write speed:    0
Profiles:       Fout
Read Cap:       CD-ROM
Write Cap:      Fout
Writing modes:  Geen
Reader aliases: /dev/hdd
------------------------------
Blockdevice:    /dev/hdc
Generic device:
Vendor:         _NEC
Description:    DVD_RW ND-3540A
Version:        1.04
Write speed:    8050
Profiles:       DVD-ROM, DVD-R sequentieel, DVD-R Dual Layer sequentieel, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Read Cap:       DVD-ROM, DVD-R, DVD-R sequentieel, DVD-R Dual Layer, DVD-R Dual Layer sequentieel, DVD-RW, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Write Cap:      DVD-R, DVD-R sequentieel, DVD-R Dual Layer, DVD-R Dual Layer sequentieel, DVD-RW, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW
Writing modes:  SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Beperkt overschrijven
Reader aliases: /dev/hdc
------------------------------
kdecore (KAction): WARNING: KActionCollection::operator+=(): function is severely deprecated.
k3b: (K3bMedium) found volume id from start sector 0: 'openSUSE 10.2 Live DVD'
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: kernel version: 2.6.18.8-0.1-default
k3b: (K3bCore) System problems:
k3b:  WARNING
k3b:  PROBLEM:  Mp3 Audio Decoder plugin not found.
k3b:  DETAILS:  K3b could not load or find the Mp3 decoder plugin. This means that you will not be able to create Audio CDs from Mp3 files. Many Linux distributions do not include Mp3 support for legal reasons.
k3b:  SOLUTION: To enable Mp3 support, please install the MAD Mp3 decoding library as well as the K3b MAD Mp3 decoder plugin (the latter may already be installed but not functional due to the missing libmad). Some distributions allow installation of Mp3 support via an online update tool (i.e. SuSE's YOU).
k3b:
k3b: (K3bOggVorbisDecoder) not an Ogg-Vorbis file: /mnt/hda3/K3b_test/dvd/openSUSE-10.2-GM-LiveDVD.iso
k3b: (K3bWaveDecoder) /mnt/hda3/K3b_test/dvd/openSUSE-10.2-GM-LiveDVD.iso: not a RIFF file.
k3b: (K3bCueFileParser) successfully parsed cue file.
k3b: ------------------------------------------------
k3b: ------------------------------------------------
QGDict::hashKeyString: Invalid null key
QGDict::hashKeyString: Invalid null key
k3b: ERROR: : couldn't create slave : Niet in staat io-slave aan te maken.
KLauncher antwoordde: Onbekend protocol: ''.
k3b:
k3b: kernel version: 2.6.18.8-0.1-default
k3b: (K3bEmptyDiscWaiter) slotMediumChanged()
k3b: (K3bEmptyDiscWaiter) ------ found DVD+RW as wanted.
k3b: (K3bEmptyDiscWaiter) finishWaiting()
(K3bDevice::Device) /dev/hdc:  Number of supported write speeds via GET PERFORMANCE: 2
(K3bDevice::Device) /dev/hdc : 5540 KB/s
(K3bDevice::Device) /dev/hdc : 3324 KB/s
k3b: ***** growisofs parameters:
k3b: /usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:890689 -speed=4 -overburn -use-the-force-luke=bufsize:32m k3b:
k3b: (K3bActivePipe) successfully opened pipe.
k3b: (K3bActivePipe) started thread.
k3b: (growisofs) WARNING: /dev/hdc already carries isofs!
k3b: (growisofs) About to execute 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
k3b: (growisofs) /dev/hdc: stopping de-icing
First sec data area: 43:41:33 (LBA 196608) (402653184
Last sec data area: 512:53:72 (LBA 2308047) (4726880256 Bytes)
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)
Layer 2 length: 512:53:72 (LBA 2308047) (4726880256 Bytes)
(K3bDevice::Device) /dev/hdc READ FORMAT CAPACITY: Current/Max 2 2111440
(K3bDevice::Device) /dev/hdc READ FORMAT CAPACITY: 38 2295104 0
k3b: (K3bMedium) found medium:
k3b: =====================================================
DiskInfo:
Mediatype:       DVD+RW
Current Profile: DVD+RW
Disk state:      complete
Empty:           0
Rewritable:      1
Appendable:      0
Sessions:        0
Tracks:          1
Layers:          1
Capacity:        510:01:29 (LBA 2295104) (4700372992 Bytes)
Remaining size:  510:01:29 (LBA 2295104) (4700372992 Bytes)
Used Size:       00:00:00 (LBA 0) (0 Bytes)
Bg Format:       none
k3b: =====================================================
k3b: (K3bDevice::DeviceHandler) starting command: 1024
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bThreadJob) thread finished.
k3b: (K3bDevice::DeviceHandler) starting command: 3072
k3b: (K3bDevice::DeviceHandler) thread emitted finished. Waiting for thread actually finishing
k3b: (K3bDevice::DeviceHandler) success: true
k3b: (K3bDevice::DeviceHandler) deleting thread.
(K3bDevice::ScsiCommand) failed:
                           command:    READ DISC INFORMATION (51)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ DISC INFORMATION with real length 42 failed.
(K3bDevice::ScsiCommand) failed:
                           command:    START STOP UNIT (1b)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    READ CAPACITY (25)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::Device) /dev/hdcREAD CAPACITY for toc failed.
(K3bDevice::ScsiCommand) failed:
                           command:    START STOP UNIT (1b)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bThreadJob) thread finished.
k3b: (K3bEmptyDiscWaiter) slotMediumChanged()
k3b: (K3bEmptyDiscWaiter) ------ nothing useful found.
(K3bDevice::Device) /dev/hdc:  Number of supported write speeds via GET PERFORMANCE: 2
(K3bDevice::Device) /dev/hdc : 5540 KB/s
(K3bDevice::Device) /dev/hdc : 3324 KB/s
k3b: (K3bEmptyDiscWaiter) slotMediumChanged()
k3b: (K3bEmptyDiscWaiter) ------ found DVD+RW as wanted.
k3b: (K3bEmptyDiscWaiter) finishWaiting()
k3b: (K3bEmptyDiscWaiter) exitLoop
k3b: (K3bDevice::DeviceHandler) starting command: 4096
k3b: (K3bDevice::DeviceHandler) thread emitted finished. Waiting for thread actually finishing
k3b: (K3bDevice::DeviceHandler) success: false
k3b: (K3bDevice::DeviceHandler) deleting thread.
First sec data area: 43:41:33 (LBA 196608) (402653184
Last sec data area: 512:53:72 (LBA 2308047) (4726880256 Bytes)
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)
Layer 2 length: 512:53:72 (LBA 2308047) (4726880256 Bytes)
(K3bDevice::Device) /dev/hdc READ FORMAT CAPACITY: Current/Max 2 2111440
(K3bDevice::Device) /dev/hdc READ FORMAT CAPACITY: 38 2295104 0
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bThreadJob) thread finished.
k3b: (K3bDevice::DeviceHandler) thread emitted finished. Waiting for thread actually finishing
k3b: (K3bDevice::DeviceHandler) success: true
k3b: (K3bDevice::DeviceHandler) deleting thread.
k3b: (K3bLsofWrapper) matched: app: k3b pid: 14963
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 128 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 127 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 126 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 125 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 124 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 123 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 122 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 121 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 120 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 119 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 118 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 117 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 116 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 115 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 114 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 113 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 112 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 111 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 110 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 109 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 108 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 107 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 106 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 105 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 104 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 103 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 102 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 101 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 100 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 99 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 98 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 97 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 96 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 95 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 94 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 93 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 92 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 91 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 90 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 89 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 88 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 87 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 86 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 85 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 84 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 83 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 82 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 81 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 80 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 79 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 78 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 77 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 76 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 75 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 74 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 73 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 72 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 71 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 70 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 69 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 68 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 67 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 66 too high.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  0
                           sense key:  NO SENSE (2)
                           asc:        0
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bDataTrackReader) determine max read sectors: 65 too high.
k3b: (K3bDataTrackReader) determine max read sectors: 64 is max.
k3b: (K3bDataTrackReader) using buffer size of 64 blocks.
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  MEDIUM ERROR (3)
                           asc:        2
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bThreadJob) thread finished.
k3b: (K3bDevice::DeviceHandler) starting command: 1024
k3b: (K3bJobProgressDialog) received finished signal!
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bThreadJob) thread finished.
k3b: (K3bDevice::DeviceHandler) thread emitted finished. Waiting for thread actually finishing
k3b: (K3bDevice::DeviceHandler) success: true
k3b: (K3bDevice::DeviceHandler) deleting thread.
k3b: [void K3bMediaCache::clearDeviceList()]
k3b: [void K3bMediaCache::clearDeviceList()]  waiting for info thread /dev/hdd to finish
k3b: [void K3bMediaCache::clearDeviceList()]  waiting for info thread /dev/hdc to finish
k3b: Waiting for thread 0x8293ae0
k3b: Waiting for thread 0x84df540
k3b: Thread waiting done.
k3b: [void K3bMediaCache::clearDeviceList()]

atolboo@535775E8:~>
Comment 9 Sebastian Trueg 2007-04-13 07:54:52 UTC
Could you please also provide the debugging output from this run (if you did not do anything else with k3b in the meantime this can be found in ~/.kde/share/apps/k3b/lastlog.log).
Also does it also happen with CD-RW if you disable verification and disk ejecting (in the general advanced k3b settings)?
Comment 10 Antoon Tolboom 2007-04-13 08:09:36 UTC
I will do the CD-RW test in about 4 hours and post the results.
Here is the ~/.kde/share/apps/k3b/lastlog.log output.

[System] K3b Version: 1.0
[System] KDE Version: 3.5.6 "release 64.1" 
[System] QT Version:  3.3.8
[System] Kernel:      2.6.18.8-0.1-default
[Devices] COMPAQ CRD-8400B 1.02 (/dev/hdd, ) [CD-ROM] [Fout] [Geen ]
[Devices] _NEC DVD_RW ND-3540A 1.04 (/dev/hdc, ) [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 sequentieel, DVD-R Dual Layer sequentieel, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, 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, Beperkt overschrijven]
[Used versions] growisofs: 7.0
[Burned media] DVD+RW
[growisofs command:] /usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:890689 -speed=4 -overburn -use-the-force-luke=bufsize:32m 
[growisofs] WARNING: /dev/hdc already carries isofs!
[growisofs] About to execute 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
[growisofs] /dev/hdc: "Current Write Speed" is 4.1x1352KBps.
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]           0/1824131072 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
[growisofs]     1671168/1824131072 ( 0.1%) @0.4x, remaining 781:32 RBU 100.0% UBU   1.9%
[growisofs]    19234816/1824131072 ( 1.1%) @3.8x, remaining 73:30 RBU 100.0% UBU  94.4%
[growisofs]    38305792/1824131072 ( 2.1%) @4.1x, remaining 38:51 RBU 100.0% UBU  94.4%
[growisofs]    57409536/1824131072 ( 3.1%) @4.1x, remaining 27:11 RBU 100.0% UBU  94.4%
[growisofs]    76546048/1824131072 ( 4.2%) @4.1x, remaining 21:41 RBU 100.0% UBU  94.4%
[growisofs]    95617024/1824131072 ( 5.2%) @4.1x, remaining 18:04 RBU 100.0% UBU  94.4%
[growisofs]   114720768/1824131072 ( 6.3%) @4.1x, remaining 15:38 RBU 100.0% UBU  94.4%
[growisofs]   133824512/1824131072 ( 7.3%) @4.1x, remaining 14:06 RBU 100.0% UBU  94.4%
[growisofs]   152928256/1824131072 ( 8.4%) @4.1x, remaining 12:44 RBU 100.0% UBU  94.4%
[growisofs]   172032000/1824131072 ( 9.4%) @4.1x, remaining 11:41 RBU 100.0% UBU  94.4%
[growisofs]   191102976/1824131072 (10.5%) @4.1x, remaining 10:57 RBU 100.0% UBU  94.4%
[growisofs]   210206720/1824131072 (11.5%) @4.1x, remaining 10:14 RBU 100.0% UBU  94.4%
[growisofs]   229310464/1824131072 (12.6%) @4.1x, remaining 9:37 RBU 100.0% UBU  94.4%
[growisofs]   248414208/1824131072 (13.6%) @4.1x, remaining 9:11 RBU 100.0% UBU  94.4%
[growisofs]   267517952/1824131072 (14.7%) @4.1x, remaining 8:43 RBU 100.0% UBU  94.4%
[growisofs]   286588928/1824131072 (15.7%) @4.1x, remaining 8:18 RBU 100.0% UBU  94.4%
[growisofs]   305692672/1824131072 (16.8%) @4.1x, remaining 8:01 RBU 100.0% UBU  94.4%
[growisofs]   324796416/1824131072 (17.8%) @4.1x, remaining 7:41 RBU 100.0% UBU  94.4%
[growisofs]   343900160/1824131072 (18.9%) @4.1x, remaining 7:23 RBU 100.0% UBU  94.4%
[growisofs]   363003904/1824131072 (19.9%) @4.1x, remaining 7:10 RBU 100.0% UBU  94.4%
[growisofs]   382074880/1824131072 (20.9%) @4.1x, remaining 6:55 RBU 100.0% UBU  94.4%
[growisofs]   401178624/1824131072 (22.0%) @4.1x, remaining 6:40 RBU 100.0% UBU  94.4%
[growisofs]   420282368/1824131072 (23.0%) @4.1x, remaining 6:30 RBU 100.0% UBU  94.4%
[growisofs]   439386112/1824131072 (24.1%) @4.1x, remaining 6:18 RBU 100.0% UBU  94.4%
[growisofs]   458489856/1824131072 (25.1%) @4.1x, remaining 6:06 RBU 100.0% UBU  94.4%
[growisofs]   477560832/1824131072 (26.2%) @4.1x, remaining 5:58 RBU 100.0% UBU  94.4%
[growisofs]   496664576/1824131072 (27.2%) @4.1x, remaining 5:47 RBU 100.0% UBU  94.4%
[growisofs]   515768320/1824131072 (28.3%) @4.1x, remaining 5:37 RBU 100.0% UBU  94.4%
[growisofs]   534872064/1824131072 (29.3%) @4.1x, remaining 5:30 RBU 100.0% UBU  94.4%
[growisofs]   553975808/1824131072 (30.4%) @4.1x, remaining 5:20 RBU 100.0% UBU  94.4%
[growisofs]   573079552/1824131072 (31.4%) @4.1x, remaining 5:12 RBU 100.0% UBU  94.4%
[growisofs]   592183296/1824131072 (32.5%) @4.1x, remaining 5:05 RBU  90.6% UBU  94.4%
[growisofs]   611287040/1824131072 (33.5%) @4.1x, remaining 4:57 RBU 100.0% UBU  94.4%
[growisofs]   630423552/1824131072 (34.6%) @4.1x, remaining 4:51 RBU  87.5% UBU  94.4%
[growisofs]   649560064/1824131072 (35.6%) @4.1x, remaining 4:43 RBU  98.4% UBU  94.4%
[growisofs]   668663808/1824131072 (36.7%) @4.1x, remaining 4:36 RBU 100.0% UBU  94.4%
[growisofs]   687767552/1824131072 (37.7%) @4.1x, remaining 4:30 RBU 100.0% UBU  94.4%
[growisofs]   706871296/1824131072 (38.8%) @4.1x, remaining 4:23 RBU 100.0% UBU  94.4%
[growisofs]   725942272/1824131072 (39.8%) @4.1x, remaining 4:17 RBU 100.0% UBU  94.4%
[growisofs]   745046016/1824131072 (40.8%) @4.1x, remaining 4:12 RBU 100.0% UBU  94.4%
[growisofs]   764149760/1824131072 (41.9%) @4.1x, remaining 4:05 RBU 100.0% UBU  94.4%
[growisofs]   783253504/1824131072 (42.9%) @4.1x, remaining 3:59 RBU 100.0% UBU  94.4%
[growisofs]   802357248/1824131072 (44.0%) @4.1x, remaining 3:54 RBU 100.0% UBU  94.4%
[growisofs]   821428224/1824131072 (45.0%) @4.1x, remaining 3:48 RBU 100.0% UBU  94.4%
[growisofs]   840531968/1824131072 (46.1%) @4.1x, remaining 3:42 RBU 100.0% UBU  94.4%
[growisofs]   859635712/1824131072 (47.1%) @4.1x, remaining 3:37 RBU 100.0% UBU  94.4%
[growisofs]   878739456/1824131072 (48.2%) @4.1x, remaining 3:31 RBU 100.0% UBU  94.4%
[growisofs]   897843200/1824131072 (49.2%) @4.1x, remaining 3:26 RBU  85.9% UBU  94.4%
[growisofs]   916914176/1824131072 (50.3%) @4.1x, remaining 3:21 RBU 100.0% UBU  94.4%
[growisofs]   936017920/1824131072 (51.3%) @4.1x, remaining 3:16 RBU 100.0% UBU  94.4%
[growisofs]   955121664/1824131072 (52.4%) @4.1x, remaining 3:11 RBU 100.0% UBU  94.4%
[growisofs]   974225408/1824131072 (53.4%) @4.1x, remaining 3:06 RBU 100.0% UBU  94.4%
[growisofs]   993329152/1824131072 (54.5%) @4.1x, remaining 3:01 RBU 100.0% UBU  94.4%
[growisofs]  1012432896/1824131072 (55.5%) @4.1x, remaining 2:56 RBU 100.0% UBU  94.4%
[growisofs]  1031503872/1824131072 (56.5%) @4.1x, remaining 2:52 RBU 100.0% UBU  94.4%
[growisofs]  1050607616/1824131072 (57.6%) @4.1x, remaining 2:47 RBU 100.0% UBU  94.4%
[growisofs]  1069711360/1824131072 (58.6%) @4.1x, remaining 2:42 RBU 100.0% UBU  94.4%
[growisofs]  1088815104/1824131072 (59.7%) @4.1x, remaining 2:38 RBU 100.0% UBU  79.6%
[growisofs]  1107918848/1824131072 (60.7%) @4.1x, remaining 2:33 RBU 100.0% UBU  94.4%
[growisofs]  1126989824/1824131072 (61.8%) @4.1x, remaining 2:28 RBU 100.0% UBU  94.4%
[growisofs]  1146093568/1824131072 (62.8%) @4.1x, remaining 2:24 RBU 100.0% UBU  94.4%
[growisofs]  1165197312/1824131072 (63.9%) @4.1x, remaining 2:19 RBU 100.0% UBU  94.4%
[growisofs]  1184301056/1824131072 (64.9%) @4.1x, remaining 2:15 RBU 100.0% UBU  94.4%
[growisofs]  1203404800/1824131072 (66.0%) @4.1x, remaining 2:11 RBU 100.0% UBU  94.4%
[growisofs]  1222508544/1824131072 (67.0%) @4.1x, remaining 2:06 RBU 100.0% UBU  94.4%
[growisofs]  1241612288/1824131072 (68.1%) @4.1x, remaining 2:01 RBU 100.0% UBU  94.4%
[growisofs]  1260716032/1824131072 (69.1%) @4.1x, remaining 1:57 RBU 100.0% UBU  94.4%
[growisofs]  1279819776/1824131072 (70.2%) @4.1x, remaining 1:53 RBU 100.0% UBU  94.4%
[growisofs]  1298890752/1824131072 (71.2%) @4.1x, remaining 1:49 RBU 100.0% UBU  94.4%
[growisofs]  1317994496/1824131072 (72.3%) @4.1x, remaining 1:45 RBU 100.0% UBU  94.4%
[growisofs]  1337098240/1824131072 (73.3%) @4.1x, remaining 1:40 RBU 100.0% UBU  94.4%
[growisofs]  1356201984/1824131072 (74.3%) @4.1x, remaining 1:36 RBU 100.0% UBU  94.4%
[growisofs]  1375305728/1824131072 (75.4%) @4.1x, remaining 1:32 RBU 100.0% UBU  94.4%
[growisofs]  1394409472/1824131072 (76.4%) @4.1x, remaining 1:28 RBU 100.0% UBU  94.4%
[growisofs]  1413513216/1824131072 (77.5%) @4.1x, remaining 1:24 RBU 100.0% UBU  94.4%
[growisofs]  1432616960/1824131072 (78.5%) @4.1x, remaining 1:20 RBU 100.0% UBU  94.4%
[growisofs]  1451720704/1824131072 (79.6%) @4.1x, remaining 1:16 RBU 100.0% UBU  94.4%
[growisofs]  1470791680/1824131072 (80.6%) @4.1x, remaining 1:12 RBU 100.0% UBU  94.4%
[growisofs]  1489895424/1824131072 (81.7%) @4.1x, remaining 1:08 RBU 100.0% UBU  94.4%
[growisofs]  1508999168/1824131072 (82.7%) @4.1x, remaining 1:04 RBU 100.0% UBU  94.4%
[growisofs]  1528102912/1824131072 (83.8%) @4.1x, remaining 1:00 RBU 100.0% UBU  94.4%
[growisofs]  1547206656/1824131072 (84.8%) @4.1x, remaining 0:56 RBU 100.0% UBU  94.4%
[growisofs]  1566310400/1824131072 (85.9%) @4.1x, remaining 0:52 RBU 100.0% UBU  94.4%
[growisofs]  1585381376/1824131072 (86.9%) @4.1x, remaining 0:48 RBU 100.0% UBU  94.4%
[growisofs]  1604485120/1824131072 (88.0%) @4.1x, remaining 0:44 RBU 100.0% UBU  94.4%
[growisofs]  1623588864/1824131072 (89.0%) @4.1x, remaining 0:40 RBU 100.0% UBU  94.4%
[growisofs]  1642692608/1824131072 (90.1%) @4.1x, remaining 0:36 RBU 100.0% UBU  94.4%
[growisofs]  1661796352/1824131072 (91.1%) @4.1x, remaining 0:32 RBU 100.0% UBU  94.4%
[growisofs]  1680867328/1824131072 (92.1%) @4.1x, remaining 0:28 RBU 100.0% UBU  94.4%
[growisofs]  1699971072/1824131072 (93.2%) @4.1x, remaining 0:24 RBU 100.0% UBU  94.4%
[growisofs]  1719074816/1824131072 (94.2%) @4.1x, remaining 0:21 RBU 100.0% UBU  94.4%
[growisofs]  1738178560/1824131072 (95.3%) @4.1x, remaining 0:17 RBU 100.0% UBU  94.4%
[growisofs]  1757282304/1824131072 (96.3%) @4.1x, remaining 0:13 RBU 100.0% UBU  94.4%
[growisofs]  1776353280/1824131072 (97.4%) @4.1x, remaining 0:09 RBU 100.0% UBU  94.4%
[growisofs]  1795457024/1824131072 (98.4%) @4.1x, remaining 0:05 RBU 100.0% UBU  94.4%
[growisofs]  1814560768/1824131072 (99.5%) @4.1x, remaining 0:01 RBU 100.0% UBU  94.4%
[growisofs] /dev/hdc: flushing cache
[growisofs] /dev/hdc: stopping de-icing
[growisofs] /dev/hdc: writing lead-out
[K3bDataTrackReader] reading sectors 0 to 890688 with sector size 2048. Length: 890689 sectors, 1824131072 bytes.
[K3bDataTrackReader] using buffer size of 64 blocks.
[K3bDataTrackReader] Problem while reading. Retrying from sector 54144.
[K3bDataTrackReader] Read error in sector 54144.
[K3bDataTrackReader] Read a total of 54144 sectors (110886912 bytes)
Comment 11 Antoon Tolboom 2007-04-13 13:11:51 UTC
A CDRW test (without verification) and (ejection of medium after write process is disabled) with the patched K3b showed a different behaviour.
At the end of the burnsession DMA is NOT disabled.

Here is the debug and console output.
Debug output:****************************************************************

System
-----------------------
K3b Version: 1.0

KDE Version: 3.5.6 "release 64.1" 
QT Version:  3.3.8
Kernel:      2.6.18.8-0.1-default
Devices
-----------------------
COMPAQ CRD-8400B 1.02 (/dev/hdd, ) [CD-ROM] [Error] [None]

_NEC DVD_RW ND-3540A 1.04 (/dev/hdc, ) [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-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96R, RAW/R96R, Restricted Overwrite]
Used versions
-----------------------
cdrecord: 1.0pre1

cdrecord
-----------------------
This is wodim, not cdrecord. Don't expect it to behave like cdrecord in any
way, don't refer to it as "cdrecord". Send problem reports to
debburn-devel@lists.alioth.debian.org, don't bother Joerg Schilling with any
problems caused by this application.
Copyright (C) 2006 cdrkit maintainers, (C) 1994-2006 Joerg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
/usr/bin/wodim: Warning: using inofficial version of libscg (debburn project-0.8ubuntu1+debburn1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
/usr/bin/wodim: Warning: using inofficial libscg transport code version (cdrkit-team-scsi-linux-sg.c-1.86 '@(#)scsi-linux-sg.c 1.86 05/11/22 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
TOC Type: 1 = CD-ROM
Using libscg version 'debburn project-0.8ubuntu1+debburn1'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : '_NEC    '
Identifikation : 'DVD_RW ND-3540A '
Revision       : '1.04'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x002B 
Profile: 0x001B 
Profile: 0x001A 
Profile: 0x0015 
Profile: 0x0014 
Profile: 0x0013 
Profile: 0x0011 
Profile: 0x0010 
Profile: 0x000A (current)
Profile: 0x0009 
Profile: 0x0008 (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/R96R RAW/R96R
Drive buf size : 1343488 = 1312 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data    28 MB        
Total size:       32 MB (03:14.74) = 14606 sectors
Lout start:       33 MB (03:16/56) = 14606 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 2
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -12900 (97:10/00)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 48
Disk type:    unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Manufacturer is unknown because of the orange forum embargo.
As the orange forum likes to get money for recent information,
it may be that this media does not use illegal manufacturer coding.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 345243
Speed set to 1764 KB/s
Starting to write CD/DVD at speed  10.0 in real SAO mode for single session.
Last chance to quit, starting real write in 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...
/usr/bin/wodim: WARNING: Drive returns wrong startsec (0) using -150
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:    0 of   28 MB written.
Track 01:    1 of   28 MB written (fifo  87%) [buf 100%] 159.5x.
Track 01:    2 of   28 MB written (fifo 100%) [buf 100%]   0.4x.
Track 01:    3 of   28 MB written (fifo 100%) [buf 100%]  10.6x.
Track 01:    4 of   28 MB written (fifo 100%) [buf 100%]  10.3x.
Track 01:    5 of   28 MB written (fifo 100%) [buf 100%]  10.6x.
Track 01:    6 of   28 MB written (fifo 100%) [buf 100%]  10.3x.
Track 01:    7 of   28 MB written (fifo 100%) [buf 100%]  10.6x.
Track 01:    8 of   28 MB written (fifo 100%) [buf 100%]  10.3x.
Track 01:    9 of   28 MB written (fifo 100%) [buf 100%]  10.6x.
Track 01:   10 of   28 MB written (fifo 100%) [buf 100%]  10.2x.
Track 01:   11 of   28 MB written (fifo 100%) [buf 100%]  10.5x.
Track 01:   12 of   28 MB written (fifo 100%) [buf 100%]  10.2x.
Track 01:   13 of   28 MB written (fifo 100%) [buf 100%]  10.5x.
Track 01:   14 of   28 MB written (fifo 100%) [buf 100%]  10.2x.
Track 01:   15 of   28 MB written (fifo 100%) [buf 100%]  10.5x.
Track 01:   16 of   28 MB written (fifo 100%) [buf 100%]  10.2x.
Track 01:   17 of   28 MB written (fifo 100%) [buf 100%]  10.5x.
Track 01:   18 of   28 MB written (fifo 100%) [buf 100%]  10.2x.
Track 01:   19 of   28 MB written (fifo 100%) [buf 100%]  10.5x.
Track 01:   20 of   28 MB written (fifo 100%) [buf 100%]  10.2x.
Track 01:   21 of   28 MB written (fifo 100%) [buf 100%]  10.4x.
Track 01:   22 of   28 MB written (fifo 100%) [buf 100%]  10.2x.
Track 01:   23 of   28 MB written (fifo 100%) [buf 100%]  10.4x.
Track 01:   24 of   28 MB written (fifo 100%) [buf 100%]  10.1x.
Track 01:   25 of   28 MB written (fifo 100%) [buf 100%]  10.4x.
Track 01:   26 of   28 MB written (fifo 100%) [buf 100%]  10.1x.
Track 01:   27 of   28 MB written (fifo 100%) [buf 100%]  10.4x.
Track 01:   28 of   28 MB written (fifo 100%) [buf 100%]  10.1x.
Track 01: Total bytes read/written: 29913088/29913088 (14606 sectors).
Writing  time:   47.952s
Average write speed   5.3x.
Min drive buffer fill was 100%
Fixating...
Fixating time:   18.516s
BURN-Free was never needed.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/hdc speed=10 -dao driveropts=burnfree -data -tsize=14606s - 

Console output:****************************************************************

engels@535775E8:~> k3b
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
engels@535775E8:~> k3b: (K3bPluginManager) lib libk3bffmpegdecoder not found
k3b: (K3bPluginManager) lib libk3bmaddecoder not found
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/bin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/sbin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/sbin
k3b: (K3bExternalBinManager) Cdrecord 1.0pre1 features: wodim, gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi, short-track-raw, audio-stdin, burnfree
/dev/hdd resolved to /dev/hdd
/dev/hdd is block device (64)
/dev/hdd seems to be cdrom
(K3bDevice::Device) /dev/hdd: init()
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    GET CONFIGURATION (46)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE with real length 65535 failed.
(K3bDevice::Device) /dev/hdd: modeSense 0x05 failed!
(K3bDevice::Device) /dev/hdd: Cannot check write modes.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SENSE (5a)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        24
                           ascq:       0
(K3bDevice::Device) /dev/hdd: MODE SENSE with real length 65535 failed.
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
/dev/hdc seems to be cdrom
(K3bDevice::Device) /dev/hdc: init()
(K3bDevice::Device) /dev/hdc feature: CD Mastering
(K3bDevice::Device) /dev/hdc feature: CD Track At Once
(K3bDevice::Device) /dev/hdc feature: CD-RW Media Write Support
(K3bDevice::Device) /dev/hdc feature: DVD Read (MMC5)
(K3bDevice::Device) /dev/hdc feature: DVD+R
(K3bDevice::Device) /dev/hdc feature: DVD+RW
(K3bDevice::Device) /dev/hdc feature: DVD+R Double Layer
(K3bDevice::Device) /dev/hdc feature: DVD-R/-RW Write
(K3bDevice::Device) /dev/hdc feature: Rigid Restricted Overwrite
(K3bDevice::Device) /dev/hdc: dataLen: 60
(K3bDevice::Device) /dev/hdc: checking for TAO
(K3bDevice::Device) /dev/hdc: checking for SAO
(K3bDevice::Device) /dev/hdc: checking for SAO_R96P
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SELECT (55)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        26
                           ascq:       0
(K3bDevice::Device) /dev/hdc: checking for SAO_R96R
(K3bDevice::Device) /dev/hdc: checking for RAW_R16
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SELECT (55)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        26
                           ascq:       0
(K3bDevice::Device) /dev/hdc: checking for RAW_R96P
(K3bDevice::ScsiCommand) failed:
                           command:    MODE SELECT (55)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        26
                           ascq:       0
(K3bDevice::Device) /dev/hdc: checking for RAW_R96R
(K3bDevice::DeviceManager) setting current write speed of device /dev/hdc to 1764
(K3bDevice::DeviceManager) SCANNING FOR GENERIC DEVICES.
Could not resolve /dev/sg0
(K3bDevice::Device) could not open device /dev/sg0 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg1
(K3bDevice::Device) could not open device /dev/sg1 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg2
(K3bDevice::Device) could not open device /dev/sg2 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg3
(K3bDevice::Device) could not open device /dev/sg3 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg4
(K3bDevice::Device) could not open device /dev/sg4 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg5
(K3bDevice::Device) could not open device /dev/sg5 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg6
(K3bDevice::Device) could not open device /dev/sg6 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg7
(K3bDevice::Device) could not open device /dev/sg7 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg8
(K3bDevice::Device) could not open device /dev/sg8 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg9
(K3bDevice::Device) could not open device /dev/sg9 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg10
(K3bDevice::Device) could not open device /dev/sg10 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg11
(K3bDevice::Device) could not open device /dev/sg11 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg12
(K3bDevice::Device) could not open device /dev/sg12 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg13
(K3bDevice::Device) could not open device /dev/sg13 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg14
(K3bDevice::Device) could not open device /dev/sg14 for reading
                    (Onbekend bestand of map)
Could not resolve /dev/sg15
(K3bDevice::Device) could not open device /dev/sg15 for reading
                    (Onbekend bestand of map)
k3b: [void K3bMediaCache::clearDeviceList()]
/dev/hdc resolved to /dev/hdc
(K3bDevice::DeviceManager) dev /dev/hdc already found
/dev/hdd resolved to /dev/hdd
(K3bDevice::DeviceManager) dev /dev/hdd already found
(K3bDevice::DeviceManager) found config entry for devicetype: COMPAQ CRD-8400B
(K3bDevice::DeviceManager) found config entry for devicetype: _NEC DVD_RW ND-3540A
k3b: (K3bMedium) found medium:
k3b: =====================================================
DiskInfo:
Mediatype:       CD-RW
Current Profile: CD-RW
Disk state:      empty
Empty:           1
Rewritable:      1
Appendable:      0
Sessions:        0
Tracks:          0
Layers:          1
Capacity:        79:57:74 (LBA 359849) (736970752 Bytes)
Remaining size:  79:57:74 (LBA 359849) (736970752 Bytes)
Used Size:       00:00:00 (LBA 0) (0 Bytes)
k3b: =====================================================
(K3bDevice::Device) /dev/hdc:  Number of supported write speeds via 2A: 1
(K3bDevice::Device) /dev/hdc : 1764 KB/s
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/bin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/bin
k3b: (K3bCdrecordProgram) could not start /usr/lib/mit/sbin
k3b: (K3bMkisofsProgram) could not start /usr/lib/mit/sbin
k3b: (K3bExternalBinManager) Cdrecord 1.0pre1 features: wodim, gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi, short-track-raw, audio-stdin, burnfree
Devices:
------------------------------
Blockdevice:    /dev/hdd
Generic device:
Vendor:         COMPAQ
Description:    CRD-8400B
Version:        1.02
Write speed:    0
Profiles:       Error
Read Cap:       CD-ROM
Write Cap:      Error
Writing modes:  None
Reader aliases: /dev/hdd
------------------------------
Blockdevice:    /dev/hdc
Generic device:
Vendor:         _NEC
Description:    DVD_RW ND-3540A
Version:        1.04
Write speed:    3324
Profiles:       DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Read Cap:       DVD-ROM, DVD-R, DVD-R Sequential, DVD-R Dual Layer, DVD-R Dual Layer Sequential, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Write Cap:      DVD-R, DVD-R Sequential, DVD-R Dual Layer, DVD-R Dual Layer Sequential, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW
Writing modes:  SAO, TAO, RAW, SAO/R96R, RAW/R96R, Restricted Overwrite
Reader aliases: /dev/hdc
------------------------------
kdecore (KAction): WARNING: KActionCollection::operator+=(): function is severely deprecated.
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: kernel version: 2.6.18.8-0.1-default
k3b: (K3bCore) System problems:
k3b:  WARNING
k3b:  PROBLEM:  Mp3 Audio Decoder plugin not found.
k3b:  DETAILS:  K3b could not load or find the Mp3 decoder plugin. This means that you will not be able to create Audio CDs from Mp3 files. Many Linux distributions do not include Mp3 support for legal reasons.
k3b:  SOLUTION: To enable Mp3 support, please install the MAD Mp3 decoding library as well as the K3b MAD Mp3 decoder plugin (the latter may already be installed but not functional due to the missing libmad). Some distributions allow installation of Mp3 support via an online update tool (i.e. SuSE's YOU).
k3b:
k3b: (K3bOggVorbisDecoder) not an Ogg-Vorbis file: /mnt/hda3/K3b_test/cd/gparted-livecd-0.3.1-1.iso
k3b: (K3bWaveDecoder) /mnt/hda3/K3b_test/cd/gparted-livecd-0.3.1-1.iso: not a RIFF file.
k3b: (K3bCueFileParser) successfully parsed cue file.
k3b: ------------------------------------------------
k3b: ------------------------------------------------
k3b: kernel version: 2.6.18.8-0.1-default
k3b: (K3bEmptyDiscWaiter) slotMediumChanged()
k3b: (K3bEmptyDiscWaiter) finishWaiting()
k3b: kernel version: 2.6.18.8-0.1-default
k3b: ***** cdrecord parameters:
k3b: /usr/bin/wodim -v gracetime=2 dev=/dev/hdc speed=10 -dao driveropts=burnfree -data -tsize=14606s - k3b:
k3b: (K3bActivePipe) successfully opened pipe.
k3b: (K3bActivePipe) started thread.
k3b: (K3bProcess) found unfinished line: 'Starting to write CD/DVD at speed  10.0'
k3b: (K3bProcess)             last char: '0'
k3b: (K3bProcess)           joined line: 'Starting to write CD/DVD at speed  10.0 in real SAO mode for single session.'
k3b: (K3bProcess) found unfinished line: 'Waiting for reader process to fill input buffer ... '
k3b: (K3bProcess)             last char: ' '
k3b: (K3bProcess)           joined line: 'Waiting for reader process to fill input buffer ... input buffer ready.'
k3b: (K3bCdrecordWriter) writing track 1 of 1 tracks.
k3b: (K3bJobProgressDialog) received finished signal!
(K3bDevice::Device) READ CAPACITY: 03:14:55 other capacity: 00:00:00
(K3bDevice::Device) READ CAPACITY: 03:14:55 other capacity: 00:00:00
k3b: (K3bMedium) found medium:
k3b: =====================================================
DiskInfo:
Mediatype:       CD-RW
Current Profile: CD-RW
Disk state:      complete
Empty:           0
Rewritable:      1
Appendable:      0
Sessions:        1
Tracks:          1
Layers:          1
Capacity:        03:14:56 (LBA 14606) (29913088 Bytes)
Remaining size:  00:00:00 (LBA 0) (0 Bytes)
Used Size:       03:14:56 (LBA 14606) (29913088 Bytes)
k3b: =====================================================
Session |  ADR   | CONTROL|  TNO   | POINT  |  Min   |  Sec   | Frame  |  Zero  |  PMIN  |  PSEC  | PFRAME |
      1 |      1 |      4 |      0 |     a0 |      0 |      0 |      0 |      0 |      1 |      0 |      0 |
      1 |      1 |      4 |      0 |     a1 |      0 |      0 |      0 |      0 |      1 |      0 |      0 |
      1 |      1 |      4 |      0 |     a2 |      0 |      0 |      0 |      0 |      3 |     16 |     56 |
      1 |      1 |      4 |      0 |      1 |      0 |      0 |      0 |      0 |      0 |      2 |      0 |
      1 |      5 |      4 |      0 |     b0 |    255 |    255 |    255 |      3 |     79 |     59 |     74 |
      1 |      5 |      4 |      0 |     c0 |     70 |      0 |    156 |      0 |     97 |     10 |      0 |
      1 |      5 |      4 |      0 |     c1 |     72 |     52 |    176 |      0 |      0 |      0 |      0 |
(K3bDevice::Device) need to compare raw toc to formatted toc. :(
(K3bDevice::Device) unable to determine if hex (0) or bcd (0).
Assuming hex encoding in favor of newer drives and the more reliable raw toc.
/dev/hdc: setting last sector of last track to 14605
(K3bDevice::Device) /dev/hdc:  Number of supported write speeds via 2A: 1
(K3bDevice::Device) /dev/hdc : 1764 KB/s
k3b: (K3bMedium) found volume id from start sector 0: 'livecd'
k3b: (K3bMedium) checking for VCD.
k3b: kernel version: 2.6.18.8-0.1-default
k3b: [void K3bMediaCache::clearDeviceList()]
k3b: [void K3bMediaCache::clearDeviceList()]  waiting for info thread /dev/hdd to finish
k3b: [void K3bMediaCache::clearDeviceList()]  waiting for info thread /dev/hdc to finish
k3b: Waiting for thread 0x8293ec0
k3b: Thread waiting done.
k3b: [void K3bMediaCache::clearDeviceList()]

engels@535775E8:~>
Comment 12 Antoon Tolboom 2007-04-13 14:43:18 UTC
In my previous post I wrote "At the end of the burnsession DMA is NOT disabled".
This is only true when I start with a erased CDRW.
When I do this test with a CDRW which has to be erased before starting the burnsession DMA is disabled.
Comment 13 Sebastian Trueg 2007-04-13 17:23:06 UTC
> NOT disabled". This is only true when I start with a erased CDRW.
> When I do this test with a CDRW which has to be erased before starting the
> burnsession DMA is disabled.


this is very interesting since the erasing again includes a reload of the 
medium. Thus, it seems the reloading somehow causes the problem. The question 
is: why? And how do we prevent it?
I will write a little test patch.
Comment 14 Sebastian Trueg 2007-04-13 17:26:26 UTC
Created attachment 20262 [details]
Simply wait one minute before ejecting or loading the tray.

Please apply this patch in the k3b source folder:

patch -p0 < 1.diff
Comment 15 Sebastian Trueg 2007-04-13 17:28:46 UTC
Please don't be alarmed if K3b hangs for 2 minutes. That is intended by the patch to track down the problem
Comment 16 Antoon Tolboom 2007-04-13 17:33:45 UTC
Should I also apply the id-20230 path together with this patch?
Comment 17 Sebastian Trueg 2007-04-13 17:44:50 UTC
> ------- Should I also apply the id-20230 path together with this patch?


no, the first one did not solve anything, so we can forget it (which is a good 
thing actually :)
Comment 18 Antoon Tolboom 2007-04-13 23:32:25 UTC
After applying patch 20230 I didn't notice any delay and DMA behaviour.
After increasing the sleeptime from 1 to 60 the following happened.
DMA behaviour didn't change.(is still disabled)
A CD-RW (not erased) with verification burnsession takes place as follows:

Start K3b.
Start erasing CD-RW
Ejection of the disk
Waiting for 60 seconds.
Pull-in of the disk.
Pop-up screen with "No medium found"
Pop-up screen disappears after ~20 seconds.
Start of writing.
Closing session
Reloading the medium appears.
Waiting for 60 seconds.
Ejection of the disk.
Waiting for 60 seconds.
Pull-in of the disk.
Pop-up screen with "No medium found"
Pop-up screen disappears after ~20 seconds.
Verify track1.

So I think that the sleep( 60 ) should be in another position of the file to avoid the "No medium found" message.
By the way I have disabled all automatic mounting of CD/DVD in Suse.
 
Comment 19 Sebastian Trueg 2007-04-14 09:29:16 UTC
> behaviour. After increasing the sleeptime from 1 to 60 the following
> happened. DMA behaviour didn't change.(is still disabled)
> A CD-RW (not erased) with verification burnsession takes place as follows:
>
> Start K3b.
> Start erasing CD-RW
> Ejection of the disk
> Waiting for 60 seconds.
> Pull-in of the disk.
> Pop-up screen with "No medium found"
> Pop-up screen disappears after ~20 seconds.
> Start of writing.
> Closing session
> Reloading the medium appears.
> Waiting for 60 seconds.
> Ejection of the disk.
> Waiting for 60 seconds.
> Pull-in of the disk.
> Pop-up screen with "No medium found"
> Pop-up screen disappears after ~20 seconds.
> Verify track1.
>
> So I think that the sleep( 60 ) should be in another position of the file
> to avoid the "No medium found" message. By the way I have disabled all
> automatic mounting of CD/DVD in Suse.


can you determine where exactly DMA is turned off. For starters it should be 
enough to check dma during all the 60 secs pauses via hdparm.
Comment 20 Antoon Tolboom 2007-04-14 10:27:40 UTC
Here it is:

Start K3b.
Start erasing CD-RW
Ejection of the disk
Waiting for 60 seconds. using_dma = 1 (on)
Pull-in of the disk.
Pop-up screen with "No medium found"
Pop-up screen disappears after ~20 seconds.
using_dma = 0 (off)
Start of writing.
Closing session
Reloading the medium appears.
Waiting for 60 seconds. using_dma = 0 (off)
Ejection of the disk.
Waiting for 60 seconds. using_dma = 0 (off)
Pull-in of the disk.
Pop-up screen with "No medium found"
Pop-up screen disappears after ~20 seconds.
using_dma = 0 (off)
Verify track1.
Comment 21 Sebastian Trueg 2007-04-14 11:56:32 UTC
Created attachment 20268 [details]
Use the linux command CDROMTRAYCLOSE instead of CDROMEJECT for tray loading

please apply this patch. no need for the sleep calls here.
Comment 22 Sebastian Trueg 2007-04-14 11:56:32 UTC
> Start K3b.
> Start erasing CD-RW
> Ejection of the disk
> Waiting for 60 seconds. using_dma = 1 (on)
> Pull-in of the disk.
> Pop-up screen with "No medium found"
> Pop-up screen disappears after ~20 seconds.
> using_dma = 0 (off)
> Start of writing.
> Closing session
> Reloading the medium appears.
> Waiting for 60 seconds. using_dma = 0 (off)
> Ejection of the disk.
> Waiting for 60 seconds. using_dma = 0 (off)
> Pull-in of the disk.
> Pop-up screen with "No medium found"
> Pop-up screen disappears after ~20 seconds.
> using_dma = 0 (off)
> Verify track1.



seems as if the problem is caused by the tray loading command. I created a 
little patch that uses a slightly different command. Maybe that already was 
the problem.
Comment 23 Antoon Tolboom 2007-04-14 15:28:26 UTC
Created attachment 20269 [details]
Kompare output
Comment 24 Antoon Tolboom 2007-04-14 15:40:31 UTC
I have made the 20268 patch.
But I think we are not using the same source.
In 20268 attachment I see: 1563#endif
In my k3bdevice.cpp file at 1563 there is:cmd[5] = 0; // Necessary to set the proper command length
At 1560 there is:#else.
I have downloaded my source from:http://sourceforge.net/project/downloading.php?groupname=k3b&filename=k3b-1.0.tar.bz2&use_mirror=switch
In attachment 20269 [details] you can the output of my Kompare.
Testing my compilation showed NO difference with my last test.
That means the disk is still ejected and DMA is still disabled. 
Comment 25 Sebastian Trueg 2007-04-15 10:18:40 UTC
Created attachment 20273 [details]
Some thread magic to prevent double usage of some device

First of all: thanks a lot for your cooperation and your patience.

Now this patch ensures that a device is not used twice at the same time. Maybe
this is the problem since we have only one file desc. So please apply (I tested
it against K3b 1.0 so it should work for you):

patch -p0 < 1.diff
Comment 26 Sebastian Trueg 2007-04-15 10:23:08 UTC
Created attachment 20274 [details]
Some thread magic to prevent double usage of some device NEW

Ups, wrong file.
Comment 27 Antoon Tolboom 2007-04-15 17:36:20 UTC
Created attachment 20276 [details]
atolboo_20274.diff
Comment 28 Antoon Tolboom 2007-04-15 17:49:12 UTC
I have compiled and tested your 20274 patch with the following results.
The behaviour is the same as with my last test with the following exception.
At the end of the erase session I do not get the pop-up screen with "No medium found" but at that moment DMA is disabled.
I still get that pop-up screen at the beginning of the verify session.  
I have also added attachment 20276 [details] (atolboo_20274.diff) to show you my changes to the original k3b 1.0 source files.
Comment 29 Sebastian Trueg 2007-04-16 12:01:55 UTC
> ------- I have compiled and tested your 20274 patch with the following
> results. The behaviour is the same as with my last test with the following
> exception. At the end of the erase session I do not get the pop-up screen
> with "No medium found" but at that moment DMA is disabled. I still get that
> pop-up screen at the beginning of the verify session. I have also added
> attachment 20276 [details] (atolboo_20274.diff) to show you my changes to the
> original k3b 1.0 source files.


that is too bad. I had hoped to have found the problem. :(

I just commited a much better fix to the svn trunk. Would you be willing to 
try compiling the svn trunk?

(BTW: I have the exact same drive here, the NEC, only in an external version)
Comment 30 Antoon Tolboom 2007-04-16 14:32:52 UTC
THIS SVN VERSION DOES SOLVE ALL PROBLEMS!!!!!!!!!!!!!!!!!!

I am using Suse 10.2 with Smart to install software.
I have installed Subversion 1.40-29@i586.
I followed the instructions from http://k3b.plainblack.com/cvs
I miss there the instruction [su -c "make install"] to install the software package.
Anyway compiling and installation went without any problems.
K3b shows at the right-hand bottom K2b 1.1svn.
I did a CD-RW (not erased) test with verification and a DVD+RW test with verification.
During these tests I monitored DMA with [hdparm /dev/hdc] in a Root-console.
After these tests I did a KDiff3 test on the contents of the disks.
All these tests passed with good results and DMA was never disabled.
I will now continue with the following tests.
1. CD-RW (already erased) without verification + KDiff3 test.
2. CD-RW (already erased) with verification + KDiff3 test.
3. CD-RW (not erased) without verification + KDiff3 test.
4. CD-RW (not erased) with verification + KDiff3 test.
5. DVD+RW without verification + KDiff3 test.
6. DVD+RW with verification + KDiff3 test.
I will post the results here as soon as I am finished with them and mark the bug as resolved.
I don't expect any problems with these tests.

I would like to thank you very much for your very good and pleasant cooperation. 

Comment 31 Antoon Tolboom 2007-04-16 16:39:09 UTC
First a correction.
I my last post I stated: K3b shows at the right-hand bottom K2b 1.1svn.
This must be K3b 1.1svn.

K3b 1.1svn passed all the above mentioned tests with a GOOD result.
Comment 32 Sebastian Trueg 2007-04-16 17:38:25 UTC
YES!
Thanks again for your patience. You helped finding a thread-related serious 
bug.  Without your input I would never have found this one.
And again it shows that thread-development is not as easy as it seems. :)
Comment 33 Sebastian Trueg 2007-04-19 08:48:23 UTC
*** Bug 144404 has been marked as a duplicate of this bug. ***