Author Topic: [SOLVED] No DVD drive (/dev/sr0 missing)  (Read 1622 times)

Offline cyrylas

  • Full Member
  • ***
  • Posts: 81
[SOLVED] No DVD drive (/dev/sr0 missing)
« on: June 20, 2010, 10:32:55 AM »
PCLinuxOS can't see my dvd drive now.
It was working with default 2010 kernel, but stopped too. Currently tested with kernels:

kernel-2.6.33.5-pclos1.bfs-1-1pclos2010
kernel-2.6.32.11-pclos2.bfs-1-1pclos2010
kernel-2.6.32.11-pclos1.bfs-1-1pclos2010

lspci | grep -i ide
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)

$ lsmod | grep ata
sata_sil                6105  7
libata                143929  1 sata_sil
scsi_mod              130669  3 sg,libata,sd_mod

ls -l /dev/cd*
lrwxrwxrwx 1 root root 8 2010-06-20 18:35 /dev/cdrom -> /dev/sr0

but there's no /dev/sr0.
« Last Edit: June 20, 2010, 12:28:51 PM by cyrylas »

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11559
  • ----IOFLU----
Re: No DVD drive (/dev/sr0 missing)
« Reply #1 on: June 20, 2010, 11:21:57 AM »
PCLinuxOS can't see my dvd drive now.
It was working with default 2010 kernel, but stopped too. Currently tested with kernels:

kernel-2.6.33.5-pclos1.bfs-1-1pclos2010
kernel-2.6.32.11-pclos2.bfs-1-1pclos2010
kernel-2.6.32.11-pclos1.bfs-1-1pclos2010

lspci | grep -i ide
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)

$ lsmod | grep ata
sata_sil                6105  7
libata                143929  1 sata_sil
scsi_mod              130669  3 sg,libata,sd_mod

ls -l /dev/cd*
lrwxrwxrwx 1 root root 8 2010-06-20 18:35 /dev/cdrom -> /dev/sr0

but there's no /dev/sr0.

From my computer;

[root@littleboy ~]# lspci | grep -i ide
00:09.0 IDE interface: nVidia Corporation nForce IDE (rev c3)

[root@littleboy ~]# lsmod | grep ata
ata_generic             2315  0
pata_acpi               2303  0

pata_amd                7613  4
libata                145448  3 ata_generic,pata_acpi,pata_amd
scsi_mod              132396  6 sr_mod,sg,sbp2,libata,usb_storage,sd_mod

[root@littleboy ~]# lsmod |grep -i ide
uvcvideo               47937  0
videodev               31136  1 uvcvideo
v4l1_compat            11213  2 uvcvideo,videodev
i2c_core               18110  3 nvidia,i2c_amd756,videodev
ide_generic             1035  0 [permanent]
ide_pci_generic         2306  0
ide_gd_mod             19349  0
ide_core               85822  4 ide_generic,ide_pci_generic,amd74xx,ide_gd_mod

usbcore               124336  11 snd_usb_audio,snd_usb_lib,uvcvideo,usblp,wacom,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd,usbhid

You didn't say what CPU your computer uses; mine is an AMD XP 2100+. As we both have nforce chips, you might want to try;

[root@localhost ~]# modprobe <module>                       <Enter>

for each of the modules I've highlighted in blue.
« Last Edit: June 20, 2010, 11:26:22 AM by old-polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline cyrylas

  • Full Member
  • ***
  • Posts: 81
Re: No DVD drive (/dev/sr0 missing)
« Reply #2 on: June 20, 2010, 12:28:16 PM »
Thank you very much old-polack. I was missing module pata_amd. After modprobe it found drives and mounded CD instantly :)

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11559
  • ----IOFLU----
Re: No DVD drive (/dev/sr0 missing)
« Reply #3 on: June 20, 2010, 12:44:44 PM »
Thank you very much old-polack. I was missing module pata_amd. After modprobe it found drives and mounded CD instantly :)

That would have been my first choice to modprobe, had you said that the CPU was, in fact, AMD. My 2010.1 installation totally missed pata_amd and amd74xx in the default installation initrd image. To correct this I rebuilt the initrd image with the command, from the /boot directory;

[root@localhost boot]# mkinitrd -vf --preload pata_amd --preload amd74xx initrd-2.6.32.12-pclos1.bfs.img 2.6.32.12-pclos1.bfs           <Enter>

Until then, all my IDE drives were missing from the running system. You may want to build that into your own initrd image, by doing the same.

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...