LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2002, 02:58 PM   #1
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Rep: Reputation: 15
Post cd-rw and dvd mnt problem


i have been running mandrake 9.0 for about a week on my win 98 se dual boot system. the hp cd-rw and toshiba dvd are on the same cable and seem to auto mount for data cd's. however, when i use music cd's the desktop shortcuts give i/o error and the command line shows empty directories.
can anyone help? i'm not very familiar with the different mount methods of linux systems. i have. however, read and tried the mdk howto's but seem to have only added new directories to my hardware listing. i now see /mnt/cdrom, /mntcdrom2, /mnt/scs0, and mnt/hdd. none of which show the contents of the music cd. i should note that mnt/cdrom and mnt cdrom2 seem to show data cd info fine.
 
Old 11-15-2002, 04:07 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,334

Rep: Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907
You can't mount an audio CD. Set the configuration for the music player to point to the desired device.
 
Old 11-15-2002, 04:37 PM   #3
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
grip, xmms and noatun all do not respond to this attempt . each program shows the device but there aren't any directories/songs listed.
 
Old 11-15-2002, 07:46 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Hi, from UT eh?

If you put in an audio CD and start grip, you don't have a song list? I am thinkin you are trying too hard, just put in the disc, open grip and press Play.

What are you doing?

Cool
 
Old 11-15-2002, 09:07 PM   #5
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
not sure, but this might be an issue:

if you have scsi-emulation on any of those drives, then you might need to make a link from the new device location (/dev/scd0 for example) to the old /dev/hdc. I'm thinking that maybe the prog's are still looking in hdc, but it's not there anymore. (the /dev/cdrom and cdrom2 are just links from /dev/hdc and /dev/hdd)
 
Old 11-15-2002, 09:34 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Adam, that sounds a bit confusing to me, but I think I get what you mean. They need to symlink /dev/cdrom to /dev/scd0 or something like that if they have scsi emulation and it has been using /dev/hdc up until then? So now the symlink goes /dev/cdrom -> /dev/hdc And it should read (with scsi emulation) /dev/cdrom -> /dev/scd0, Or something along those lines?

Just lookin for clarification

Cool
 
Old 11-15-2002, 10:40 PM   #7
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
sorry 'bout that :-)

ok... I think that /dev/cdrom is a link that points to the actual device /dev/hdc (ls -l /dev | grep cdrom). If you enable scsi-emul. on hdc, then it's not /dev/hdc anymore, it's /dev/scd0. If /dev/cdrom is still pointing to /dev/hdc, or if your prog. is still looking for /dev/hdc, then you'll probably run into problems. If this is the case, then you could link /dev/scd0 to /dev/hdc (ln -s /dev/scd0 /dev/hdc) and it might help.

If the above is the case, then you might as well link /dev/cdrom to /dev/scd0 w/ "ln -sf /dev/scd0 /dev/cdrom" (just in case there is a problem with too many links to get to the actual device, so it doesn't do "/dev/cdrom --> /dev/hdc --> /dev/scd0" )

well, I don't know if this clears it up AT ALL, but I tried ;-)

again, this might not even be an issue. just do a "ls -l /dev | grep cdrom" and check out where it's pointing to.
 
Old 11-16-2002, 01:14 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Ah yes sir, much better to me anyway Thanks for the clarification!

I like the mentioning of linking to a link as a no-no, good tip

Cool
 
Old 11-16-2002, 05:10 PM   #9
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
i have tried putting the cd in and starting grip and just pressing play. grip replied no disc. i have tried going to xmms and Dir+ and going to /mnt/cdrom, /mnt/cdrom2, and /mnt/floppy and finally /mnt/windows/My Music . the onlything to register the music files were the music files saved in the My Music folder of windows. I have been using that as my work-around for music until I can find a solution.
I don't understand why the drives will find data indo at /mnt/cdrom and /mnt cdrom2 fine but not music. although i'm not sure what adam_boz and MasterC are talking about i appreciate the attempts to guide me to the "fix". however i don't follow the idea.
 
Old 11-16-2002, 05:16 PM   #10
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
I tried the advice of adam_boz and this was the reply.
I don't understand it but hopefully some out there will.
please advise...

[shooter@localhost shooter]$ ls -l /dev | grep cdrom
lr-xr-xr-x 1 root root 13 Nov 16 14:17 cdrom -> cdroms/cdrom0
lr-xr-xr-x 1 root root 13 Nov 16 14:17 cdrom0 -> cdroms/cdrom0
lr-xr-xr-x 1 root root 13 Nov 16 14:17 cdrom1 -> cdroms/cdrom1
drwxr-xr-x 1 root root 0 Dec 31 1969 cdroms/
 
Old 11-16-2002, 08:55 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Here is what I suggested in an email, any can rip it apart if I am wrong or whatever:

In Grip under the config tab, you can specify the device for it to read, so in the blank beside that box, he should put either:
/dev/cdroms/cdrom0
OR
/dev/cdroms/cdrom1
depending on which one refers to which device he is deciding to use for his cdplayer.

Cool
 
Old 11-16-2002, 08:59 PM   #12
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
just curious....

what does "ls -l /dev/cdroms" give you? I've never seen that before.
 
  


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
DVD Writer still /mnt/cdrom Vindane Linux - Hardware 1 06-05-2004 05:49 PM
i changed /mnt/cdrom to /mnt/CD-RW - now i've got a problem?!?! spyghost Linux - Software 7 09-30-2003 03:06 PM
/mnt/cdrom & /mnt/scd0 locks up machine RIgimp75 Mandriva 7 09-01-2003 10:32 PM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 05:51 AM
do dvd roms list under mnt as a cdrom? kidashy Linux - Hardware 2 07-18-2003 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration