Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-02-2006, 09:06 PM
|
#1
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Rep:
|
Can't mount audio/cdroms with Slackware
Using Slackware 10.2 and I have an HP CD-RW for the cd player on the box.
I am unable to mount or read either cdroms or audio cds.
I do have the necessary entries under /etc/fstab, but I've never seen this before, does anyone know why this won't work?
thanks
|
|
|
07-02-2006, 09:09 PM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Well, you won't be able to mount audio cds because they don't have a filesystem. You can listen to them using analog method (with the audio cable from the cd to the sound card) or digital extraction one (this is not default, but it can be easily enabled on XMMS and you don't need that cable).
Do you know which is the device file assigned to the CD-RW? Try: dmesg | grep CD
and see which is the correct device.
|
|
|
07-02-2006, 09:15 PM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
gbonvehi is correct, there is no file system on an audio CD. There is a pseudo file system you can try called CDFS but it's quite old, and I've never actually tried it myself. If you decide to give it a shot, let me know how it works out.
CDfs
good luck!
...aaron
|
|
|
07-02-2006, 09:56 PM
|
#4
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep:
|
Quote:
Originally Posted by gbonvehi
Well, you won't be able to mount audio cds because they don't have a filesystem. You can listen to them using analog method (with the audio cable from the cd to the sound card) or digital extraction one (this is not default, but it can be easily enabled on XMMS and you don't need that cable).
Do you know which is the device file assigned to the CD-RW? Try: dmesg | grep CD
and see which is the correct device.
|
Ya, your right...can't mount an audio cd, but when I went to XMMS to import the files, there weren't there. I have never seen that before.
I'm getting this output
Code:
cmmiller@ladytron:~$ dmesg | grep cd
hdd: attached ide-cdrom driver.
ehci_hcd 00:02.2: PCI device 10de:00e8 (nVidia Corporation)
ehci_hcd 00:02.2: irq 10, pci mem e0a0dc00
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
|
|
|
07-02-2006, 11:16 PM
|
#5
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Check that /dev/cdrom points to /dev/hdd
Edit: Also, do another grep with CD (in caps) that should give you more info...
Last edited by gbonvehi; 07-02-2006 at 11:24 PM.
|
|
|
07-05-2006, 08:49 PM
|
#6
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep:
|
Quote:
Originally Posted by gbonvehi
Check that /dev/cdrom points to /dev/hdd
|
Under dev, the cdrom is pointing at /hdc not /hdd.
This is currently how I have it under /etc/fstab
Code:
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
What do I need to fix to make this work?
thanks
|
|
|
07-05-2006, 10:08 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: Slackware
Posts: 100
Rep:
|
Quote:
Originally Posted by JockVSJock
Under dev, the cdrom is pointing at /hdc not /hdd.
thanks
|
This, coupled with your posted output earlier, would seem to indicate that cdrom is pointing to the wrong block device. You could, as root, give:
Code:
ln -s /dev/hdd /dev/cdrom
Also, check the permissions, as usual. If you do not have read permission for hdd, you could make yourself a member of that group (cdrom on my machine) by editing /etc/group to make a line read
Your number could vary.
|
|
|
07-05-2006, 11:24 PM
|
#8
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware (desktops), Void (thinkpad)
Posts: 7,430
|
To play the cd as a user you need to change the permissions of /dev/hdc as /dev/cdrom links to it.
As root type: chmod 666 /dev/hdc
This command works for me when I want to set-up my unit to play audio CDs as a regular user.
|
|
|
07-06-2006, 08:35 PM
|
#9
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep:
|
Quote:
Originally Posted by quip
Code:
ln -s /dev/hdd /dev/cdrom
|
When I issue this command as root, I get the following error
Code:
root@ladytron:/dev# ln -s /dev/hdd /dev/cdrom
ln: creating symbolic link `/dev/cdrom' to `/dev/hdd': File exists
I though about deleting the entry for the cdrom, but I've never deleted anything under /dev...
So, I'm still not able to play audio cds...
|
|
|
07-06-2006, 10:41 PM
|
#10
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
What kernel are you running?
On 2.4.32 I needed the append "hdd=ide-scsi" line in lilo.conf
On 2.6.16.22 append "hdd=ide-cd"
No other symlinks or permissions changes.
|
|
|
07-07-2006, 12:24 AM
|
#11
|
LQ Newbie
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 4
Rep:
|
If you can't read the CD beause of permissions change your fstab to say:
Code:
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
(Note: column 4 is now "user" instead of "owner")
|
|
|
07-07-2006, 08:27 AM
|
#12
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep:
|
Quote:
Originally Posted by davidsrsb
What kernel are you running?
On 2.4.32 I needed the append "hdd=ide-scsi" line in lilo.conf
On 2.6.16.22 append "hdd=ide-cd"
No other symlinks or permissions changes.
|
Kernel 2.4.31
Does it matter where I place hdd=ide-scsi in lilo.conf?
|
|
|
07-07-2006, 08:28 AM
|
#13
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep:
|
Quote:
Originally Posted by jonnygraw
If you can't read the CD beause of permissions change your fstab to say:
Code:
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
(Note: column 4 is now "user" instead of "owner")
|
I've modified this and still not able to read a regular cd.
Does it matter that I'm using a cd burner to try and read these cds?
|
|
|
07-08-2006, 02:42 AM
|
#14
|
Member
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429
Rep:
|
Quote:
root@ladytron:/dev# ln -s /dev/hdd /dev/cdrom ln: creating symbolic link `/dev/cdrom' to `/dev/hdd': File exists
|
Quote:
I though about deleting the entry for the cdrom, but I've never deleted anything under /dev...
|
as root do
Code:
rm /dev/cdrom
ln -s /dev/hdd /dev/cdrom
don't be afraid to delete ur /dev/cdrom, its just a symbolic link.
|
|
|
07-09-2006, 09:42 PM
|
#15
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep:
|
Quote:
Originally Posted by chrisortiz
as root do
Code:
rm /dev/cdrom
ln -s /dev/hdd /dev/cdrom
don't be afraid to delete ur /dev/cdrom, its just a symbolic link.
|
This got it...But I don't have audio...So I'll have to check that the audio cable is hooked up correctly.
thanks again
|
|
|
All times are GMT -5. The time now is 12:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|