LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-10-2003, 09:16 AM   #1
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Rep: Reputation: 15
how to configure CD-RW to burn AND play


Hi, I'm trying to configure my system to burn CD's. I set up scsi emulation for my drive by putting hdc=ide-scsi in my grub.conf and adding insmod ide-scsi to my rc.local. I run cdrecord --scanbus and my device is listed in the resulting output.

However, now that I have turned on scsi emulation, I can't play CD's through xmms any more. It doesn't even recognize that there's a cd in /mnt/cdrom

What do I need to do to configure my system so that I can burn and play CD's without having to change configurations in between?

Thanks
 
Old 06-10-2003, 09:36 AM   #2
phishman3579
Member
 
Registered: May 2003
Posts: 161

Rep: Reputation: 32
Re: how to configure CD-RW to burn AND play

Quote:
Originally posted by cpv204
Hi, I'm trying to configure my system to burn CD's. I set up scsi emulation for my drive by putting hdc=ide-scsi in my grub.conf and adding insmod ide-scsi to my rc.local. I run cdrecord --scanbus and my device is listed in the resulting output.

However, now that I have turned on scsi emulation, I can't play CD's through xmms any more. It doesn't even recognize that there's a cd in /mnt/cdrom

What do I need to do to configure my system so that I can burn and play CD's without having to change configurations in between?

Thanks
Run the following command in the /dev dir
"ln -s scd0 cdr"
Add the following to the /etc/fstab
*/dev/cdr /mnt/cdr iso9660 noauto,owner,ro 0 0

mount it like this...
mount -t iso9660 /dev/cdr /mnt/cdr
 
Old 06-10-2003, 09:43 AM   #3
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Original Poster
Rep: Reputation: 15
thanks phishy!

So I was only one symlink away? I'll report back tonight.
 
Old 06-10-2003, 09:48 AM   #4
phishman3579
Member
 
Registered: May 2003
Posts: 161

Rep: Reputation: 32
Quote:
Originally posted by cpv204
thanks phishy!

So I was only one symlink away? I'll report back tonight.
No problem, that set-up has worked for me many times. I assume it will work for you.
 
Old 06-10-2003, 07:53 PM   #5
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Original Poster
Rep: Reputation: 15
Hmmm, not working. I made the symlink from /dev/cdr to /dev/scd0:
Code:
bash-2.05b$ ls -l cdr
lrwxrwxrwx    1 root     root            4 Jun 10 19:50 cdr -> scd0
and created the entry in /etc/fstab:
Code:
bash-2.05b$ less /etc/fstab
/dev/hda5        swap             swap        defaults         0   0
/dev/hdb2        /                ext3        defaults         1   1
/dev/cdr        /mnt/cdr        iso9660         noauto,owner,ro   0 0
/dev/hdd4        /mnt/zip         auto        noauto,owner,users,kudzu 0 0
/dev/fd0         /mnt/floppy      auto        noauto,owner,users,kudzu     0   0
/dev/hda1        /mnt/winc        vfat        auto,owner,users,umask=000 0 0
/dev/hdb1        /mnt/wind        vfat        auto,owner,users,umask=000 0 0
/dev/hda3        /mnt/rh          ext3        defaults 0 0
/dev/hda2       /mnt/rh/boot      ext3        defaults 0 0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
and made sure that xmms is configured for device /dev/cdr and directory /mnt/cdr (which does exist). Still, xmms "sees" nothing on an audio cd.

Interesting to note: if I put in a data cd and run mount /mnt/cdr, I can see the files on the data cd and xmms can see them, too, but when it comes to an audio cd (can't mount one of those) xmms comes up empty.

Any thoughts?
 
Old 06-11-2003, 02:09 AM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Try this:

http://www.usafirst.net/users/welker/ide-cd_burner.html

The instructions originally were written for Slack 8.1 but I've got Slack 9.0 installed, and they work perfectly. I similarly was having a bear of a time trying to figure out why things didn't work, but these instructions solved the problem in no time flat. Good luck with it. -- J.W.
 
Old 06-11-2003, 06:30 AM   #7
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Original Poster
Rep: Reputation: 15
PERMISSIONS!

I hadn't run chmod 666 /dev/scd0

Everything had been configured properly, but I just needed user access to /dev/scd0.

Thanks J.W., it was a simple thing, but I wouldn't have spotted it. The MP3 CD Burning HOWTO doesn't mention this...interesting.
 
Old 06-11-2003, 09:53 AM   #8
phishman3579
Member
 
Registered: May 2003
Posts: 161

Rep: Reputation: 32
Quote:
Originally posted by cpv204
PERMISSIONS!

I hadn't run chmod 666 /dev/scd0

Everything had been configured properly, but I just needed user access to /dev/scd0.

Thanks J.W., it was a simple thing, but I wouldn't have spotted it. The MP3 CD Burning HOWTO doesn't mention this...interesting.
Since MP3 are tecnically data, it's entirely different then an audio CD. That's why you would need the symlink.
 
Old 06-11-2003, 10:10 AM   #9
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Original Poster
Rep: Reputation: 15
But don't you need permissions to /dev/scd0 when you burn?
 
Old 06-11-2003, 10:42 AM   #10
phishman3579
Member
 
Registered: May 2003
Posts: 161

Rep: Reputation: 32
Quote:
Originally posted by cpv204
But don't you need permissions to /dev/scd0 when you burn?
hmmm... I have never changed the permissons on my scd0. Although, I might be root whenever I burn. I haven't done it in awhile. I'll have to try with a non-root user and see.
 
Old 06-11-2003, 10:46 AM   #11
cpv204
Member
 
Registered: Mar 2003
Location: Tribeca, NYC
Distribution: Slackware 9.0, Fedora Core 1
Posts: 111

Original Poster
Rep: Reputation: 15
OK. The point is kind of moot since I've change the permissions anyway. Just thought that if you'd need to change them to burn, that would be in the HOWTO.

So...maybe you don't after all...
 
Old 04-16-2004, 02:56 AM   #12
Darx
Member
 
Registered: Mar 2004
Posts: 52

Rep: Reputation: 15
I got this same problem... my cdr and cdrom are the same drive. Prior to appending my lilo, I could read cds just fine... now, I'm able to burn, but I can't read.

Any suggestions?

*edit*

By the way, I get this when I try (after putting a newly burned cd in there... America's Army if you're curious)

Code:
Could not mount device.
The reported error was:
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

Last edited by Darx; 04-16-2004 at 02:57 AM.
 
Old 04-16-2004, 07:54 PM   #13
Darx
Member
 
Registered: Mar 2004
Posts: 52

Rep: Reputation: 15
So... anyone?
 
Old 04-16-2004, 08:31 PM   #14
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Originally posted by Darx
So... anyone?
post your /etc/fstab please, ...........
 
Old 04-16-2004, 10:11 PM   #15
Darx
Member
 
Registered: Mar 2004
Posts: 52

Rep: Reputation: 15
Here it is:

Code:
/dev/hda3        /                ext3        defaults         1   1
#/dev/cdr /mnt/cdr iso9660 noauto,owner,ro 0 0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/scd0 /mnt/scd0 iso9660 noauto,users 0 0
/dev/scd1 /mnt/scd1 iso9660 noauto,users 0 0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
Although it didn't used to have the /dev/scd0 or /dev/scd1, and the /dev/cdrom wasn't commented... I was just kinda trying random shit, hoping it would work...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
K3b (re 3.3.0) will not play or burn MPEG 4 layer suse2166 Linux - Software 6 03-25-2005 09:16 PM
where can i get a free program to burn isos in winxp so i can burn a distro? Me61289 Linux - Newbie 5 08-17-2004 02:36 AM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
Do I burn the ISO, or burn what's contained in it? Borg Swarm Linux - General 1 02-06-2004 05:30 PM
howto burn svcd/vcd's on a dvdr and play them via mplayer? dav0r Linux - Software 3 12-24-2003 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:52 PM.

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