View previous topic :: View next topic |
Author |
Message |
crotty n00b

Joined: 25 Apr 2002 Posts: 70
|
Posted: Mon Mar 15, 2004 4:45 pm Post subject: cdrom device files under 2.6 |
|
|
I searched the forums and Googled, but couldn't find anything to address my problem.
Under 2.4 (i have a 2.4 kernel around jsut in case) i have the /dev/cdrom files. However, under 2.6 kernel, those files are not there. I thought devfs was supposed to autodetect the cdroms and set up the links accordingly. I really don't know much about devfs, and reading a couple pages didn't give me enough info to solve what i hope is a simple problem.
Is there anything in any migration docs about losing the cdrom? Is this a common problem? Would any of my config files help anyone to help me?
Thanks in advance!!! |
|
Back to top |
|
 |
bombcar Guru


Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Mon Mar 15, 2004 6:16 pm Post subject: |
|
|
Try this command to get it back:
Code: |
ln -sf /dev/cdroms/cdrom0 /dev/cdrom
|
This will work if you have devfs compiled in the kernel. Check if the /dev/cdroms/cdrom0 exists, first with this:
Code: |
ls -l /dev/cdroms/cdrom*
|
|
|
Back to top |
|
 |
crotty n00b

Joined: 25 Apr 2002 Posts: 70
|
Posted: Tue Mar 16, 2004 12:38 am Post subject: |
|
|
That file is not there either, there's nothing under /dev having to do with "cdrom".
Now that i look a little further, shouldn't my two cdroms show up as /dev/hdc and /dev/hdd? Neither of those files are there either. Is this a missing config option in the kernel? It seems too simple for that...
The weirdest part is that the files are there under 2.4. I'm gonna go dig in the kernel config for a while...any other ideas?
Thanks a lot! |
|
Back to top |
|
 |
bookstack Apprentice

Joined: 27 Feb 2004 Posts: 245
|
Posted: Tue Mar 16, 2004 12:45 am Post subject: |
|
|
I have met this problem when I compiled kernel 2.6 with devfs manually.
This issue is caused by the wrong config, definitely.
Try to add
SCSI - CDROM support,
SCSI emulation
etc.
I tweak the kernel to support framebuffer, and re-config throughly.
then the CDROM works, as bombcar said.
So take a try. |
|
Back to top |
|
 |
crotty n00b

Joined: 25 Apr 2002 Posts: 70
|
Posted: Tue Mar 16, 2004 5:08 am Post subject: |
|
|
gah. all i had to do was enable scsi cdrom support in the kernel.
i thought with all the talk about no scsi emulation needed, all ide devices wouldn't have anything at all to do with scsi related options.
live and learn. thanks a lot for the information! |
|
Back to top |
|
 |
|