Re: data and audio on the same cd

2001-06-25 Thread Joerg Schilling


>From: Karl-Heinz Herrmann <[EMAIL PROTECTED]>

>On 24-Jun-01 Joerg Schilling wrote:
>> It will work with _old_ Sony, Toshiba and Plextor drives which all support
>> a nonstandard compliant ancient Sony command set. It _may_ be that newer
>> drives
>> from the same vendors still accept this nonstandard way of retrieving the
>> multi-session offset. However if a drive works, it is pure luck as Linux
>> does not support the method that is standard for ~ 4 years.

>Plextor Ultra Plex 40TS and Teac Burner 56S work with multisession in
>stock Linux. A DVD reader at work (Linuxsystem too) lately refused to mount a
>multisession CD. A stoneage 2x speed in a  DecAlpha/OSF4 did though. I
>didn't bother to find out what was the problem with the DVD and if I could
>coax it to read the multisession. I especially am not root on that box, so I
>couldn't try cdfs.

The bad news is that Solaris suffers from the same problem. Even worse, it
seems that the Linux code fragment has been stolen from Solaris sources.

>The cdfs module is available at:
>(second link in google on "cdfs linux", as I suggested to find it)
>http://www.elis.rug.ac.be/~ronsse/cdfs/

>The Infos'n on the webpage suggest it's working in 2.2.X and 2.4.X kernels.

If I have some time, I'll test...

It it accepts sector numbers for session start, then you could use cdrecord
to retrieve the right number.

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 J"org 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: data and audio on the same cd

2001-06-25 Thread Karl-Heinz Herrmann


On 24-Jun-01 Joerg Schilling wrote:
> It will work with _old_ Sony, Toshiba and Plextor drives which all support
> a nonstandard compliant ancient Sony command set. It _may_ be that newer
> drives
> from the same vendors still accept this nonstandard way of retrieving the
> multi-session offset. However if a drive works, it is pure luck as Linux
> does not support the method that is standard for ~ 4 years.

Plextor Ultra Plex 40TS and Teac Burner 56S work with multisession in
stock Linux. A DVD reader at work (Linuxsystem too) lately refused to mount a
multisession CD. A stoneage 2x speed in a  DecAlpha/OSF4 did though. I
didn't bother to find out what was the problem with the DVD and if I could
coax it to read the multisession. I especially am not root on that box, so I
couldn't try cdfs.

The cdfs module is available at:
(second link in google on "cdfs linux", as I suggested to find it)
http://www.elis.rug.ac.be/~ronsse/cdfs/

The Infos'n on the webpage suggest it's working in 2.2.X and 2.4.X kernels.

It's somewhat awkward to use (first mount the CD sessions to some place and
then mount the single sessions which show up as files via loopback to access
the files in the iso-filesystems). But it allows to access older sessions
directly, so even if a burn failed in a later session the old sessions will
be accessible again.


K.-H.




E-Mail: Karl-Heinz Herrmann <[EMAIL PROTECTED]> 
http://www.fz-juelich.de/icg/icg7/FestFluGre/transport/khh/general.html
Sent: 25-Jun-01, 11:44:28



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




Re: data and audio on the same cd

2001-06-25 Thread Thomas Niederreiter

On Mon, Jun 25, 2001 at 09:41:21AM +0200, Joerg Schilling wrote:
> >If you're on Linux you can mount any session on a disc with the cdfs
> >module.
> 
> If you are talking that are not part of a standard Linux distribution
> (find / -name '*cdfs*' -ls finds nothing!) it makes sense to include
> a pointer for retrieval.

Its safe to assume that nearly all useful linux software can be
found via www.freshmeat.net

Just enter "cdfs" in the search field and you get what you are looking
for.

Btw...X-CD-Roast 0.98 alpha9 should be available in about 2 weeks.
(at last)

Thomas

  ___ ___   
 /   |   \  ___   | REAL   : Thomas Niederreiter: Munich, Germany  
/~\/  _ \_  __ \  | EMAIL  : [EMAIL PROTECTED]
\Y(  <_> )  | \/  | MUD/IRC: Hor/_Hor  
 \___|_  / \/|__| | 
   \/ All I want is a warm bed and a kind word and unlimited power 
  -- Ashleigh Brilliant



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




Re: data and audio on the same cd

2001-06-25 Thread Joerg Schilling

>From: Giuseppe Corbelli <[EMAIL PROTECTED]>

>On Sun, 24 Jun 2001, jochen georges wrote:
>...
>> archie:~ # mkisofs -o daten.raw -r -J -C0,33855 -M /dev/writer
>> /home/jochen/daten.html
>> mkisofs: Input/output error. Read error on old image
>...
>If you're on Linux you can mount any session on a disc with the cdfs
>module.

If you are talking that are not part of a standard Linux distribution
(find / -name '*cdfs*' -ls finds nothing!) it makes sense to include
a pointer for retrieval.

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 J"org 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: data and audio on the same cd

2001-06-24 Thread Giuseppe Corbelli

On Sun, 24 Jun 2001, jochen georges wrote:
...
> archie:~ # mkisofs -o daten.raw -r -J -C0,33855 -M /dev/writer
> /home/jochen/daten.html
> mkisofs: Input/output error. Read error on old image
...
If you're on Linux you can mount any session on a disc with the cdfs
module.

--
Giuseppe "Cowo" Corbelli  -->>  Riding on Linux-2.4.3-xfs
  --


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




Re: data and audio on the same cd

2001-06-24 Thread Joerg Schilling

>From: Joerg Schilling <[EMAIL PROTECTED]>

>The basic statement is: Linux (in general) does nut support multi-session.

>Both relevant drivers (ide-cd.c & sr.c) are unmaintained since ~ 5 years 
>and if you are trying to mount the CD from a 100% MMC compliant driver,
^^^
Sorry, should be drive!
>it will definitely _not_ work.

>It will work with _old_ Sony, Toshiba and Plextor drives which all support
>a nonstandard compliant ancient Sony command set. It _may_ be that newer drives
>from the same vendors still accept this nonstandard way of retrieving the
>multi-session offset. However if a drive works, it is pure luck as Linux
>does not support the method that is standard for ~ 4 years.

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 J"org 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: data and audio on the same cd

2001-06-24 Thread Joerg Schilling

>X-Envelope-Sender: [EMAIL PROTECTED]

>>  /home/jochen/daten.html
>>  archie:~ # cdrecord -v -data dev=0,0,0 speed=6 daten.iso 
>>  
>>   the cd-player plays the songs, but i could not mount the cd.
>>  
>>   what can i do ?
>>   thanks in advance


>So you have got a CD with data on session 2. That should work -- my plextor
>drive as well as my burner both just detect the second data session and use
>it. It could be that your drive has a problem with data in a second
>session -- just as the audio players. 

>If you've got somebody with different drives you could try that to test if
>the CD is basically ok. I got that problem with a DVD drive, just wouldn't
>find/use the second session.


The basic statement is: Linux (in general) does nut support multi-session.

Both relevant drivers (ide-cd.c & sr.c) are unmaintained since ~ 5 years 
and if you are trying to mount the CD from a 100% MMC compliant driver,
it will definitely _not_ work.

It will work with _old_ Sony, Toshiba and Plextor drives which all support
a nonstandard compliant ancient Sony command set. It _may_ be that newer drives
from the same vendors still accept this nonstandard way of retrieving the
multi-session offset. However if a drive works, it is pure luck as Linux
does not support the method that is standard for ~ 4 years.

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 J"org 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: data and audio on the same cd

2001-06-24 Thread Karl-Heinz Herrmann

Hi,

 
>  archie:~ # cdrecord -v -audio -pad -multi dev=0,0,0 speed=6  
> 
>  /home/jochen/audio_01.wav
>  archie:~ # cdrecord -msinfo dev=0,0,0
>  0,33855
>  archie:~ # mkisofs -r -J -C0,33853 -o daten.iso 
>  /home/jochen/daten.html
>  archie:~ # cdrecord -v -data dev=0,0,0 speed=6 daten.iso 
>  
>   the cd-player plays the songs, but i could not mount the cd.
>  
>   what can i do ?
>   thanks in advance


So you have got a CD with data on session 2. That should work -- my plextor
drive as well as my burner both just detect the second data session and use
it. It could be that your drive has a problem with data in a second
session -- just as the audio players. 

If you've got somebody with different drives you could try that to test if
the CD is basically ok. I got that problem with a DVD drive, just wouldn't
find/use the second session.

Maybe cdfs,  a kernel module to get separate access to multiple sessions on a
CD, could still help to mount it. Try a google search for cdfs...

Did you try to to mount in the burner BTW? Maybe that can read it back in


K.-H.



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




Re: data and audio on the same cd

2001-06-24 Thread Joerg Schilling


>From: jochen georges <[EMAIL PROTECTED]>


>hello,
>   thanks for the hints.
>   i tried it this way:

>archie:~ # cdrecord -v -audio -pad -multi dev=0,0,0 speed=6   
> 
>/home/jochen/audio_01.wav
>archie:~ # cdrecord -msinfo dev=0,0,0
>0,33855
>archie:~ # mkisofs -r -J -C0,33853 -o daten.iso 
>/home/jochen/daten.html
>archie:~ # cdrecord -v -data dev=0,0,0 speed=6 daten.iso 

>   the cd-player plays the songs, but i could not mount the cd.

Let me guess: You are using Linux...

Hoe  about trying to mont the CD on an OS that is known to support multi-session?

>   i tried it with the -M device too, but mkisofs couldn't read the audio-track.

>archie:~ # mkisofs -o daten.raw -r -J -C0,33855 -M /dev/writer 
>/home/jochen/daten.html
>mkisofs: Input/output error. Read error on old image

>   what can i do ?

Read README.ulti & README.cdplus

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 J"org 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: data and audio on the same cd

2001-06-24 Thread jochen georges

Am Sonntag, 24. Juni 2001 00:51 schrieben Sie:
> Hi,
>
> On 23-Jun-01 jochen georges wrote:
> >  cdrecord -v dev=0,0,0 -data brennimage.iso -audio -pad audio_01.wav
> >
> >  i tried to burn a cd with data- and audiotracks.
> >
> >  in general it's ok, but the cdplayer reads the data as track1 and
> >  produces awful sounds.
>
> My player does too if it gts hold of a data track.
>
> >  i read, that the first track should be the audiotrack, and the cd should
> >  be in "cd Xtra" mode (not in Mode2).
> >
> >  i tried different things but i wasn't lucky,
> >  so, does everyone know how to ?
>
> I don't know what's it called as CD standard but what I do is:
>
> first burn the audio part to CD:
>
> cdrecord -v -audio -multi [-dao] *.wav
>
> then find out the start adress for the second session:
>
> cdrecord -msinfo
> [gives two numbers which are argunemts for mkisofs -- see README.multi]
>
>
> then do the data image:
>
> mkisofs -r -J -C [numbers] -o Image.img /some/poth/
>
> There is no -M [device] because I do not include any former data session.
>
> after that burn the data as *second session*:
>
> cdrecord -v -data [-multi] Image.img
>
>
>
> This way the data will be on session two -- and audio CD player only read
> the first session. If you burn the data track in *one go* (i.e. all in the
> first session) it will be visible to the audio player and therefore noise
> to torture your ears.
>
> I couldn't burn another data session, because then I would have to place a
> -M [device with old data session] and mkisofs will not understand about the
> audio which comes first. I didn't try too hard so, maybe there is some more
> obscure option to mkisofs to specify the session it shoul use as old data
> area in multisession CD's.
>HTH,
> K.-H.

hello,
thanks for the hints.
i tried it this way:

archie:~ # cdrecord -v -audio -pad -multi dev=0,0,0 speed=6
 
/home/jochen/audio_01.wav
archie:~ # cdrecord -msinfo dev=0,0,0
0,33855
archie:~ # mkisofs -r -J -C0,33853 -o daten.iso 
/home/jochen/daten.html
archie:~ # cdrecord -v -data dev=0,0,0 speed=6 daten.iso 

the cd-player plays the songs, but i could not mount the cd.
i tried it with the -M device too, but mkisofs couldn't read the audio-track.

archie:~ # mkisofs -o daten.raw -r -J -C0,33855 -M /dev/writer 
/home/jochen/daten.html
mkisofs: Input/output error. Read error on old image

what can i do ?
thanks in advance
:-)
jochen




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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




RE: data and audio on the same cd

2001-06-23 Thread Karl-Heinz Herrmann

Hi,

On 23-Jun-01 jochen georges wrote:
>  cdrecord -v dev=0,0,0 -data brennimage.iso -audio -pad audio_01.wav
>  
>  i tried to burn a cd with data- and audiotracks.
>  
>  in general it's ok, but the cdplayer reads the data as track1 and
>  produces awful sounds.

My player does too if it gts hold of a data track.

>  
>  i read, that the first track should be the audiotrack, and the cd should
>  be in "cd Xtra" mode (not in Mode2).
>  
>  i tried different things but i wasn't lucky, 
>  so, does everyone know how to ?

I don't know what's it called as CD standard but what I do is:

first burn the audio part to CD:

cdrecord -v -audio -multi [-dao] *.wav

then find out the start adress for the second session:

cdrecord -msinfo
[gives two numbers which are argunemts for mkisofs -- see README.multi]


then do the data image:

mkisofs -r -J -C [numbers] -o Image.img /some/poth/

There is no -M [device] because I do not include any former data session.

after that burn the data as *second session*:

cdrecord -v -data [-multi] Image.img



This way the data will be on session two -- and audio CD player only read
the first session. If you burn the data track in *one go* (i.e. all in the
first session) it will be visible to the audio player and therefore noise to
torture your ears.

I couldn't burn another data session, because then I would have to place a
-M [device with old data session] and mkisofs will not understand about the
audio which comes first. I didn't try too hard so, maybe there is some more
obscure option to mkisofs to specify the session it shoul use as old data
area in multisession CD's.



HTH,


K.-H.




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