LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2003, 05:08 AM   #1
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
Cannot burn CD's succesfully.


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 burns 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

Last edited by Tommi; 06-19-2003 at 06:28 AM.
 
Old 06-19-2003, 08:18 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
i don't know how to deal with XA mode 2 disks in
linux, but i think you did the multisession right.
you're just having trouble with the type of session you
are trying to add.

i make multisession data cd's all the time.

mkisofs -L -l -J -R -A Disc-ID -P Publisher-ID -p Preparer-ID -V Volume-ID /lets.wav.mp3 | cdrecord -v -pad -data -multi fs=8m speed=32 dev=0,0,0 driveropts=burnproof -

this would be for the second session. an image of
the imported files, i think.

cdrecord -v -pad -data -multi speed=32 dev=0,0,0 driveropts=burnproof '/tmp/stupid_place.raw'




-multi Allow multi session CD's to be made. This flag
needs to be present on all sessions of a multi ses_
sion disk, except you want to create a session that
will be the last session on the media. The fixa_
tion will be done in a way that allows the CD-
Recorder to append additional sessions later. This
is done by generation a TOC with a link to the next
program area. The so generated media is not 100%
compatible to manufactured CD's (except for
CDplus). Use only for recording of multi session
CD's. If this option is present, the default track
type is CD-ROM XA mode 2. The Sony drives have no
hardware support for CD-ROM XA mode 2. You have to
specify the -data option in order to create multi
session disks on these drives. As long as cdrecord
does not have a coder for converting data sectors
to audio sectors, you need to force CD-ROM sectors
by including the -data option if you like to record
a multisession disk in DAO/SAO mode. Not all
drives allow multisession CD's in DAO/SAO mode.
line 111
 
Old 06-19-2003, 08:36 AM   #3
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Many, many thanks!

I will test this!

-Tommi
 
Old 06-20-2003, 01:46 PM   #4
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
No, it still does not work. However I was able to write tracks, but they do not include anything.

The reason maybe somehow bad burn directory which I use...but I was able to write the first time, but continuing the record was once again impossible. It does try to write something...but it does not write a one single byte. However I think I am allmost there.

Please advice me a littel more and problem is solved I think.

Here is some notes made by cdrecord and flags which I use, please check it:


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

[tommi@localhost tommi]$ mkisofs -L -l -J -R -A Disc-ID -P Publisher-ID -p Preparer-ID -V Volume-ID -o burnthis.iso /home/tommi/isottelut/ | cdrecord -v -pad -data -multi fs=8m speed=8 dev=0,0,0 driveropts=burnproof burnthis.iso

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


Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
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.
Warning: creating filesystem that does not conform to ISO-9660.
Total translation table size: 0
Total rockridge attributes bytes: 358
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 7024
464 extents written (0 Mb)
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
Driveropts: 'burnproof'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 9100 '
Revision : '1.0c'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 4183808 = 4085 KB
FIFO size : 8388608 = 8192 KB
Track 01: data 0 MB padsize: 30 KB
Total size: 1 MB (00:06.41) = 481 sectors
Lout start: 1 MB (00:08/31) = 481 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
Is not unrestricted
Is not erasable
Disk sub type: Medium Type C, low Beta category (C-) (6)
ATIP start of lead in: -11567 (97:27/58)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 12
Manufacturer: Mitsui Chemicals, Inc.
Blocks total: 359849 Blocks current: 305367 Blocks remaining: 304886
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.
Starting to write CD/DVD at speed 8 in real TAO mode for multi session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 54482
Track 07: 0 of 0 MB written.
Track 07: writing 30 KB of pad data.
Track 07: Total bytes read/written: 950272/980992 (479 sectors).
Writing time: 4.849s
Average write speed 2.3x.
Fixating...
Fixating time: 12.602s
cdrecord: fifo had 15 puts and 15 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
[tommi@localhost tommi]$

Last edited by Tommi; 06-20-2003 at 02:31 PM.
 
Old 06-20-2003, 02:06 PM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
run it as root.

thats not going to solve all your problems, but thats
what some of the error messages are because of.
 
Old 06-20-2003, 02:09 PM   #6
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
I tried to, no help.

Thanks for quick reply.

-Tommi
 
Old 06-23-2003, 08:15 AM   #7
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
So there is a serious bug in cdrecord...it does not make multisession disks for me at all?

Maybe I should use some other release?
 
Old 06-23-2003, 01:32 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
cdrecord is one of the least buggy pieces of software
in existance. find a frontend that will do what you want
for you. there's a bunch of them.
it's much more likely a firmware problems, or user error,
or other software problem than for it to be cdrecord.
 
Old 06-24-2003, 02:09 AM   #9
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Many thanks for reply.

This is something what I would like Linux to be: a usable system. It allways is not.

1. My drive works 100% wth windows 2000 and Nero. It cannot be broken.
2. Frontends do not work with me. Sure I tested them, but they were useless...I decided to turn to command promts. No matter how hard I tried with frontends, I allways failed.
3. There is no new firmware, because there is no need for it. It works allready.
4. I dont want to fight with you, but if you say that I have done something wrong, please tell me what it is. I am all ears. But if you cannot say that, then...goodbye.

Yes. I am really pissed off and angry and I think that I have good reasons for this. Cdrecord is worst nighmare for me what I have faced with Linux. I have been fighting with it for weeks. I have done all upgrades...no hope.

You see...if it is this program id thid difficult to use, there is a design error in it. Its not "buggy" its otherwise useless because its too complex to use. So...if you have to study writing cd's for many weeks, there are problems in a software. 5 minutes is a better time, like in Windows.

I do not want to spoil your day, but my day is so spoiled that it may be hard for you to understand how pissed off I am.

But things are not this badly. I decided to buy USB flash ROM circuits which makes cd's bite the dust. So...I do not need multisession and cdrw's anymore. Maybe I will burn only 5 cd's until next year.

Yes...have a nice summer. :-) Life IS easier without computers. :-) Look at Amish people: They do not have even electricity, and they feel fine. :-)

-Tommi
 
Old 06-24-2003, 02:48 AM   #10
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Sorry to be so negative, but this is not my best day with Linux...:-)

-Tommi
 
Old 06-24-2003, 04:14 AM   #11
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
i had one cdburner that couldn't make audio cd's with
cdrecord. i had to make audio cd's in windows.

i've never seen the error messages that you are getting.
i like kisocd, gnome-toaster, and simplecdrx.

i have read a lot of messages on the cdrecord web site,
and that guy is always pissed at cdburner makers
for doing weird stuff. he very often has to do specific
work arounds for many drives. nero may have made
some fix for your drive that cdrecord doesn't have, or
it could just be some ide chipset or kernel linux problem.

try freebsd maybe. that way you'll see if it's cdrecord
or linux.

i feel the need to take up for cdrecord since it has always
worked so well for me. with my first cdburner, years ago,
it took me a while to figure it out, but i had to reboot my
computer and reset it, between each cdburn, or the burn
would just die in the middle. that was with nero in
windows. when i started using cdrecord in linux,
really xcdroast, because i didn't know what cdrecord
was, i could burn disk after disk without screwups.
obviously, you're having the opposite problem.
i suggest you give up, and wait until your next computer
or burner to try cdrecord again, for your own sanity.

Last edited by whansard; 06-24-2003 at 04:26 AM.
 
Old 06-24-2003, 09:51 AM   #12
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Yes you are right...I have an obsession which I couldnt perhaps fully control. :-)

but, sorry, once again, I shoudnt complain too much once its a free tool.

Hey, I tested DVDrecord and it gave me complain like this: some flags are not supported. if that is so...maybe CD-record *does not support * multisession with my hp 9100i, which starts to be old piece of shit.

IF THAT IS SO...no wonder that multisession does not work. It simply isnt there!!!

-Tommi
 
Old 06-24-2003, 09:57 AM   #13
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
xcdroast or gtoaster work just fine to burn audio/movie/data anything I never have anyproblems with mine and it is a dvd+r/cdrw+r burner
 
Old 06-24-2003, 10:00 AM   #14
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
So you have fully similar Hewlett Packard 9100i cd burner like I have?

The only problem is that the multisession does not work. Otherwise it works like a dream.

-Tommi
 
Old 06-24-2003, 10:02 AM   #15
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
I have burned multisession data disks with gtoaster just fine. It has never even written a bad track yet. cross my fingers now that i said that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't burn audio cd's!!! theMonkeY Slackware 6 09-18-2004 03:54 AM
k3b will not burn CD's Micro420 Linux - Software 14 08-27-2004 11:34 AM
Cannot Burn CD's timcrafton Linux - Hardware 6 01-14-2004 06:18 PM
Nautilus will not burn CD's NBK Linux - Newbie 0 12-30-2003 09:27 AM
how do i burn audio cd's the anti-riced Linux - General 8 06-20-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration