PurpleGuitar Posted January 21, 2008 Report Share Posted January 21, 2008 I installed Mandriva 2008 Free right after it first came out. Previously, running 2007.1, I had no trouble with my optical drive, a DVD reader/writer. However, the device seems totally unrecognized in 2008. There's no /dev/cdrom or /dev/dvd. A /mnt/cdrom was created, but I cannot mount it. I'm just not quite sure what to try next. Here's the output of lspci, in case that helps. I see nothing in there that looks like an optical drive. Note that it's a dual-boot machine, and the drive still works in Windows XP. 00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3) 00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3) 00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2) 00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) 00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) 00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2) 00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2) 00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3) 00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3) 00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) 00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) 05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GT] (rev a1) Can someone point me in a fruitful direction? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 21, 2008 Report Share Posted January 21, 2008 Do you have an entry in /etc/fstab for the CD/DVD drive? Do you have a device, such as /dev/hdc or /dev/hdd, assuming that /dev/hda and /dev/hdb being hard disk drives? Quote Link to comment Share on other sites More sharing options...
PurpleGuitar Posted January 21, 2008 Author Report Share Posted January 21, 2008 Do you have an entry in /etc/fstab for the CD/DVD drive? Do you have a device, such as /dev/hdc or /dev/hdd, assuming that /dev/hda and /dev/hdb being hard disk drives? Here's my /etc/fstab. As you can see, I'm using LVM: /dev/lvm01/root / xfs relatime 1 1 /dev/sda5 /boot xfs relatime 1 2 /dev/lvm01/home /home xfs relatime 1 2 /dev/cdrom /media/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0 /dev/sda1 /mnt/windows ntfs umask=0022,nls=utf8,ro 0 0 none /proc proc defaults 0 0 none /tmp tmpfs defaults 0 0 /dev/lvm01/usr /usr xfs relatime 1 2 /dev/lvm01/local /usr/local xfs relatime 1 2 /dev/lvm01/var /var xfs relatime 1 2 /dev/lvm01/1 swap swap defaults 0 0 /dev/sdb1 /media/hd vfat umask=0,users,iocharset=utf8,sync,noauto,exec 0 0 There is an entry there for /dev/cdrom, but I have no such file in /dev. In fact, I don't have any /dev/hd*. I have /dev/sda with sda1, sda2, sda5, and sda6, which I believe are the partitions on my hard drive. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 21, 2008 Report Share Posted January 21, 2008 The CD/DVD is an IDE device, therefore, there should be a /dev/hd* device for this. On one of my systems I have /dev/hda and /dev/hdb for hard disks, and /dev/hdc and /dev/hdd for DVD-ROM and DVD-RW. [root@esprit ~]# ls -l /dev/cd* lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/cdrom -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/cdrom-hdc -> hdc lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/cdrom-hdd -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/cdrw -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/cdrw-hdd -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/cdwriter -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/cdwriter-hdd -> hdd [root@esprit ~]# ls -l /dev/dv* lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/dvd -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/dvd-hdc -> hdc lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/dvd-hdd -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/dvdrw -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/dvdrw-hdd -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/dvdwriter -> hdd lrwxrwxrwx 1 root root 3 Jan 21 20:03 /dev/dvdwriter-hdd -> hdd as you can see, I have all the symlinked devices for /dev/cdrom, etc, etc, etc, which all point back to /dev/hdc or /dev/hdd. You're missing some sort of configuration for your IDE devices. I suggest you check out running harddrake, and see where your devices are and if anything is not configured and/or recognised. After booting your system, open a console window and as root, run dmesg to see if there's any info about problems relating to your drives. Quote Link to comment Share on other sites More sharing options...
PurpleGuitar Posted January 21, 2008 Author Report Share Posted January 21, 2008 I tried running harddrake2, but it doesn't show any optical drives at all. It does show my (E)IDE controller, though. I have no /dev/hda, /dev/hdb, /dev/hdc, or /dev/hdd. I looked through dmesg, but nothing jumped out at me. Any other ideas? Quote Link to comment Share on other sites More sharing options...
Reiver_Fluffi Posted January 21, 2008 Report Share Posted January 21, 2008 Ian, shouldn't HAL be picking up the drive. Similarly isn't Mandriva using the new libata, which means that all drives use the naming convention /dev/sda, /dev/sdb, etc irrespective of whether they are SATA/SCSI/ATAPI. For example, this is how my drives appear on my Fedora install: IDE 0-M 80G Maxtor HDD: /dev/sda IDE 0-S 80G Maxtor HDD: /dev/sdb S-ATA0 120G Maxtor HDD: /dev/sdc IDE 1-M Sony NEC CD Writer: /dev/sr0 IDE 1-S Asus DVD Writer: /dev/sr1 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 22, 2008 Report Share Posted January 22, 2008 Could be - check if you have a /dev/sr0? The system I posted from was a little older, and running a 2.6.18.xx kernel (CentOS 5). On my Fedora 8 I have /dev/sr0 too. Quote Link to comment Share on other sites More sharing options...
PurpleGuitar Posted January 22, 2008 Author Report Share Posted January 22, 2008 Could be - check if you have a /dev/sr0? I wasn't aware of the libata naming scheme, so I had been looking for /dev/hd*. I do in fact have two files, /dev/sr0 and /dev/sr1, even though I have only one optical drive. However, I cannot mount these using "sudo mount -t iso9660 /dev/sr0 /media/cdrom", and neither does it work with sr1. I get the error message "mount: /dev/sr0 (or sr1) is not a valid block device". Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 22, 2008 Report Share Posted January 22, 2008 Sudo has no special effect in Mandriva, unless you have run "visudo" and given special permissions to commands and/or users, or have added your current user to the "wheel" group. Instead of sudo, try "su -c" instead, and provide the regular root password. AFAIK only *buntu (and derivatives) users are sudoers by default. Quote Link to comment Share on other sites More sharing options...
PurpleGuitar Posted January 22, 2008 Author Report Share Posted January 22, 2008 Sudo has no special effect in Mandriva, unless you have run "visudo" and given special permissions to commands and/or users, or have added your current user to the "wheel" group. I've added myself to the sudoers. I'm not a novice, just confused about why my dvd burner device disappeared between 2007.1 and 2008. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted January 22, 2008 Report Share Posted January 22, 2008 just confused about why my dvd burner device disappeared between 2007.1 and 2008. Here's some info from my Mandriva 2008 system [root@halfway greg]# cat /etc/release Mandriva Linux release 2008.0 (Official) for i586 [root@halfway greg]# ls -l /dev/cd* lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/cdrom -> hdd lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/cdrom0 -> hdd lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/cdrom1 -> hdc lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/cdrw -> hdd lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/cdrw0 -> hdd lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/cdrw1 -> hdc [root@halfway greg]# ls -l /dev/dv* lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/dvd -> hdd lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/dvd0 -> hdd lrwxrwxrwx 1 root root 3 2008-01-22 09:30 /dev/dvd1 -> hdc [root@halfway greg]# ls -l /dev/sr* brw------- 1 root root 11, 0 2008-01-22 09:30 /dev/sr0 brw------- 1 root root 11, 1 2008-01-22 09:30 /dev/sr1 This may help you, or someone else here to help you. Sorry, but I don't have an answer as to why you are having this problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.