SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm using slackware 10, with 184.108.40.206, 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?
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 220.127.116.11 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?
*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
Adding the /dev/pts extended attributes did not chant anything obvious to me.
When you tried to use the cd/dvd, was it mounted?
No, I thought I had remember reading somewhere that audio CDs did not need to be mounted, and THOUGHT I read that neither did DVD, plus the config in mplayer was pointed to /dev/dvd, and I don't know of a way to mount that (just mount from that).
[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.
Actually, I originally was when I first noticed the problem. But since, I've re-compile the kernel without it. However, I was unable to remove "SCSI support", just the emulation. I'm not sure what I have selected elsewhere that's requiring scsi support, but I'll gladly find it and disable it if you think it would help and have any suggestions of what would be requiring it.
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 nodesp
definitely intimidating, but I intend to know someday anyway, so I'll do some searching about... that would make sense... but then why was it working automatically when I was using 2.6.7. (it was working fine before I upgraded, i should have used the .config, but wanted to get more practice at compiling, and I didn't bother checking to make sure it was working because it didn't cross my mind until I went to use it)
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
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.
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 18.104.22.168) 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.
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?