Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrom device files under 2.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
crotty
n00b
n00b


Joined: 25 Apr 2002
Posts: 70

PostPosted: Mon Mar 15, 2004 4:45 pm    Post subject: cdrom device files under 2.6 Reply with quote

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
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Mon Mar 15, 2004 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
crotty
n00b
n00b


Joined: 25 Apr 2002
Posts: 70

PostPosted: Tue Mar 16, 2004 12:38 am    Post subject: Reply with quote

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
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Tue Mar 16, 2004 12:45 am    Post subject: Reply with quote

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
View user's profile Send private message
crotty
n00b
n00b


Joined: 25 Apr 2002
Posts: 70

PostPosted: Tue Mar 16, 2004 5:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum