PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 05:52:15 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] No DVD drive (/dev/sr0 missing)  (Read 1066 times)
cyrylas
Full Member
***
Offline Offline

Posts: 79


« on: June 20, 2010, 11: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.
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #1 on: June 20, 2010, 12:21:57 PM »

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.
Logged

Old-Polack

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



Lest we forget...
cyrylas
Full Member
***
Offline Offline

Posts: 79


« Reply #2 on: June 20, 2010, 01:28:16 PM »

Thank you very much old-polack. I was missing module pata_amd. After modprobe it found drives and mounded CD instantly Smiley
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #3 on: June 20, 2010, 01:44:44 PM »

Thank you very much old-polack. I was missing module pata_amd. After modprobe it found drives and mounded CD instantly Smiley

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.

Logged

Old-Polack

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



Lest we forget...
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM