nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Cannot burn CD's succesfully. (http://www.nvnews.net/vbulletin/showthread.php?t=13616)

Tommi 06-19-03 04:27 AM

Cannot burn CD's succesfully.
 
Cannot burn CD's succesfully. ( post #1)

Yo!

Please help, I have fighting with this for long time. :-)

I would like to create such a cd which supports multisession, which probably means that I can continue the CD later until its filled and it must be closed.

But this seems totally impossible task for me. When I try to burn ISO file for my cd rom it can burn only one track. Right after that the cd seems to be totally closed no matter how much space is left on the CD-ROM. Very strange, but this surely is CODE 18, isnt'it?

So what is wrong with these flags which I use:

mkisofs -v -J -r -f -l -multi -iso-level 3 -hfs -hide-rr-moved -o varmuuskopio2.iso /home/tommi/isottelut

And it creates a cute ISO file which I can burn, good.


Then I use cdrecord:

cdrecord -v -multi -eject speed=6 dev=0,0,0 varmuuskopio2.iso

And it burn the file and everything is O.K. But when I try to continue the record, it says like this:

------------------------------------------------------------------------------------

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 3 = CD-ROM XA mode 2
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
bailing out..


------------------------------------------------------------------------------------

It looks like the CD-ROM is totally closed and its all but multisession. BTW...does iso support multisession? Which file I should use if that is the case...?

-Tommi

galaxor 06-19-03 01:37 PM

Hi Tommi,

it's a good idea to add a cd-burners group if you are planning to write cds with your normal user account.

try burning your CDs as root user or do a
chown root:root /usr/local/bin/cdrecord
chmod u+s /usr/local/bin/cdrecord
to run cdrecord in suid-root-mode.

if this doesn't help check how you created
the iso-images for the 2nd, ..., n-th session:
you have to use cdrecord's switch "-msinfo" to retrieve information about the sessions already on CD. See manpages on cdrecord and mkisofs an the cd-writing-howto.


All times are GMT -5. The time now is 07:38 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.