CD/DVD drives not found at boot, /dev not populated
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CD/DVD drives not found at boot, /dev not populated
Hello,
I'm running Debian sid using Debian-patched kernels. I'm trying to get my cd drives recognised using a newer kernel. Using my last working kernel, 2.6.24-1-686, my two IDE-connected cd/dvd drives are detected as /dev/sr0 and /dev/sr1, symlinked to cdrom0 and cdrom1, and work fine. When I boot using new kernel, 2.6.25-2-686-bigmem, no entries for these devices appear in /dev.
With the working kernel, the relevant part of dmesg is:
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
ata5.00: ATAPI: HL-DT-STDVD-RAM GSA-H55L, 1.05, max UDMA/66
ata5.01: ATAPI: HL-DT-ST DVD-ROM GDR-H30N, 1.00, max UDMA/33
usb 7-2: new low speed USB device using uhci_hcd and address 2
ata5.00: configured for UDMA/66
usb 7-2: configuration #1 chosen from 1 choice
ata5.01: configured for UDMA/33
BAR5:00:02 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00
0B:00 0C:07 0D:00 0E:00 0F:00
With the bigmem kernel, what looks like the corresponding part of
dmesg:
[ 0.812202] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 0.812281] scsi5 : ahci
[ 0.812455] scsi6 : ahci
[ 0.812583] scsi7 : ahci
[ 0.812645] ata5: SATA max UDMA/133 abar m1024@0xfeaffc00 port
0xfeaffd00 irq 16
[ 0.812705] ata6: SATA max UDMA/133 abar m1024@0xfeaffc00 port
0xfeaffd80 irq 16
[ 0.812765] ata7: DUMMY
[ 0.874732] usb 7-1: configuration #1 chosen from 1 choice
[ 0.875046] scsi8 : SCSI emulation for USB Mass Storage devices
[ 0.875218] usb 7-1: New USB device found, idVendor=04b4,
idProduct=6830
There are no error messages referring to the DVD drives elsewhere in
dmesg.
There's a slight difference in the output of lsmod | grep ide between
the two kernels. For the working kernel:
Hi!
Sorry, your cd-drives are connected to the PC through USB, PATA or SATA?
And what happens if you do a "modprobe ide_cd_mod"?
And the kernel, did you configure & compile it on your own or did you use the one that was delivered by your distribution?
Thanks
For reasons, I don't quite know, the kernel from the distribution I use brings up the sata dvd as /dev/hdc. But when I build my own kernel, it shows up as /dev/sr0. So you should look at /dev/hda through /dev/hdd. If not there you will likely have to review hardware and settings in ide, scsi, sata and pata portion when running make xconfig or menuconfig.
Thanks for the suggestions. The kernels were pre-compiled packages from the Debian unstable repository; I did not alter them. When detected, the devices were located at /dev/scd0 and /dev/scd1, not hdx.
The problem was solved by adding 'pata_marvell' to /etc/initramfs-tools/modules and then rebuilding the initial boot image by typing 'sudo update-initramfs -u'.
My guess is that pata_marvell wasn't being loaded early enough.
Last edited by Onocrotalus; 07-29-2008 at 03:28 PM.
Last couple of days I was reviewing my kernel config files and realized I hadn't loaded the pata driver for ati on a previous kernel. With the pata built in, my dvd (sata but in ide-mode in bios) shows up as /dev/hdc. But, with pata driver not loaded, the kernel loads scsi and the dvd shows up as /dev/sr0.
Sounds like we both understand why our systems acted as they did.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.