LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-16-2005, 07:37 PM   #1
thanto_
Member
 
Registered: Jun 2005
Location: Irvine, CA
Distribution: Red Hat Fedora Core 4
Posts: 36

Rep: Reputation: 15
not seeing my second optical drive


I have one HDD on my first IDE cable. Second IDE cable has DVD-ROM and CD-RW attached (in that order). I have two problems. The first is that it's not recognizing my CD-RW as a CD-RW, only as a CD-ROM. It reads just fine, though. The second problem is that its not recognizing my DVD-ROM at all. I just checked the wiring, and everything is fine. When I had a Knoppix Live CD, it recognized the DVD, but oftentimes, it would get stuck closed (IE: pressing the eject button would only make the light blink a few times, as if it were going to open, but it would just stay closed), and I would have to manually pop it open with a paperclip. And no, I didn't have that problem before I switched to Linux.

Running Slackware 10.1
Kernal 2.4.29 (from the Slackware 10.1 installer CD)
Mobo is Asus A7V333
CD-RW is a LiteOn 52x32x52x
DVD-ROM is something generic, has HP logo...
 
Old 07-16-2005, 09:11 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
if you want to burn, you have to add the option "hdc=ide-scsi" to your boot options, in lilo.conf, then to run lilo. (look for a line named "append" in /etc/lilo.conf)

what you mean by "not recognizing the dvd" ?
Do you see it in "dmesg"?
Do you get errors messages when you try to mount?
Is "hdparm -vi /dev/hdd" show you some info about the device?
 
Old 07-17-2005, 07:08 PM   #3
thanto_
Member
 
Registered: Jun 2005
Location: Irvine, CA
Distribution: Red Hat Fedora Core 4
Posts: 36

Original Poster
Rep: Reputation: 15
What I meant by it not recognizing the DVD-ROM drive is that when I go to check my fstab, it's not there. There's no DVD-ROM to mount. I don't see any line in lilo.conf named "append". ok, I see the DVD-ROM in dmesg.
hdd: ATAPI DVD-ROM 16X, ATAPI CD/DVD-ROM drive

I just tried adding /dev/hdd as a DVD-ROM drive in devices (I'm running KDE 3.3, by the way), and it said unknown DVD-ROM device. Anyway, here's the output from hdparm -vi /dev/hdd

/dev/hdd:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument

Model=ATAPI DVD-ROM 16X, FwRev=231A, SerialNo=DVD-ROM F/W 001
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:227,w/IORDY:120}, tDMA={min:120,rec:150}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
 
Old 07-17-2005, 07:48 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
First off, devices do not magically appear in fstab. In the old days (lol) one would have to manually enter them. Now, the gnome-volume-manager does it for gnome, and I imagine KDE has a similar functionality.

Did you make sure the DVD drive was unmounted prior to trying to open it? Otherwise, the system won't let it be ejected.

You can manually add your dvd drive to fstab by just copying the line for your cd-rom and changing the device and mountpoint.
 
Old 07-17-2005, 08:19 PM   #5
thanto_
Member
 
Registered: Jun 2005
Location: Irvine, CA
Distribution: Red Hat Fedora Core 4
Posts: 36

Original Poster
Rep: Reputation: 15
If KDE has something similar, I don't know what its called. The DVD-ROM was never mounted. I don't see how it could have been mounted. It was never installed in the first place. When I had Knoppix running, it wouldn't eject after I had unmounted it. In any case, what do I put in fstab specifically? The device for the CD-RW is /dev/cdrom, not /dev/hdc, and using /dev/dvdrom doesn't work... What exactly do I put?
 
Old 07-17-2005, 09:18 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Actually, if the cd-rw is the master on the secondary controller, it IS /dev/hdc. The DVD, additionally, (as shown above) is /dev/hdd. /dev/cdrom is just a symlink (symbolic link) to /dev/hdc. If you want one for the dvdrom, do "ln -sf /dev/hdd /dev/dvdrom".
 
Old 07-17-2005, 11:33 PM   #7
thanto_
Member
 
Registered: Jun 2005
Location: Irvine, CA
Distribution: Red Hat Fedora Core 4
Posts: 36

Original Poster
Rep: Reputation: 15
ok, I created a symlink and added the info to fstab, but now it says the mount point (/mnt/dvdrom) doesn't exist. Here's my fstab (underscores added in the post for fomatting purposes):

/dev/hda5_____swap_______swap_____defaults__________0__0
/dev/hda2_____/___________reiserfs___defaults__________1__1
/dev/cdrom____/mnt/cdrom___auto______noauto,owner,ro__0__0
/dev/dvdrom___/mnt/dvdrom__auto______noauto,owner,ro__0__0
/dev/fd0______/mnt/floppy____auto______noauto,owner____0__0
devpts_______/dev/pts______devpts____gid=5,mode=620__0__0
proc_________/proc________proc______defaults_________0__0
 
Old 07-17-2005, 11:42 PM   #8
thanto_
Member
 
Registered: Jun 2005
Location: Irvine, CA
Distribution: Red Hat Fedora Core 4
Posts: 36

Original Poster
Rep: Reputation: 15
Tried it with a CD (music), a DVD (movie), and empty. I get the same error message every time. whole message is as follows:

[mntent]: warning: no final newline at the end of /etc/fstab

mount: mount point /mnt/dvdrom does not exist.

Please check that the disk is entered correctly.
 
Old 07-17-2005, 11:50 PM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Add a blank line to the end of /etc/fstab, then mkdir /mnt/dvdrom and go for it again. Guess I should've clarified that bit.
 
Old 07-18-2005, 12:08 AM   #10
thanto_
Member
 
Registered: Jun 2005
Location: Irvine, CA
Distribution: Red Hat Fedora Core 4
Posts: 36

Original Poster
Rep: Reputation: 15
ok, it works now! thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
optical drive help lucent Linux - Hardware 2 07-18-2005 04:31 AM
optical drive mounting AxXium Slackware 7 05-12-2005 11:02 AM
How to setup more than 1 ATAPI optical drive as SCSI Ninja_212 Slackware 4 12-12-2004 09:34 PM
automagically mount Magneto-Optical Drive? wytiger Fedora 0 07-27-2004 10:56 PM
Using VMware with a USB optical drive andrewb758 Linux - Software 0 05-14-2004 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration