[Bug 149076] Re: I can't write a cd

opc olaf_courtney at yahoo.com
Thu Jul 31 20:52:52 UTC 2008


Regarding K3B error: "Cdrecord has no permission to open the device."

Hello,

Perhaps my experience can provide some clues to the development team.
K3B was working beautifully until this week.  The difference between
this week and last week is that I installed a bunch of extra stuff to be
able to convert an AVI to an MP4 to load on a friend's Ipod.  I added
the Medibuntu repositories and installed GPAC, FFMPEG and reinstalled
some codecs (w32codecs or something like that).  I got errors identical
to those described in the posts above.  So, in my mind, there is a
direct correlation between the extra software I installed and this bug.

I tried a number of things that are within my scope of competency (which
is not very large, mind you).  I finally was able to successfully burn a
CD after purging and reinstalling K3b.  What is strange is the burning
process was able to get a bit closer to completion after every change.

Here are the details of the things I have tried.

1. Changed permissions for wodim

        sudo chmod 777 /usr/bin/wodim

RESULT: This did not improve the situation.  Error was produced after completing 78% of burn process.
(error log file 1)

2. Reinstalled the software

I reinstalled the medibuntu-keyring...
 	sudo apt-get update && sudo apt-get install medibuntu-keyring
...made sure everything was up-to-date...
	sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade
...and finally reinstalled cdrecord
	sudo apt-get install --reinstall cdrecord

Tried burning audio CD with DAO and 4x speed selected.

RESULT: The process got a bit further (81% complete) before getting the error.
(error log file 2)

3. Removed and reinstalled cdrecord without the medibuntu repository

        sudo apt-get remove cdrecord

Both k3b an wodim were removed.  Then edited sources.list...

        sudo vi /etc/apt/sources.list

...made the following changes:

	#deb http://packages.medibuntu.org/ hardy free non-free
	#deb-src http://packages.medibuntu.org/ hardy free non-free

...and reinstalled k3b and wodim

RESULT: Get same error as above, but now reached 87% before getting error.  Some improvement?
(error log 3)

4. Installed a few more packages

When reinstalling k3b and wodim, some packages were recommended, so I
installed some of these.  I installed k3b-i18n, libk3b2-extracodecs,
toolame.

I restarted KDE (ctrl-alt-backspace), tried again with TAO and 4x speed.
Took a long time performing the Optimum Power Calibration.  Error
message: "OPC failed. Probably the writer does not like the medium".
This is a new one.  Tried again, this time DAO.  Power calibration was
performed quickly.  What is SAO?

RESULT: Get same error as above, but this time reached 90% completion
before error.  There is definitely a trend!

5. Purged k3b
	sudo apt-get purge k3b
This removed k3b* and k3b-i18n*.  Then did a bit of house cleaning...
	sudo apt-get clean && sudo apt-get autoclean && sudo apt-get autoremove
...reinstalled k3b...
	sudo apt-get update && sudo apt-get install -y k3b
...and rebooted the machine for good measure.  Noticed that the K3b version and wodim features are unchanged.

Started buring process with DAO and 4x.

RESULT: It worked!

I typically burn 5 audio CDs every two weeks.  I recycle the same CD-
RWs.  As mentioned above, this was working fine until I added the crap
to be able to encode to MP4 with H.264 and AAC codecs.  I don't own an
IPod and I don't plan on generating anymore videos for IPod.  Everything
was working perfectly well without the need for the medibuntu
repositories, so I'm going to continue to operate without them.

I have some of the error logs saved and will post them if requested.  They all contain the line
	/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/scd0'

Below are details of my current configuration. Unfortunately, I do not
have the K3b information from last week.

Kubuntu 8.04.1, hardy, 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC
2008 i686 GNU/Linux

K3b 1.0.4 (Using KDE 3.5.9)
Under Settings -> Programs, cdrecord configured as follows:
	path=/usr/bin/wodim
	version=1.1.6
	Features=wodim,gracetime,overburn,cdtext,clone,tao,cuefile,xamix,plain-atapi,hacked-atapi,short-track-raw,audio-stdin,burnfree

wodim -scanbus reveals:
scsibus1:
        1,0,0   100) 'TSSTcorp' 'CDW/DVD TS-H492C' 'LX45' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

I hope this information may be useful for debugging.

Regards,
opc

-- 
I can't write a cd
https://bugs.launchpad.net/bugs/149076
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to k3b in ubuntu.




More information about the kubuntu-bugs mailing list