/dev/cdrom is missing
I'm using slackware 10, with 2.6.8.1, on a Sony Vaio laptop. In the past, I've never had problems with the cdrom. But I just installed MPlayer so I could watch DVDs, and I just noticed I have no /dev/dvd, no /dev/cdrom, and no /dev/hdc (the location of the cdrom according to dmesg (which doesn't seem to give me any errors concerning this issue but does show it as detected correctly). I'm rather new to linux, so I'm not exactly sure where else I can clue for clues on what could be wrong. I know its not a compatibility issue because 1. I installed this copy of slackware via cdrom and 2. I've played music from it in the past. I'm unable to find / -iname 'cdrom' anything that would seem to indicate the problem. Please advise?
|
Do you have the same probelm with 2.6.7? If not, go back to it or add it to lilo.
|
I currently don't have a 2.6.7 on this system. The default 2.4.26 kernel detects /dev/dvd (and else), but mplayer didn't work with it. I'm guessing that's a whole other ball of wax. But your suggestion doesn't actually solve the problem. If there's a reason the 2.6.8.1 won't work with my hardware, but 2.4.26 and 2.6.7 does, I would appreciate any explanation you can offer of why. Otherwise, I'd like to actually tackle the problem. If there's a problem with my kernel configuration (most likely) I'd like to actually fix the problem. Does anyone have any suggestion of how I can fix the issue?
|
Could you post your /etc/fstab file. It would appear that either the symlink has gone or something has made the relevant fstab line disappear.
|
Code:
/dev/hda3 swap swap defaults 0 0 |
When you tried to use the cd/dvd, was it mounted? The drive needs to be mounted to be seen by the program.
Also, go to www.untrepid.com and follow the link to Acidrip and from there go to the installation howto. There is a section on creating symlinks to your drives. |
Is /dev/cdrom linked to the actual device ie. /dev/hdc ? If not you'll have to do that. Test it with
Code:
ls -la /dev/cdrom Code:
ln -s /dev/hdc /dev/cdrom |
Are you using ide-scsi emulation by any chance ?
|
*glances around* wow..
well ill just throw this out there, might give you a possible clue to more clues. Since you said its reported as hdc but you do not have a /dev/hdc node ( which i think is odd; but apparently the way nodes are handled in the 2.6 kernel is different & I haven't played around with it yet ) then I'm guessing maybe you dont have other irrevelant nodes? no no no. There must be a /dev/hdc. ls /dev and see, but if there REALLY isn't then I would look into how to create a node and assure it has to do with the 2.6 kernel as the process for handling nodes, as i've said, has changed. I remember seeing a good bit of material here on the forums long while past, anyway if I were you I'd look into trying to create the node ps: if you manage to create the node and reboot and it dissappears this means you did it the old way and not the 2.6 way :D |
Adding the /dev/pts extended attributes did not chant anything obvious to me.
Quote:
[quote]The drive needs to be mounted to be seen by the program.[/q] I will boot back into 2.4.26 and give that a try. Quote:
Code:
ln -s /dev/hdc /dev/cdrom Code:
$ dmesg|grep hdc Code:
/dev$ ls Quote:
Quote:
Thanks for all of your suggestions. I've got some things to try, and I'll post again to share the results once I've had the chance. BTW, get used to me. I always have the "odd" problems :( But I guess they're excellent learning experiences :) |
Missing driver ?
I'dont think ide-scsi emulation has to be in kernel.
How did you set cd-rom support in kernel ? Isn't this driver compiled as module ? Name of IDE cd-rom module is ide-cd so try to load it with /sbin/modprobe ide-cd and check if /dev/hdc (in your case) does appear. |
Try this:
Code:
chmod +x /etc/rc.d/rc.udev Note that CD/DVD burning is busted in 2.6.8.1. 2.6.7 still works without SCSI emulation, though. Also, you are correct, you don't mount DVDs or CDs to play them. |
I was unable to mount /dev/cdrom suddenly, through something I must have done stupidly. I am running kernel 2.6.7 (I hear so many complaints about 2.6.8.1) without scsi emulation. The chmod for hotplug and udev fixed it, so thank you very much shilo. Saved me a lot of research, and I would never have thought that that was the cause.
Thanks, rich |
Sorry it took so long for me to respond, I had a busy last couple of days. But, I was able to resolve the issue. The modprobe ide-cd fixed the problem. So I recompiled the kernel using(not as module) ide-cd("Include IDE/ATAPI CDROM support") . It does work now. Thanks to everyone who offered suggestions!
Can anyone explain to me what may have caused it to not detect the module automatically? Its a removable CD-ROM, so I would like to load it as a module, if possible. Does anyone have any suggestions of how I can have it autodetect whether the drive is there or not, and load accordingly? |
All times are GMT -5. The time now is 08:35 PM. |