Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 176235

Summary: CDROM drive doesn't work on acer aspire 9412
Product: Gentoo Linux Reporter: Ewoud Canniere <alcoholica666>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED WORKSFORME    
Severity: major CC: zzam
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Kernel config
My FSTAB
Listing from /dev
DMESG output
/dev listing with SCSI CDROM-driver enabled
Kernel config
DMESG from kernel with SCSI cd support + Probe for all LUN's + Vendor specific...
Newest kernel config

Description Ewoud Canniere 2007-04-27 12:26:16 UTC
I had problems with activating DMA on my hard disk before (http://bugs.gentoo.org/show_bug.cgi?id=165944), that issue is now solved by selecting the SATA driver in the kernel and putting 'sdax' in /etc/fstab. (which is odd because it IS a PATA driver). Now my hard disk functions properly but i'm not able to use my CDROM drive. It's not in /dev/. The strange thing is i CAN burn CD with nerolinux but i cannot mount it. It just recognizes my recorder.
I would like to use my CDROM drive :-)

Reproducible: Always

Steps to Reproduce:
1.Boot linux
2.Put CD in tray
3.No CD-ROM in /dev/,



Expected Results:  
A cdrom in /dev
Comment 1 Ewoud Canniere 2007-04-27 12:27:08 UTC
Created attachment 117397 [details]
Kernel config
Comment 2 Ewoud Canniere 2007-04-27 12:27:36 UTC
Created attachment 117399 [details]
My FSTAB
Comment 3 Ewoud Canniere 2007-04-27 12:28:20 UTC
Created attachment 117401 [details]
Listing from /dev
Comment 4 Matthias Schwarzott gentoo-dev 2007-04-27 12:29:33 UTC
I think you miss the SCSI cdrom driver.
Having this activated will give you your cdrom as /dev/sr0.
Comment 5 Ewoud Canniere 2007-04-27 12:32:34 UTC
Created attachment 117402 [details]
DMESG output
Comment 6 Ewoud Canniere 2007-04-27 12:42:53 UTC
I tried to enable the SCSI CDROM-driver but still i got no device in /dev. (See attachment).
Comment 7 Ewoud Canniere 2007-04-27 12:43:48 UTC
Created attachment 117404 [details]
/dev listing with SCSI CDROM-driver enabled
Comment 8 Ewoud Canniere 2007-04-27 12:44:18 UTC
Created attachment 117405 [details]
Kernel config
Comment 9 Matthias Schwarzott gentoo-dev 2007-04-29 07:01:54 UTC
Perhaps you should activate
CONFIG_BLK_DEV_SR_VENDOR or CONFIG_SCSI_MULTI_LUN.
But your dmesg output just tells me you have a scsi CD-Device.

Please attach a dmesg created with your new kernel with scsi-cd-support enabled.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2007-04-29 16:42:22 UTC
Please also post "uname -v" output while booted into that new kernel.
Comment 11 Ewoud Canniere 2007-05-02 10:42:42 UTC
This is what uname -v gives booted in my new kernel:

alcoholica@Leviathan ~ $ uname -v
#1 SMP Thu Apr 19 15:19:49 CEST 2007

Comment 12 Ewoud Canniere 2007-05-02 10:43:58 UTC
Created attachment 117936 [details]
DMESG from kernel with SCSI cd support + Probe for all LUN's + Vendor specific...
Comment 13 Ewoud Canniere 2007-05-02 10:45:00 UTC
Created attachment 117938 [details]
Newest kernel config
Comment 14 Matthias Schwarzott gentoo-dev 2007-05-02 12:04:41 UTC
Your kernel config and dmesg output is not consistent! Are you sure you compiled that kernel and use it?

Your kernel-config does have scsi disk switched of, and dmesg tells me you booted from sda.
Also dmesg tells me kernel is from "Thu Apr 19 15:19:49 CEST 2007", but kernel config is from "Wed May  2 12:35:22 2007".

You must also compile and install the new configured kernel!
Comment 15 Ewoud Canniere 2007-05-02 12:16:01 UTC
Well i did compile the kernel and copied it to /boot. 
SCSI disk support is indeed switched off because i don't need it. 
I use the ata_piix driver under SATA drivers (see http://bugs.gentoo.org/show_bug.cgi?id=165944). I'm no currently recompiling my kernel.
Comment 16 Ewoud Canniere 2007-05-02 12:32:59 UTC
Ok my bad, i had a wrong entry in my grub.conf.
Thats why the dates didn't match.
Also the problem of my cd-rom drive is fixed now by enabling SCSI-cd-support + probe for all LUN's and the vendor specific stuff.

Thanx for helping me out with this problem.
It's a really strange notebook. It has a PATA drive but needs a SATA driver... 

Whatever, my CD-ROM works now. Thank you all