PDA

View Full Version : No cdrom device in dev, system is using hda


pcssbb
2005-03-05, 07:06 AM CST
My system is all SCSI with the exception of an IDE CDROM drive. For some reason when the system installed it did not create a cdrom device in /dev. The line in fstab is: /dev/hda /media/cdrom auto ........ Anyway I can mount data CD's but if I try to mount an audio CD the system chews on it for a long while before finally coming back with something similar to this: "unable to mount volume, bad superblock" I have tried to use MAKEDEV to create the device file "cdrom" with no success. My question is how do I create a cdrom device file in /dev or what is the correct MAKEDEV syntax to do this? Many thanks in advcance to anyone that can help me with this.

Edit: I changed fstab to read /dev/hda /media/cdrom iso9660 ro 0 0 Now I see see the titles on an audio CD with the audio CDROM browser in konqueror but ksCD will still not play a CD. It is looking for /dev/cdrom /mount/cdrom? How can I change the mount point ksCD is looking for?

Edit: I found it. There is an option if you open ksCD to configure ksCD.

Lenard
2005-03-05, 08:15 AM CST
You do not mount audio CD's (normally) in order to play them, you just play them. Try opening xmms (Audio Player) and choose Play Dircetory (Shift+L) select the location of the audio CD (/media/cdrom) and play the CD.

Your /etc/fstab entry for the CD device should read something like;

/dev/hda /media/cdrom is09660,udf noauto,user,ro 0 0

If you want to mount an audio CD then you need to rebuild the kernel with CDfs support added;
http://www.elis.ugent.be/~ronsse/cdfs/
Basically download the cdfs-2.6.3a.tar.bz2 extract and merge the cdfs directory into the source kernel tree ..../linux-<version_number>/fs directory and run the patch.cdfs as instructed in the INSTALL file for CDfs. Change the /etc/fstab entry from 'is09660,udf' to 'auto' and add cdfs to /etc/filesystems just above the udf entry.