Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67134 - Plextor 712sa not used by devfs, maybe kernel problem
Summary: Plextor 712sa not used by devfs, maybe kernel problem
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
Depends on:
Reported: 2004-10-11 11:54 UTC by bx
Modified: 2004-11-18 01:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

/boot/config-2.6.8-gentoo-r10 (config-2.6.8-gentoo-r10,23.47 KB, text/plain)
2004-10-16 11:27 UTC, bx
updated config (config-2.6.8-gentoo-r10,24.05 KB, text/plain)
2004-10-16 13:02 UTC, bx
full dmesg (dmesg.txt,12.19 KB, text/plain)
2004-10-17 01:54 UTC, bx

Note You need to log in before you can comment on or make changes to this bug.
Description bx 2004-10-11 11:54:05 UTC
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
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-12 11:50:16 UTC
Is your kernel built with devfs support?

If you don't use devfs, but use udev instead, does that work?
Comment 2 bx 2004-10-12 12:12:29 UTC
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                                                                                                                      
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-12 12:21:01 UTC
Disable /dev support in your kernel, and rebuild it.
Make sure you emerge udev before booting that kernel.
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-12 12:21:28 UTC
Oh, and notice that OBSOLETE marking for devfs?  yeah, it will be going away soon...
Comment 5 bx 2004-10-12 12:53:13 UTC
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).
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-12 16:43:09 UTC
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?
Comment 7 bx 2004-10-13 01:10:24 UTC
yes, there is many more in /dev now. most things seem useless ... and no /dev/cdrom or so exists.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2004-10-13 02:04:19 UTC
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.
Comment 9 bx 2004-10-13 03:14:52 UTC
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
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2004-10-13 05:19:05 UTC
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!)


Yes, no /dev/cdrom exists, which is why I suggested you use /dev/cdroms/cdrom0

I think all issues here are resolved now?
Comment 11 bx 2004-10-13 08:13:36 UTC
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.
Comment 12 bx 2004-10-16 10:30:56 UTC
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!
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2004-10-16 10:59:11 UTC
Please upload kernel .config
Comment 14 bx 2004-10-16 11:27:09 UTC
Created attachment 41977 [details]

current kernel config
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2004-10-16 12:17:36 UTC
Probably because your kernel doesn't have CDROM support compiled in
Comment 16 bx 2004-10-16 13:02:37 UTC
Created attachment 41982 [details]
updated config

cdrom ide/atapi support is enabled, no change.
Comment 17 bx 2004-10-16 13:04:02 UTC
problem isn't gone, changed and compiled kernel, new config is attached.
Comment 18 Daniel Drake (RETIRED) gentoo-dev 2004-10-16 16:21:16 UTC
New dmesg please?
Comment 19 Daniel Drake (RETIRED) gentoo-dev 2004-10-16 16:21:42 UTC
And old for comparison, if possible..
Comment 20 bx 2004-10-17 01:54:29 UTC
Created attachment 42017 [details]
full dmesg
Comment 21 bx 2004-10-17 02:01:01 UTC
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.
Comment 22 bx 2004-10-18 08:57:32 UTC
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 :(
Comment 23 Daniel Drake (RETIRED) gentoo-dev 2004-10-18 10:25:21 UTC
I assumed this was an IDE cd rom drive.. is it external or something?
Comment 24 bx 2004-10-18 10:50:20 UTC
no its internal, connected with ich5r s-ata slot. on bootup its described as atapi drive (2nd screen [after bios, nvram check etc.]).
Comment 25 bx 2004-10-19 16:24:06 UTC
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 :(
Comment 26 bx 2004-10-24 16:01:47 UTC
problem is still unsolved, please give me a status update.
Comment 27 Daniel Drake (RETIRED) gentoo-dev 2004-10-27 15:29:24 UTC
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 if there isnt one there already.
Comment 28 Daniel Drake (RETIRED) gentoo-dev 2004-11-17 15:45:33 UTC
Could you please see how 2.6.10-rc2 copes with this?
Comment 29 bx 2004-11-18 00:35:20 UTC
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 :)
Comment 30 Daniel Drake (RETIRED) gentoo-dev 2004-11-18 01:13:04 UTC