View previous topic :: View next topic |
Author |
Message |
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Mon Aug 15, 2005 1:03 am Post subject: no /dev/cdrom mount points |
|
|
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 |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Mon Aug 15, 2005 8:44 am Post subject: |
|
|
What is the version of the udev ?
Later than 064-r1 have some issues with cdroms. |
|
Back to top |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Mon Aug 15, 2005 10:28 am Post subject: |
|
|
I'm using sys-fs/udev-058. |
|
Back to top |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Wed Aug 17, 2005 1:42 pm Post subject: |
|
|
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 |
|
|
didl Retired Dev
Joined: 09 Sep 2003 Posts: 1106 Location: Pittsburgh, PA
|
Posted: Wed Aug 17, 2005 1:58 pm Post subject: |
|
|
Add the modules you want to autoload at boot-time into
Code: |
/etc/modules.autoload.d/kernel-2.6
|
|
|
Back to top |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Wed Aug 17, 2005 2:11 pm Post subject: |
|
|
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 |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Wed Aug 17, 2005 3:57 pm Post subject: |
|
|
"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 |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Wed Aug 17, 2005 6:23 pm Post subject: SOLVED |
|
|
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 |
|
|
ajnabi Apprentice
Joined: 21 May 2004 Posts: 208
|
Posted: Sun Nov 13, 2005 4:38 pm Post subject: |
|
|
Never did fix this without reinstalling. |
|
Back to top |
|
|
|