Anonymous - 2001-07-27

Hi,
<short>
How can I write the second session with cdrdao?
How can I provide the output of "cdrdao msinfo" to the writing command?
Is there an easier way to duplicate a multisession disc than the procedure described below?

<long>
I want to duplicate a disc with two sessions. I read both with:

# cdrdao read-cd --device 1,0,0 --driver generic-mmc-raw --session 1 --datafile 1.bin 1.toc

# cdrdao read-cd --device 1,0,0 --driver generic-mmc-raw --session 2 --datafile 2.bin 2.toc

Then I change the first line of the tocs to CD_ROM_XA.

Then I burn the first session with:

# cdrdao write -v 1 --multi 1.toc

Then I try to burn the second session with:

# cdrdao write -v 1 --speed 4 2.toc

And the output is:

Cdrdao version 1.1.5 - (C) Andreas Mueller <andreas@daneb.de>

Starting write at speed 4...
Using multi session mode.
Pausing 10 seconds - hit CTRL-C to abort.
?: Input/output error.  : scsi sendcmd: no error
CDB:  5D 00 00 00 00 00 00 00 20 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 180s
ERROR: Cannot send cue sheet.
ERROR: Writing failed.