Bug 297746

Summary: copy media fails when reading CD saying that device is taken. then it fails to burn CD
Product: [Applications] k3b Reporter: James <soundsofjazz>
Component: Burning/HardwareAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: major CC: perpsectiveoffice, trueg
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James 2012-04-08 23:01:28 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19
Build Identifier: 

Devices
-----------------------
HL-DT-ST DVD-RAM GH22LP21 1.00 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7]

System
-----------------------
K3b Version: 2.0.2
KDE Version: 4.7.4 (4.7.4)
QT Version:  4.7.4
Kernel:      3.0.0-17-generic

Used versions
-----------------------
cdrecord: 1.1.11

cdrecord
-----------------------
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 0 = CD-DA
Driveropts: 'burnfree'
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identification : 'DVD-RAM GH22LP21'
Revision       : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0012 (DVD-RAM) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1114112 = 1088 KB
FIFO size      : 12582912 = 12288 KB
Encoding speed : 964x (72289 sectors/s) for libedc from Heiko Ei�feldt
Speed set to 8468 KB/s
pregap1: -1
Track 01: audio   33 MB (03:17.09) no preemp     
Track 02: audio   40 MB (03:59.41) no preemp      pregapsize:   0
Track 03: audio   34 MB (03:23.14) no preemp      pregapsize:   0
Track 04: audio   35 MB (03:30.14) no preemp      pregapsize:   0
Track 05: audio   34 MB (03:24.74) no preemp      pregapsize:   0
Track 06: audio   42 MB (04:15.52) no preemp      pregapsize:   0
Track 07: audio   38 MB (03:48.24) no preemp      pregapsize:   0
Track 08: audio   41 MB (04:09.24) no preemp      pregapsize:   0
Track 09: audio   44 MB (04:23.40) no preemp      pregapsize:   0
Track 10: audio   25 MB (02:33.66) no preemp      pregapsize:   0
Total size:      370 MB (36:44.61) = 165346 sectors
Lout start:      371 MB (36:46/46) = 165346 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11634 (97:26/66)
  ATIP start of lead out: 359846 (79:59/71)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 194500
Starting to write CD/DVD at speed  48.0 in real RAW/RAW96R 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.
Performing OPC...
/usr/bin/wodim: WARNING: Drive returns wrong startsec (0) using -11634 from ATIP
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 FF FF D2 8E 00 00 1A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 09 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x09 Qual 0x00 (track following error) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 13.933s timeout 40s
/usr/bin/wodim: Could not write Lead-in.
Writing lead-in at sector -11634
write leadin data: error after 0 bytes
Writing  time:   13.956s
/usr/bin/wodim: fifo had 192 puts and 0 gets.
/usr/bin/wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=48 -raw96r driveropts=burnfree -useinfo -audio -shorttrack /tmp/kde-jlstapleton/k3bCdCopy0/Track01.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track02.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track03.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track04.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track05.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track06.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track07.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track08.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track09.wav /tmp/kde-jlstapleton/k3bCdCopy0/Track10.wav

Reproducible: Always

Steps to Reproduce:
1. click on copy media and put original CD in
2. When it gives the message that device is taken by another process, click stop process and continue
3. After reading the CD, put the blank CD in and it will fail when trying to write.
Actual Results:  
Shows error messages and option to file bug report

Expected Results:  
To successfully burn the CD copy

I´m able to copy DVDs without a problem
Comment 1 Paul Perspectoff 2012-06-12 22:35:41 UTC
This occurs for me whenever I have Dolphin open at the same time.
It is as if there were not a proper lock or lock-check for either Dolphin or k3b so that it seems they are both trying (unsuccessfully) to access the CD/DVD at the same time...
Comment 2 Andrew Crouthamel 2018-11-12 02:57:53 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-21 04:45:54 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Justin Zobel 2023-01-13 01:36:29 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2023-01-28 05:08:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-02-12 03:50:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!