LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-13-2003, 02:11 PM   #1
moodles
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Distribution: mandrake 9.1
Posts: 28

Rep: Reputation: 15
Unhappy cdrom/cdrw/dvd mount problems (again!!)


Yes, I know, such questions have been posted a million times here - and yet I still can't get the darned things to work!

I was able to load tracks from cdroms into xmms, the names of the tracks appeared correctly and when I pressed play the time of the track advanced, but no sound (the graphic analyzer also showed no sound). Sounds work fine, mp3s what have you are fine.

So I fiddled around a bit with fstab and lilo.conf. Still not working!

Here is some relevant information. Any help would be greatly appreciated!

/etc/fstab:
/dev/hda6 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 1 1
/dev/hda7 /usr ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
/dev/hda9 /data vfat defaults 1 0
/dev/scd0 /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/scd1 /mnt/cdrw iso9660 user,noauto,ro 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


from /etc/lilo.conf:

append="hdc=ide-scsi hdd=ide-scsi"
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200

some interesting lines from dmesg:
hdc: DM166D DVD-ROM, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST CD-RW GCE-8240B, ATAPI CD/DVD-ROM drive
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: DM166D Model: DVD-ROM Rev: 100B
Type: CD-ROM ANSI SCSI revision: 02
Vendor: HL-DT-ST Model: CD-RW GCE-8240B Rev: 1.06
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 44x/44x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr0: CDROM not ready. Make sure there is a disc in the drive.
cdrom: open failed.



 
Old 07-13-2003, 02:48 PM   #2
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
Is there a line in your dmesg like this : Kernel command line: BOOT_IMAGE=Linux ro root=302 hdc=ide-scsi hdd=ide-scsi,
I also I had to create a symlink between /dev/scd0 /dev/cdrom and /dev/scd1 and /dev/cdrw and set proper permissions chmod 666 /dev/scd0 /dev/scd1
Took me awhile to get this right but with some help I got it going. Good luck.
 
Old 07-13-2003, 08:03 PM   #3
moodles
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Distribution: mandrake 9.1
Posts: 28

Original Poster
Rep: Reputation: 15
Yes, that line was in the dmesg.

I created the symlinks (not exactly sure what the difference is between scd* and sr*).

Still nothing. In xmms, if I look for files in /mnt/cdrom with a CD in cdrom drive it doesn't find anything.
 
Old 07-13-2003, 08:04 PM   #4
moodles
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Distribution: mandrake 9.1
Posts: 28

Original Poster
Rep: Reputation: 15
I should also note that no cd drive is listed when I do
$ mount
 
Old 07-13-2003, 08:38 PM   #5
grizzly
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1, Solaris 9, and IPcop
Posts: 101

Rep: Reputation: 15
Have you checked the volume controls? It seems like a lot of mixers (volume controls) come with the mute set as default. Also some of the audio players have there own volume control, which seems to start off being minimized. I got nailed on the volume problem once.
 
Old 07-13-2003, 08:41 PM   #6
moodles
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Distribution: mandrake 9.1
Posts: 28

Original Poster
Rep: Reputation: 15
no, its not an issue of the audio not working or no volume. Audio works just fine. The cd and dvd drives aren't getting mounted correctly for some reason, so no music files can be found in them. I just can't seem to figure out how to get them properly mounted.
 
Old 07-13-2003, 08:49 PM   #7
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
if it's an audio CD you're trying to mount, then the answer is you can't mount an audio CD. They do not really have a filesystem on them per se, so you don't mount them in the same you do a data cd (ie iso9660 filesystem).
 
Old 07-13-2003, 09:38 PM   #8
moodles
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Distribution: mandrake 9.1
Posts: 28

Original Poster
Rep: Reputation: 15
OK, this is mostly working now - I can at least access music files off a CD in the DVD drive, though not in the cdrw drive.

Part of my problem was due to my own foolishness (not surprising!). Apparently with xmms, the analyzer visualization plugin works with mp3s but not CDs, or at least that is true for the particular config that I have right now. Of course the wise thing to do would have been to test this out with my speakers turned on!

Not exactly sure why the cdrw can't do playback right now - does this have anything to do with the scsi emulating ide master/slave relation?

So the moral of this story is - just because your analyzer doesn't appear to be responding to any audio signal doesn't mean that there is no audio signal at all.
 
Old 07-13-2003, 10:42 PM   #9
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
is there a cable from your cdrw to your soundcard?
 
Old 07-13-2003, 11:00 PM   #10
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Hint... hint... hint...:

Code:
/dev/hda6 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 1 1
/dev/hda7 /usr ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
/dev/hda9 /data vfat defaults 1 0
/dev/scd0 /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/scd1 /mnt/cdrw iso9660 user,noauto,ro 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
 
Old 07-14-2003, 03:17 PM   #11
moodles
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Distribution: mandrake 9.1
Posts: 28

Original Poster
Rep: Reputation: 15
hemp4fuel: Although I haven't opened it up to check, I am guessing that this is not the problem because playback on that drive works just fine when I'm running WinXP, just not in Linux.

Azmeen: Are you suggesting changing owner to user? I'm a bit confused by this since that is on the dvd player rather than the cdrw (note that my current fstab and related files change cdrom to dvd, didn't think that would make any real difference). Perhaps I'm misinterpreting your subtle hints...
 
Old 07-14-2003, 07:45 PM   #12
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
I have the same problem, when I insert a CD on my drive I can't play it
 
  


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
CDRW/DVD recognozed as cdrom only igorc Linux - Software 3 09-28-2005 11:56 AM
replaced cdrom with dvd/cdrw on my laptop blacksunshine Linux - Hardware 3 06-06-2004 12:23 AM
re: how do I mount my cdrom-which is a cdrw ergo_sum Linux - Hardware 10 11-01-2003 04:37 AM
Mount cdrom & cdrw Ed-Slack Slackware 7 01-05-2003 11:44 PM
CDROM, CDRW Mount Harryc Linux - Newbie 5 01-01-2003 05:18 AM

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

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