i am using intel ich5 sata with a hard drive and the not detected plextor 712sa dvd drive. on windows all runs fine, updated firmware and no change. livecd stops at mounting the cd with no special error and the installed gentoo on /dev/sda can't find the drive, too. i tryed the actual versions of gentoo-dev-sources, mm-sources and development-sources. Reproducible: Always Steps to Reproduce: 1. boot up my system 2. watch dmesg and see that just the hard disk will be used, but both drives are detected Actual Results: some code in dmesg: ata1: SATA max UDMA/133 cmd 0xEFF0 ctl 0xEFE6 bmdma 0xEF60 irq 5 ata2: SATA max UDMA/133 cmd 0xEFA8 ctl 0xEFE2 bmdma 0xEF68 irq 5 ata1: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:203f ata1: dev 0 ATA, max UDMA/100, 234441648 sectors: lba48 ata1: dev 0 configured for UDMA/100 scsi0 : ata_piix ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407 ata2: dev 0 ATAPI, max UDMA/33 ata2: dev 0 configured for UDMA/33 scsi1 : ata_piix Vendor: ATA Model: WDC WD1200JD-00G Rev: 02.0 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sda: drive cache: write back /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 > Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Expected Results: devfs should add the dvd drive to /dev so that i can mount it
Is your kernel built with devfs support? If you don't use devfs, but use udev instead, does that work?
tryed many versions of 2.6.8 and 2.6.9 rc3/rc4 kernels, no change. devfs is enabled, but i dunno how to change it to udev (sorry, never used). kernel config at devfs etc.: [*] /proc file system support [*] /dev file system support (OBSOLETE) [*] Automatically mount at boot [ ] Debug devfs [ ] /dev/pts Extended Attributes [*] Virtual memory file system support (former shm fs) [ ] HugeTLB file system support
Disable /dev support in your kernel, and rebuild it. Make sure you emerge udev before booting that kernel.
Oh, and notice that OBSOLETE marking for devfs? yeah, it will be going away soon...
obsolete or not, it's inside the kernel and the gentoo handbook told me to activate it. using udev there is no change on booting (seems little faster), but my /dev/mouse doesn't exist anymore. also nvidia.ko displayed two warnings that it needs /dev (at rebuilding the kernel).
Use /dev/input/mice instead of the mouse entry. That's a 2.6 thing, nothing to do with udev or devfs there. So, with udev, do you still have the same problem with your dvd drive?
yes, there is many more in /dev now. most things seem useless ... and no /dev/cdrom or so exists.
udev doesn't create all those extra nodes, thats the broken gentoo defaults. try disabling the device tarball in /etc/conf.d/rc Your cdrom/dvd will be at /dev/cdroms/cdrom0 You'll need to use the nvidia driver from portage (as opposed to installing it manually) so that the sysfs/udev patch gets applied to it. You'll also need to autoload it on bootup.
which variables do i have to change in /etc/conf.d/rc? there is little more than one :) startx now works since i changed xf86config to use /dev/input/mice. nvidia driver is still in autoload and works well without changes (emerged it new after kernel rebuild). the /dev/nvidiactl bug that appeared sometimes seems fixed in udev (very nice). cd: /dev/cdrom: No such file or directory <- as i told you in my last comments
Theres only one variable about device tarballs: # Set to "yes" if you want to save /dev to a tarball on shutdown # and restore it on startup. This is useful if you have a lot of # custom device nodes that udev do not handle/know about. # (ONLY used by UDEV enabled systems!) RC_DEVICE_TARBALL="no" Yes, no /dev/cdrom exists, which is why I suggested you use /dev/cdroms/cdrom0 I think all issues here are resolved now?
since dev tarball is deactivated my /dev is gone nearly empty. there is no /dev/cdrom and also no /dev/cdroms. my dvd drive problem is unsolved.
please tell me if you need additional informations, i'll paste them here as fast as i can. the problem gets bigger, need to install gentoo again on 24th this month (new cpu and maybe need to chroot, not possible with this drive problem). thanks for help!
Please upload kernel .config
Created attachment 41977 [details] /boot/config-2.6.8-gentoo-r10 current kernel config
Probably because your kernel doesn't have CDROM support compiled in
Created attachment 41982 [details] updated config cdrom ide/atapi support is enabled, no change.
problem isn't gone, changed and compiled kernel, new config is attached.
New dmesg please?
And old for comparison, if possible..
Created attachment 42017 [details] full dmesg
nothing has changed in dmesg and /dev, just my old hdd is now detected on hda. want to see my /dev, lshw output or anything else? the important part of my old dmesg is on top at my first comment.
Supported Operating Systems are limited to: Windows 2000/XP found that text on bottom of the package today, hope it will change soon because of your help :(
I assumed this was an IDE cd rom drive.. is it external or something?
no its internal, connected with ich5r s-ata slot. on bootup its described as atapi drive (2nd screen [after bios, nvram check etc.]).
my new cpu runs well, no need to install gentoo again. the new 2.6.9 final version of the kernel is not fixing my problem, found anything out? I'm getting little bit frustrated by now :(
problem is still unsolved, please give me a status update.
Linux's support for SATA cdroms isn't working properly. I am meaning to plug my cdrom drive in through my IDE-->Sata converter sometime and figure it out. For now you could file a bug at http://bugzilla.kernel.org if there isnt one there already.
Could you please see how 2.6.10-rc2 copes with this?
2.6.10-rc1 won't change the problem, decided to install winxp professional yesterday. had some problems with my s-ata drives, too. now all runs fine, maybe i buy a second hdd soon and test it. thanks for help :)
.