Bug 229199

Summary: K3b has problems deleting cd-rw
Product: [openSUSE] openSUSE 10.2 Reporter: Martin Schlander <martin.schlander>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: joerg.schilling
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Schlander 2006-12-16 11:50:08 UTC
I've been having problems deleting CD-RWs on 10.2 with both my 32bit laptop and 64bit workstation. Manually unmounting the media beforehand seems to solve/work around the issue - so I guess the problem is related to that.
Comment 1 Martin Schlander 2006-12-16 11:53:34 UTC
Got to thinking, maybe it would be helpful if I described the error...

It says (translated back from Danish) "Deleting Failed, do you wish to see output?"

This is the output:
System
-----------------------
K3b Version: 0.12.17

KDE Version: 3.5.5 "release 45" 
QT Version:  3.3.7
Kernel:      2.6.18.2-34-default
Devices
-----------------------
ASUS DRW-1608P 1.40 (/dev/hdc, ) at  [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 sekventiel; Dvd-r med to lag sekvensielt; Dvd-r med to lag og hop-mulighed; Dvd-rw begrænset overbrænding; Dvd-rw sekventiel; Dvd+rw; Dvd+r; Dvd+r dobbeltlag; CD-ROM; Cd-r; cd-rw] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R; Begrænset overbrænding]

Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdc speed=10 -tao driveropts=burnfree -eject blank=fast -force 

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
/usr/bin/cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits./usr/bin/cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... giving up.
TOC Type: 1 = CD-ROM
/usr/bin/cdrecord: Device or resource busy. Cannot open '/dev/hdc'. Cannot open SCSI driver.
/usr/bin/cdrecord: For possible targets try 'wodim -scanbus'. Make sure you are root.
/usr/bin/cdrecord: For possible transport specifiers try 'wodim dev=help'.
/usr/bin/cdrecord: 
/usr/bin/cdrecord: For more information, install the cdrkit-doc
/usr/bin/cdrecord: package and read /usr/share/doc/wodim/README.ATAPI
Comment 2 Will Stephenson 2007-01-09 13:07:02 UTC

*** This bug has been marked as a duplicate of bug 228712 ***
Comment 3 Jörg Schiling 2010-01-05 15:43:57 UTC
This is a well known wodim bug. Wodim does not properly deal
with hald. The problem does not exist with the original
software, so please upgrade to the original software:

ftp://ftp.berlios.de/pub/cdrecord/alpha/ 
 
http://cdrecord.berlios.de/ 

Suse offers binary packages for the origina software.