LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2003, 10:21 AM   #1
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Rep: Reputation: 30
Angry Audio CD


I sure hope that someone can help me with this issue. I have been trying to burn an audio CD, but I continually have no success. I have read all of the material suggested on this board and other boards, but the closest I come is a burned track that expells nothing but static noise <???> I am using the latest cdrecord, mkisofs, cdda2wav, version 2.0-1,and I am using CD Bake Oven 1.8.9-1 for suse 8.0 linux distribution. My CD writer is a LG 8081B.
I have not had any problem burning data cd's, but this issue of audio cd's is driving me mad... Please, help is really needed.


Thank-you
 
Old 01-25-2003, 10:33 AM   #2
pagal
Member
 
Registered: Oct 2002
Distribution: Red Hat Phoebe!
Posts: 92

Rep: Reputation: 15
Hey,

try this guide ( http://seismo.ethz.ch/linux/xcdroast.html ). It looks quite good.
 
Old 01-25-2003, 02:45 PM   #3
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Thanks for the input... It would seem that the tutorial is not complete:

BURNING AN AUDIO-CD
- Create CD ('CD erstellen')
* ..... to be continued.....

Thanks anyways... good tutorial on xcdroast aside from being incomplete. Still asking for information...





 
Old 01-25-2003, 02:48 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok what are you doing? copying from disc to disc? at the simplest level try

dd if=/dev/cdrom | cdrecord -

to copy a disc exactly. you'll prpabbly need some mroe options for cdrecord though
 
Old 01-25-2003, 03:00 PM   #5
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Question

I am trying to make an audio cd with mp3's. Now.. CD Bake Oven will convert the mp3 to wav and so on, but.. for some weird reason all I get for tracks is static. Horrible ... horrible static.... the tracks are there with the proper size and so on, but just static....

I really do not understand....
 
Old 01-25-2003, 03:25 PM   #6
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Audio CDs are different from (iso9660) data CDs in how they lay down the music tracks so making an iso image won't work. You'll either need to dump the audio tracks to an audio file like a .wav or do DAE (reccomended) to extract them digitally as cdda files. I have a REALLY old print of some HOWTO, but I know the latest "CD writing HOWTO" from http://tldp.org has a whole section on audio CDs.
 
Old 01-25-2003, 04:12 PM   #7
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Post Error Messages

Hre are the error messages that I receive when attempting to burn the cd manually with cdrecord:

cdrecord dev=0,0,0 -eject speed=1 -pad -audio *.wav
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
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.22
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'LG '
Identifikation : 'CD-RW CED-8081B '
Revision : '1.00'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
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 2 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 25 00 00 00 00 0A 00 00 00 00 64 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 0 (not valid) illegal block length
cmd finished after 0.003s timeout 40s
write track data: error after 0 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
cdrecord: Input/output error. close track/session: scsi sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x04 (current program area is empty) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 480s
cmd finished after 0.001s timeout 480s


Perhpas this will help someone define the issue that I am having.... perhaps....


Thanks for all of your help. It is GREATLY appreciated...
 
Old 01-25-2003, 07:54 PM   #8
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Talking Real Error Code

I forgot to set root.... here is the errors that are indicated:

scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'LG '
Identifikation : 'CD-RW CED-8081B '
Revision : '1.00'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 2 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 25 00 00 00 00 0A 00 00 00 00 64 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 0 (not valid) illegal block length
cmd finished after 0.002s timeout 40s
write track data: error after 0 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
cdrecord: Input/output error. close track/session: scsi sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x04 (current program area is empty) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 480s
cmd finished after 0.002s timeout 480s

Sorry about the screw-up... I sure hope someone can make some sense out of this.... Thanks..
 
Old 01-25-2003, 08:38 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'd first say to make sure you are in the directory with the wav's in it, if not, simply provide the path to the wav's like so:
cdrecord dev=x,x,x speed=x -v -eject -pad -audio /path/to/wavs/*.wav
Then I'd think you might wanna check to make sure the medium is good, I usually try a different disc to determine if this is the case.
 
Old 01-26-2003, 06:31 AM   #10
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Thank-you for your help in this matter...

The CD's do work well. I have tried both CD-R and CD-RW types and have come up with the same results. I have had no problems doing this with microsoft windows 98/95, using Easy CD Creator, but I am wanting to remove myself from that environment.

Is this going to be possible?
 
Old 02-05-2003, 05:26 PM   #11
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Talking Finally

After leaving this alone for a while, I have finally figured out the audio CD issue with the LG8081B CD-RW:

It would seem that X-CD-Roast, using cddao(DAO), clears this issue up. Setting the 'Swap Audio Byte Order' in the 'Advanced Options' using the 'Write Tracks' method corrects the problem. However, I would still like to know what cddao command is being implemented.

Thanks for all of the help....
 
Old 02-05-2003, 07:11 PM   #12
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
you could try to see what xcdroast does, when it's burning open a konsole and type
Code:
ps -ef | grep cdrecord
which if you are lucky will give you the command line that it uses to execute cdrecord, complete with parameters. Probably all that is wrong is the type of commands for your drive, xcdroast probably has info for your particular drive on which command protocol to use.
 
Old 02-06-2003, 06:59 AM   #13
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Lightbulb Success...

Thanks Darin, the ps -ef | grep cdrecord command came very handy, and it gave me the information that I needed....

Here is the string that was produced while I was burning an audio CD on CD-RW:

cdrecord dev=0,0,0 gracetime=2 fs=4096k -v -useinfo speed=8 -dao -eject -pad -swab -audio /DIRECTORY/FILENAME.WAV -audio /DIRECTORY/FILENAME.WAV -audio /... etc

I hope that this post will help others in a similar situation. It is always nice to learn new ways of using commands; it opens up a lot of doors....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AC'97 Conexant audio (aka, AC-Link Audio) (Gateway 7510GX) Vexamus Linux - Hardware 25 10-07-2009 09:15 PM
Why I can't use USB audio device when onboard audio enabled in install RockyZ Fedora 6 03-28-2009 07:40 PM
Reading audio data files as an actual audio file? Erik_the_Red Linux - Software 1 06-01-2005 07:22 AM
M-Audio Mobile Pre USB Audio interface will not work verdeboy Linux - Hardware 0 11-20-2003 10:20 AM
DVD plays but no audio (can play audio cd's though)? guitarnix Linux - Newbie 2 10-05-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration