LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2002, 08:13 AM   #16
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30

What is that wav file? Seems like the problem might be internal with that burning software, rather than anything more technical. Try burning using cdrecord directly. If that works, I suggest you get in touch with those behind the authoring software you're using.
 
Old 09-24-2002, 01:41 PM   #17
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
The wav files are just random MP3s. Burning a data cd works fine as root but fails miserably as a user. Here is the dump:
Joliet: protecting extension of South Park - Cartman.mp3
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.
cdrecord: Operation not permitted. shmctl failed to lock shared memory segment
Failed to create CD 'On-the-fly'!
OK, this same cd burned fine as root. Audio gives me the same errors as user or root. Here is my audio errors:
MP3/Ogg Vorbis file(s) decompressed successfully!
Starting burn process!
cdrecord: No such file or directory. No read access for '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'.
Burn failed!
Failed to remove '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'!
Failed to remove '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'!
Failed to remove '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'!
Failed to remove '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'!
Failed to remove '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'!
Failed to remove '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'!
Failed to remove '/home/bax/wav/cdbo_audio_9_24_11_30_29.wav'!
What permissions am I missing? I don't think that this is the software since it burns data cds fine as root. I have already run XCDRoast as root and made my user a member of the list for burning and other associated things. Also, I appreciate all of the help so far.
 
Old 09-25-2002, 05:05 PM   #18
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Still no joy

OK, burning a .iso as a user WORKED. Burning a music CD did NOT work as root. I would appreciate ANY suggestions because this part of my switch from Windoze.... I'm positive there's group or permission I'm missing....
 
Old 09-27-2002, 04:20 PM   #19
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
What's confusing me here is "MP3/Ogg Vorbis file(s) decompressed successfully!". Did they add support recently? My version of cdrecord doesn't know anything about compressed audio.
 
Old 09-27-2002, 05:35 PM   #20
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Are you guys positive that the software you use can burn what you want?
I don't know much about the whole deal - burned a .wav-cd from .mp3 once and .wav. to .wav a couple of times.
With .mp3 to .wav I had a shitload of trouble with programs not finding the decoder.
And with musiccd's in general I am not sure that cdrecord supports that fully at all - I think you need cdrdao for that.
But I might be way off here.
 
Old 09-28-2002, 04:41 PM   #21
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
I was right! Bam!

I KNEW it was a permissions problem! Doing a chmod 777 on my directories that contained the original MP3s/.oggs and a chmod 777 on my /home/user directory (where the output /wav files are stored) worked! Tested the cd and it works fine. I highly recommend CDBakeOven for anybody looking for a good user friendly cd burning program. I've burned downloaded .isos and installed form said isos and now I can simply select new music CD, pick out the MP3s/oggs, hit Burn, and watch as thy're converted and burned to CD in one shot. Also, this program has no problem converting oggs and mp3s and burning them onto the same disc. Bam! Knocked it up a notch! Libranet 2.7 rocks!
 
Old 10-03-2002, 04:04 PM   #22
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
Thanks for your e-mail: "...Got it working somehow and then hosed my entire install after trying to get nVidia drivers up and running last night in my Libranet install. Got the graphics drivers running and now I can burn successfully as root using XCDRoast and CDBakeOven. Now I get the error as a user when trying to run XCDRoast that it "failed to scan the SCSI-bus". Running cdrecord -scanbus as suer gives the errors that I cannot open /dev/sg0 and cannot open SCSI driver. I have made sure my user is part of the cdrom group and have also included my user in the list of users allowed to make changes in XCDRoast. Trying a chmod 777 on my directories I'm trying to write from did not help either. I am at my wit's end on this, I appreciate your help already."

First off, I don't know anything about burning audio CD. Sorry I can't help you with this.

Libranet is similar to Slack in that here's the /dev/sg0 in dmesg

Kernel command line: auto BOOT_IMAGE=Slackware ro root=302 hdc=ide-scsi
ide_setup: hdc=ide-scsi
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray

I use lilo, so I don't know how the scsi line works in Grub. Take a look at /etc/grub.conf

IMO, drivers should be installed before system configuration.

I always burn cd's as root via su using my own command-line proggy

http://jetblackz.freeservers.com/

I am gonna fix the unnecessary iso copying.

BTW, you don't open /dev/*, you open /mnt/cdrom.

bash-2.05a$ cat /etc/fstab
/dev/hda6 swap swap defaults 0 0
/dev/hda2 / ext3 defaults 1 1
/dev/hdb1 /mnt/storage vfat noauto,user 1 0
/dev/hda8 /mnt/my_doc vfat noauto,user 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
bash-2.05a$ ls /dev/cdrom -l
lrwxrwxrwx 1 root root 8 Sep 19 12:38 /dev/cdrom -> /dev/sr0
bash-2.05a$ ls /dev/sr0 -l
brw-r----- 1 root disk 11, 0 Apr 13 1999 /dev/sr0

I can't run cdrecord as user either. I don't think anybody can.

bash-2.05a$ cdrecord -scanbus
Cdrecord 1.11a24 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.


Wish I could be of any help.

Last edited by jetblackz; 10-03-2002 at 04:07 PM.
 
Old 10-03-2002, 06:31 PM   #23
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Definitely a permissions problem

After running setup in XCDRoast and CDBakeOven as root, burning works fine as root. Can't do anything as a user. Couldn't even run cdrecord -scanbus as a user until I ran chmod -R 777 /dev/sg*. Then I could run cdrecord -scanbus as user and it worked fine. No errrors. SCSI emualtion is enabled. I think since everything works as root, it's definitely a permissions problem, right? My user is configured in XCDRoast, a member of the audio and cdrom groups, I even did a chmod 777 on the directory I use as a temp directory for burning. Please float any ideas you might have about my permissions problem...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't burn audio cds minm Linux - Newbie 2 03-02-2005 03:11 PM
Burn audio cd Ephracis Linux - Software 4 11-22-2004 07:36 PM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
Strange cdbakeoven prob! Braveheart1980 Linux - Software 4 02-05-2004 04:57 PM
how do i burn audio cd's the anti-riced Linux - General 8 06-20-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:23 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