Unable to burn CD-RW in K3b

Hi everyone,

I’m unable to burn CD-RW in K3b (error message “cdrecord has no permission to open the device”).

Apparently, this is a wide-spread problem and there are a lot of posts on the internet that deal with it, but none of the advice I’ve found has worked so far.

Any ideas?

I’ve tried the following:

(1) Updated K3b to the most recent version.

(2) Checked the device name of my CD burner (= sr0), and made sure I have access to it (sr0 is assigned to the group “drive”, and I’ve added myself to this group, and also to “cdrom”, just to be sure).

(3) Checked whether I have access to the applications /usr/bin/cdrecord, /usr/bin/wodim, and /usr/bin/cdrdao. Set the permissions to 775 (rwxrwxrx) and the ownership/group ownership to root/disk.

K3B error log:

System
-----------------------
K3b Version: 1.0.5

KDE Version: 3.5.10 "release 28.2" 
QT Version:  3.3.8b
Kernel:      2.6.25.18-0.2-pae
Devices
-----------------------
MAT****A DVD-RAM UJ-823S 1.00 (/dev/sr0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD+R, DVD+RW] [DVD-ROM, DVD-R Sequential, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, CD-ROM, CD-R, CD-RW] [SAO, TAO, Restricted Overwrite]

Used versions
-----------------------
cdrecord: 1.1.7.1

cdrecord
-----------------------
/usr/bin/X11/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.7.1
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 1 = CD-ROM
Driveropts: 'burnfree'
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'MAT****A'
Identification : 'DVD-RAM UJ-823S '
Revision       : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A (CD-RW)
Profile: 0x0012 (DVD-RAM) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) (current)
Profile: 0x0009 (CD-R) 
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
Drive buf size : 1310720 = 1280 KB
FIFO size      : 4194304 = 4096 KB
Speed set to 706 KB/s
Track 01: data   673 MB        
Total size:      772 MB (76:34.60) = 344595 sectors
Lout start:      773 MB (76:36/45) = 344595 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 6
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in:  -11078 (97:34/22)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  0 (reserved val  0) 1T speed high:  4
  2T speed low:  0 (reserved val  5) 2T speed high:  0 (reserved val 12)
  power mult factor: 3 5
  recommended erase/write power: 3
  A1 values: 02 3A B0
  A2 values: 5C C6 26
Disk type:    Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 15254
Starting to write CD/DVD at speed   4.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.
Performing OPC...
Sending CUE sheet...
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 FF FF FF C7 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F1 00 04 FF FF FD 50 0A 00 32 00 12 03 01 00 00
Sense Key: 0x4 Hardware Error, deferred error, Segment 0
Sense Code: 0x03 Qual 0x01 (no write current) Fru 0x0
Sense flags: Blk -688 (valid) 
cmd finished after 0.019s timeout 200s
Writing pregap for track 1 at -150
write track pad data: error after 190464 bytes
BFree: 1280 K BSize: 1280 K
Starting new track at sector: 0
Track 01:    0 of  673 MB written.
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 AA 00 00 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.004s timeout 200s
/usr/bin/X11/wodim: A write error occured.
/usr/bin/X11/wodim: Please properly read the error message above.
write track data: error after 0 bytes
Writing  time:   52.740s
Average write speed 114.6x.
Fixating...
Fixating time:    0.004s
BURN-Free was never needed.
/usr/bin/X11/wodim: fifo had 64 puts and 1 gets.
/usr/bin/X11/wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

cdrecord command:
-----------------------
/usr/bin/X11/wodim -v gracetime=2 dev=/dev/sr0 speed=4 -dao driveropts=burnfree -data -tsize=344595s - 


My work environment:
** HARDWARE **
Laptop: Panasonic Let’s Note CF-Y2

** SOFTWARE **
KDE: 3.5.9 “release 49.1”
OS: openSUSE 11.0 (i586)
Kernel: Linux 2.6.25.9-0.2-pae i686
K3b: 1.0.5-49.2-i.586

Hi
Try changing the the sticky bit;


sudo chmod 4755 /usr/bin/wodim

cdrecord is a softlink to wodim, also do the same for cdrdao


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 2 days 10:07, 1 user, load average: 0.05, 0.05, 0.10
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Thanks Malcom,
it works! :slight_smile:

I’m a newbie (still) here, and I don’t know how to do items (2) and (3) above. My ‘cdrecord -version’ is:


Cdrecord-yelling-line-to-tell-frontends-to-use-it-like-version 2.01.01a03-dvd
Wodim 1.1.8
Copyright (C) 2006 Cdrkit suite contributors
Based on works from Joerg Schilling, Copyright (C) 1995-2006, J. Schilling

Steph