[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord and multisession audio/data cd's?



Right, I meant to follow this up but never did.  I think it's a
linux/cdrecord issue now.. because it works if i boot into MacOSX 10.3
and use this cdrecord (from fink):

Cdrecord 1.11a39 (powerpc-apple-macosx7.0.0) Copyright (C) 1995-2002 J?rg
Schilling

(of course, i have to play all sorts of horrible games with finder,
because killing automount doesn't keep finder from 'helpfully' mounting an
audio cd, which, after you burn the first session, it thiks your disk is.
solution: manually unmount /dev/diskX (the cd) and start the second
cdrecord session in the 30s on so until finder finds and re-mounts the
audio cd again...)

Under Linux, here's what I get (on both the sony and the toshiba, so i'm
only including output from the toshiba)..  both Linux boxen are running
2.6.0-test kernels, which may be the problem, and i'v tried both ATAPI:
and regular ide-scsi.. Again, the exact same commands work using the
exact same .raw files if i'm using macosx:

john@jennifer ~ $ sudo cdrecord dev=ATAPI:0,1,0 speed=4 -v -multi -xa1
netbsd-kernel.raw
Password:
Cdrecord-Clone 2.01a18 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J?rg
Schilling
TOC Type: 3 = CD-ROM XA mode 2
scsidev: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R1002'
Revision       : '1030'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009
Profile: 0x0010
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R
Drive buf size : 1347584 = 1316 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data     0 MB
Total size:        1 MB (00:06.12) = 459 sectors
Lout start:        1 MB (00:08/09) = 459 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  ATIP start of lead in:  -11634 (97:26/66)
  ATIP start of lead out: 359848 (79:59/73)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359848 Blocks current: 348146 Blocks remaining: 347687
Starting to write CD/DVD at speed 4 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.
cdrecord: Input/output error. mode select g1: scsi sendcmd: no error
CDB:  55 10 00 00 00 00 00 00 3C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 80 00 0C
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid) error refers to data part, bit ptr 0 (not
valid) field ptr 12
cmd finished after 0.000s timeout 40s
cdrecord: Warning: using default CD write parameter data.
Mode Select Data 00 16 00 00 05 32 01 C4 0B 00 00 00 20 00 00 00 00 00 00
96 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
cdrecord: Cannot open new session.
Writing  time:    0.011s
cdrecord: fifo had 15 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

john@jennifer ~ $ sudo cdrecord dev=ATAPI:0,1,0 speed=4 -msinfo
0,11702
^^^^^^^ these are the numbers that were used to create the second
filesystem, so that should be correct.  If you would like, i can post a
log of a successful run using cdrecord under macosx, and the log of the
first session (successful) burn.  I tried an earlier 1.9 version of
cdrecord on linux, and still got the error.

any ideas?
john.c


On Fri, 28 Nov 2003, Joerg Schilling wrote:

> >From: John Clemens <john@deater.net>
>
> >I'm trying to use cdrecord to master a CD image to boot my Dreamcast..
> >Several sights say to master a 2-session cd, with the first session
> >containing an audio track and the second containing your raw data image
> >(in XA1 format).
>
> >Several places on the net give the following commands to do this:
> >cdrecord dev=0,0,0 -multi -audio audio.raw
> >cdrecord dev=0,0,0 -multi -xa1 data.raw
>
> >(data.raw is a mkhybrid iso9660 filesystem, with the first few sectors
> >overwritten with some boot code for the dreamcast)
>
> >however, i've tried this sequence on two very different cdr's (an old
> >trusty Toshiba SD-1002, and the newer sony CDRW/DVD in my i-book.) and i
> >can never get cdrecord to record the second session (the first completes
> >fine).  The second always fails complaining about cannot open a new
> >session/blah, illegal status ok, illegal arguments, etc.
>
> If you don't give information, it is impossible to help.
>
> http://www.fokus.fhg.de/research/cc/glone/employees/joerg.schilling/private/problems.html
>
> Jörg
>
>

-- 
John Clemens          http://www.deater.net/john
john@deater.net     ICQ: 7175925, IM: PianoManO8
      "I Hate Quotes" -- Samuel L. Clemens



Reply to: