Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no /dev/cdrom mount points
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
ajnabi
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 208

PostPosted: Mon Aug 15, 2005 1:03 am    Post subject: no /dev/cdrom mount points Reply with quote

Hello,

I have a new installation (kernel 2.6.12-r6). I cannot mount my cdrom drives. I have two of them. They used to be under /dev/cdroms/cdrom0 and /dev/cdroms/cdrom1 on my previous installation (kernel 2.6.8 udev). One interesting thing is that they very occasionally will mount (/dev/hda /dev/hdb).

Shouldn't udev be creating these mount points? Any insight into this problem would be appreciated.

Thanks,
ajnabi

Specs and info:

# uname -r
2.6.12-gentoo-r6

# dmesg |grep ATAPI
hda: TSST CDW/DVD TS-H492B, ATAPI CD/DVD-ROM drive
hdb: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive

# grep cdrom /etc/fstab
/dev/hda /mnt/cdrom iso9660 user,noauto,ro,exec 0 0
/dev/hdb /mnt/cdromr iso9660 user,noauto,ro,exec 0 0

# ls /dev/hda
ls: /dev/hda: No such file or directory

# ls /dev/hdb
ls: /dev/hdb: No such file or directory
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Mon Aug 15, 2005 8:44 am    Post subject: Reply with quote

What is the version of the udev ?
Later than 064-r1 have some issues with cdroms.
Back to top
View user's profile Send private message
ajnabi
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 208

PostPosted: Mon Aug 15, 2005 10:28 am    Post subject: Reply with quote

I'm using sys-fs/udev-058.
Back to top
View user's profile Send private message
ajnabi
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 208

PostPosted: Wed Aug 17, 2005 1:42 pm    Post subject: Reply with quote

I've fixed both the inability to mount the cdrom and the iso image by manually loading the modules. The modules are ide-cd and loop.

The problem is - why don't they auto-load? I do have Automatic kernel module loading built into the kernel.

Thanks
ajnabi
Back to top
View user's profile Send private message
didl
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 1106
Location: Pittsburgh, PA

PostPosted: Wed Aug 17, 2005 1:58 pm    Post subject: Reply with quote

Add the modules you want to autoload at boot-time into

Code:

/etc/modules.autoload.d/kernel-2.6
Back to top
View user's profile Send private message
ajnabi
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 208

PostPosted: Wed Aug 17, 2005 2:11 pm    Post subject: Reply with quote

I was under the impression that compiling the "Automatic kernel module loading" feature into the kernel would load these automatically when needed to keep memory free of unused modules. Doesn't /etc/modules.autoload.d/kernel-2.6 load them and keep them loaded whether they are used or not?
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed Aug 17, 2005 3:57 pm    Post subject: Reply with quote

"Automatic kernel module loading" is for hotplugging, i.e. you plug in a USB device during normal system usage and then the appropriate usb transport drivers get loaded.

just build ide-cd (and other things) into the kernel. it'll use very little memory when not being used and will save you a lot of hassle in terms of module loading
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
ajnabi
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 208

PostPosted: Wed Aug 17, 2005 6:23 pm    Post subject: SOLVED Reply with quote

Quote:
"Automatic kernel module loading" is for hotplugging, i.e. you plug in a USB device during normal system usage and then the appropriate usb transport drivers get loaded.



I'm finally understanding that. I read a few things, about hotplugging, on the web researching this issue. Thanks for the clarity. I'm going to do as you suggest and build into the kernel.

Thanks all.
ajnabi
Back to top
View user's profile Send private message
ajnabi
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 208

PostPosted: Sun Nov 13, 2005 4:38 pm    Post subject: Reply with quote

Never did fix this without reinstalling.
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