LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot burn CD's succesfully. (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-burn-cds-succesfully-66551/)

Tommi 06-19-2003 04:08 AM

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 :newbie:

whansard 06-19-2003 07:18 AM

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

Tommi 06-19-2003 07:36 AM

Many, many thanks!

I will test this!

-Tommi

Tommi 06-20-2003 12:46 PM

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]$

whansard 06-20-2003 01:06 PM

run it as root.

thats not going to solve all your problems, but thats
what some of the error messages are because of.

Tommi 06-20-2003 01:09 PM

I tried to, no help.

Thanks for quick reply.

-Tommi

Tommi 06-23-2003 07:15 AM

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?

whansard 06-23-2003 12:32 PM

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.

Tommi 06-24-2003 01:09 AM

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% wíth 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

Tommi 06-24-2003 01:48 AM

Sorry to be so negative, but this is not my best day with Linux...:-)

-Tommi

whansard 06-24-2003 03:14 AM

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.

Tommi 06-24-2003 08:51 AM

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

jchristman 06-24-2003 08:57 AM

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

Tommi 06-24-2003 09:00 AM

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

jchristman 06-24-2003 09:02 AM

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.


All times are GMT -5. The time now is 03:13 AM.