Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't find my CDROM-- udev problem or missing kernel module?
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
torchZ06
Apprentice
Apprentice


Joined: 01 Nov 2003
Posts: 175
Location: the front range

PostPosted: Tue Jul 13, 2004 1:23 am    Post subject: can't find my CDROM-- udev problem or missing kernel module? Reply with quote

i'm having problems using my CD drive and i don't know if its a UDEV problem or if i'm missing some module.

i'm using the SCSI SATA driver (libata) built into the kernel and i'm loading the IDE driver as a module. quote from another post:

Quote:
What I did was to compile the PATA driver as a module, so that the SATA (libata) driver is used for my harddisk. The PATA driver loads later and only controls my IDE CD-ROM.


advice taken from these posts:
https://forums.gentoo.org/viewtopic.php?t=168362&highlight=
https://forums.gentoo.org/viewtopic.php?t=186232&highlight=

here's the modules i have loaded:
Code:
ppk@sledgehammer ppk $ lsmod
Module                  Size  Used by
w83627hf               28868  0
i2c_sensor              2688  1 w83627hf
i2c_isa                 2432  0
i2c_viapro              6796  0
i2c_core               20320  4 w83627hf,i2c_sensor,i2c_isa,i2c_viapro
ide_cd                 39776  0
ide_core              131316  1 ide_cd
cdrom                  37096  1 ide_cd
nvidia               2564788  0
uhci_hcd               29792  0
sk98lin               152556  1


when i look for /dev/ide it's not there. so maybe me loading the module after udev has done it's thing isn't letting it create the device nodes for the ide stuff.

i don't know enough about udev and writing "rules" ?? n stuff to say....
Back to top
View user's profile Send private message
tetrahydroc
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 144

PostPosted: Tue Jul 13, 2004 6:22 am    Post subject: Reply with quote

Try putting ide-cd module into /etc/modules.autoload.d/kernel-2.6 that's what I had to do to get my ide-cdrom to work with udev
Back to top
View user's profile Send private message
torchZ06
Apprentice
Apprentice


Joined: 01 Nov 2003
Posts: 175
Location: the front range

PostPosted: Tue Jul 13, 2004 6:44 am    Post subject: Reply with quote

THC,

got that in there:
Code:
ppk@sledgehammer ppk $ cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload.d/kernel-2.6,v 1.1 2003/07/16 18:13:45 azarah Exp $
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# 3c59x
sk98lin
uhci-hcd
nvidia
ide-cd


i see it come up in the list on boot up, but its after the udev message appears... so maybe it's too late?
Back to top
View user's profile Send private message
danone
Guru
Guru


Joined: 18 Jan 2004
Posts: 398
Location: Germany

PostPosted: Tue Jul 13, 2004 8:38 am    Post subject: Reply with quote

What version of udev are you using..since i got no problem with my cdrom and other stuff..i tried also as module as you but it appears in /dev/hdc and hdd ...so no problems..or you make a node (blockdevice) this also helps if there are problems..like nvidia was..
_________________
[:: Processor: Intel Core 2 Duo E6300 ]::[ Mainboard: ASUS P5B Deluxe ]::[ GPU: nVidia 7900GTO ::]
[:: RAM: HyperX DDR2 800 ]::[ Samsung SH-183A SATA:: CREATiVE X-Fi XtremeMusic :: ]
Back to top
View user's profile Send private message
torchZ06
Apprentice
Apprentice


Joined: 01 Nov 2003
Posts: 175
Location: the front range

PostPosted: Tue Jul 13, 2004 9:11 am    Post subject: Reply with quote

danone,

i'm running 027 it says:
Code:
*  sys-fs/udev
      Latest version available: 025-r1
      Latest version installed: 027
      Size of downloaded files: 361 kB
      Homepage:    http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
      Description: Linux dynamic and persistent device naming support (aka userspace devfs)
      License:     GPL-2

Quote:
or you make a node (blockdevice)

yea, i thought about that--i might have to make a node like i had to do with my nvidia card-- i followed Decibel's udev guide and it worked like a champ for the nvidia, but at this point i'm not exactly sure what the problem is: do i need some more modules loaded? is it just a udev problem? something else?

how can i find out for certain?
Back to top
View user's profile Send private message
tetrahydroc
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 144

PostPosted: Tue Jul 13, 2004 6:23 pm    Post subject: Reply with quote

torchZ06 wrote:
THC,

:wink: <\\\\\\\\\\\\> :wink:

Anyway, post the relevant part from your dmesg and also check do you get cdrom's in /dev/cdroms/

Also, how about adding to your bootloader (lilo/grub) configuration the devices, something like:
Code:

hdb=ide-cd

or whatever the device name is that's your cdrom.
Back to top
View user's profile Send private message
torchZ06
Apprentice
Apprentice


Joined: 01 Nov 2003
Posts: 175
Location: the front range

PostPosted: Tue Jul 13, 2004 11:27 pm    Post subject: Reply with quote

ok, there isn't any /dev/cdroms directory and here's some snipps from my dmesg:

Code:
libata version 1.02 loaded.
sata_via version 0.20
sata_via(0000:00:0f.0): routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 20
ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 20
ata1: dev 0 cfg 49:2f00 82:74eb 83:7f63 84:4003 85:74e9 86:3c43 87:4003 88:407f
ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_via
ata2: no device found (phy stat 00000000)
scsi1 : sata_via
  Vendor: ATA       Model: WDC WD740GD-00FL  Rev: 21.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 145226112 512-byte hdwr sectors (74356 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
.
.
.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx


that's all that looks relevant in the dmesg output....
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