Re: cdrecord dies on CD to CD copy

2001-07-25 Thread Bill Davidsen

Joerg Schilling [EMAIL PROTECTED] advised:

 I switched to using dd if=/dev/scd0 bs=64k as the source of the pipe and
 the buffer reported being 100% full all the way; it worked fine,
 additionally.
 
 Don't do that, cdrecord does the job better. In any case, it is a good
 idea not to copy without image.

Definitely agreed. I have a situation which requires burning from an NFS
mounted ISO image, and that's essentially the same problem as read and
burn copy. I write at low speed and use a large fifo, but I would keep
a copy of the image on local disk if I could.

On the other hand, there is something to be said for NFS, someone else
buys the storage and must do backups! That covers a lot of
inconvenience.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cdrecord dies on CD to CD copy

2001-07-23 Thread Christian Robottom Reis


Hi,

I'm using a vanilla CD-Rom + HP CD-R IDE setup through ide-scsi and sg on
a Linux 2.4.7 box, and I've noticed the following:

when copying to /dev/scd1 (0,1,0) using

cdrecord -v dev=0,1,0 -isosize /dev/scd0

At the end of scd0 cdrecord reports an error (can't copy now, but the gist
of it was input stream ended) and fails to fixate the disc. Basically,
all the data from the CD has been read, but since the reading child dies,
I think cdrecord notices it and dies on the spot. I would very much like
to hear a report that this works - what happens when the source CD ends?
No error message?

The CD recorded was, of course, lost. So I attempted (successfuly) to copy
using the crude:

cat /dev/scd0 | cdrecord -v dev=0,1,0 -waiti -

And this worked, though it reported fifo=0% through 99% of the process.
Is there a way to do this in a more intelligent fashion?

TIA, folks.

Take care,
--
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cdrecord dies on CD to CD copy

2001-07-23 Thread Christian Robottom Reis

On Mon, 23 Jul 2001 [EMAIL PROTECTED] wrote:

 At the end of scd0 cdrecord reports an error (can't copy now, but the gist
 of it was input stream ended) and fails to fixate the disc. Basically,
 all the data from the CD has been read, but since the reading child dies,
 I think cdrecord notices it and dies on the spot. I would very much like
 to hear a report that this works - what happens when the source CD ends?
 No error message?

 Read README.copy  README.verify

I'm afraid I wasn't logging with the proper facility, so the error is
lost. It's basically an error reporting the input stream ended. From what
I can grasp from README.copy the problem is probably the two unreadable
sectors at the end of the disk, perhaps combined with read-ahead on the
device. Apart from using sdd or readcd, is the only way to avoid this
subtracting the two sectors from the sector count of the copy?

 cat /dev/scd0 | cdrecord -v dev=0,1,0 -waiti -

 And this worked, though it reported fifo=0% through 99% of the process.
 Is there a way to do this in a more intelligent fashion?

 If this works, then there is a cat/kernel bug!

It worked fine (though the buffer reported 0% all the way). Why shouldn't
it? Would a 0% fifo break the recording?

I switched to using dd if=/dev/scd0 bs=64k as the source of the pipe and
the buffer reported being 100% full all the way; it worked fine,
additionally.

Perhaps a pointer to the README.copy/verify files could be included in
http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/problems.html
or, if this is a faq, add a little FAQ section so people aren't
overwhelmed by the 35 README files distributed with cdrecord. ;)

Take care,
--
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311




--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cdrecord dies on CD to CD copy

2001-07-23 Thread Joerg Schilling

From: Christian Robottom Reis [EMAIL PROTECTED]

 Read README.copy  README.verify

I'm afraid I wasn't logging with the proper facility, so the error is
lost. It's basically an error reporting the input stream ended. From what
I can grasp from README.copy the problem is probably the two unreadable
sectors at the end of the disk, perhaps combined with read-ahead on the
device. Apart from using sdd or readcd, is the only way to avoid this
subtracting the two sectors from the sector count of the copy?



I switched to using dd if=/dev/scd0 bs=64k as the source of the pipe and
the buffer reported being 100% full all the way; it worked fine,
additionally.

Don't do that, cdrecord does the job better. In any case, it is a good
idea not to copy without image.

Perhaps a pointer to the README.copy/verify files could be included in
http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/problems.html
or, if this is a faq, add a little FAQ section so people aren't
overwhelmed by the 35 README files distributed with cdrecord. ;)

Mmmm... there are 38 README's ;-)

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cd to cd copy

2001-04-19 Thread Bill Davidsen

"Mike R. Cannon" [EMAIL PROTECTED] asked:

 Is it possible to burn a cd from a cd with out first making a iso?  I
 use these commands to produce a cd:
 
 mkisofs  -r -J -V cd_name  -o cd_image   img/
 
 cdrecord -v speed=4 dev=0,0,0  -data  cd_image
 
 
 We just received a new machine to set up as a universal cd writer.  I
 want to put linux on it, but others want windows.  Biggest complaint was
 they would not be able to simple copy cds, the would need to make iso
 first.  Is there a way to just copy without making an iso.

  First, you just want to copy data off a data (mountable) CD, the
mkisofs isn't needed. You can use dd or sdd to pull the data.

  More to the point, unless you have one of the burn proof CD writers,
you will find that any slowdown in the incoming data which results in
the buffer going empty will also generate a bad CD output. So the read
and burn is certainly more reliable.

  You can run the output of a raw reading program into cdrecord, but the
reliability is not as good (and direct copy on Windows is not as
reliable, either).

Something like:
  sdd if=/dev/cd1 | cdrecord dev=0,0,0 speed=4 -pad

Adjusted to your device names and numbers, and whatever speed you like.
You can uncrease the buffer in cdrecord, or drop the speed to improve
reliability.

  For music I would always rip using a good program, then burn.

-- 
   -bill davidsen ([EMAIL PROTECTED])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




cd to cd copy

2001-04-16 Thread Mike R. Cannon

Is it possible to burn a cd from a cd with out first making a iso?  I
use these commands to produce a cd:

mkisofs  -r -J -V cd_name  -o cd_image   img/

cdrecord -v speed=4 dev=0,0,0  -data  cd_image


We just received a new machine to set up as a universal cd writer.  I
want to put linux on it, but others want windows.  Biggest complaint was
they would not be able to simple copy cds, the would need to make iso
first.  Is there a way to just copy without making an iso.

Thanks for your time in advance.

--
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cd to cd copy

2001-04-16 Thread Manuel Clos

Mike R. Cannon wrote:

 Is it possible to burn a cd from a cd with out first making a iso?  I
 use these commands to produce a cd:
 
 We just received a new machine to set up as a universal cd writer.  I
 want to put linux on it, but others want windows.  Biggest complaint was
 they would not be able to simple copy cds, the would need to make iso
 first.  Is there a way to just copy without making an iso.
 
 Thanks for your time in advance.

Hi, I use cdrdao to make 1:1 copies:

cdrdao copy --paranoia-mode 3 --on-the-fly --device 0,0,0 --driver 
generic-mmc:0x10 --source-device 0,1,0 --source-driver generic-mmc:0x0 
--buffers 30

paranoia mode is for Audio CDs
on the fly is self explanatory
and you specify the source and target writers and the driver to use (if 
the CD driver to use is not autodetected)
buffers is to give it a bigger buffer.

If you don't want to take care of all the options you can also use 
gcdmaster (former xcdrdao) that comes with cdrdao. It currently uses gnome.

Of course I'm sure you can use a pipe or use some n-curses base programs 
that use cdrecord and simplifies things a lot. Just search at freshmeat.net

See you.

-- 
Manuel Clos
[EMAIL PROTECTED]

* Si no puedes hacerlo bien, hazlo bonito (Bill Gates)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cd to cd copy

2001-04-16 Thread Magnum

"Mike R. Cannon" wrote:
 We just received a new machine to set up as a universal cd writer.  I
 want to put linux on it, but others want windows.  Biggest complaint was
 they would not be able to simple copy cds, the would need to make iso
 first.  Is there a way to just copy without making an iso.


copy data cds using cdrecord:

readcd dev=0,0,0 f=cdimage.raw
cdrecord -v dev=0,0,0 cdimage.raw


copy data and audio cds using cdrdao:

cdrdao read-cd --device 0,0,0 cd.toc
cdrdao write --device 0,0,0 cd.toc


Ciao, Magnum

-- 
begin  http://www.informatik.uni-muenchen.de/~_rosenbau/


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cd to cd copy

2001-04-16 Thread ?

 Is it possible to burn a cd from a cd with out first making a iso?  I
 use these commands to produce a cd:

 mkisofs  -r -J -V cd_name  -o cd_image   img/

 cdrecord -v speed=4 dev=0,0,0  -data  cd_image


 We just received a new machine to set up as a universal cd writer.  I
 want to put linux on it, but others want windows.  Biggest complaint was
 they would not be able to simple copy cds, the would need to make iso
 first.  Is there a way to just copy without making an iso.

 Thanks for your time in advance.

Well, I have write a simple program could copy "CD-DA", "mode 1", "mode
2",
"mode 2 form 1", "mode 2 form 2", "mixed mode", "multisession"... "VCD 1.0",
"VCD 1.1", "VCD 2.0", "SVCD", "CVD"... directly.

Are you interesting in my program? Would you want to try it? For now, it
only run
on linux smoothly. But I have to say very sorry about I could not open
source codes.
And I don't know where I should put it on. If anyone is interesting in try
it, I can mail
the binary to him.

The program I named it "cdcopy". It links Schilling's scsi library, all
other parts are
coding by myself. I don't know much about copyright. But, could I just open
binary not
source codes?


Jack Ciao
[EMAIL PROTECTED]






--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]