LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-01-2005, 02:39 PM   #1
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Rep: Reputation: 15
DVD drive not detected


I have a DVD-ROM drive and a DVD-RW drive.
The DVD-ROM is detected just find as /dev/hdd (secondary slave) but the DVD-RW is not detected at all. There is no device such as /dev/hdc created. (The DVD-RW is secondary slave)

dmesg doesn't list anything about it either.

I'm using Debian sarge with the default 2.6.8 kernel.
The Drive is an LG DVD-RW.

I know that the drive is working as it works when I boot WinXP and also works in Knoppix.

Has anybody ever come across anything like this before?
Could this be an issue with my kernel?

Thnaks.
 
Old 08-01-2005, 02:47 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
Does your bios see it without a problem?

What does 'dmesg | grep ide' and 'dmesg | grep hd' show?

If the DVD-RW is secondary slave, it should be /dev/hdd. Are you CERTAIN you don't have two secondary slaves?
 
Old 08-01-2005, 03:37 PM   #3
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Re: DVD drive not detected

Quote:
Originally posted by endfx
I have a DVD-ROM drive and a DVD-RW drive.
The DVD-ROM is detected just find as /dev/hdd (secondary slave) but the DVD-RW is not detected at all. There is no device such as /dev/hdc created. (The DVD-RW is secondary slave)
Sorry, but that doesn't make sense. You've indicated that both devices are secondary slaves, which one is the slave and which one is the slave? Furtheremore, are bother devices ATAPI?

The following may help:
Code:
apt-get install discover
discover
Edited: to make sure that discover 2 is installed instead of one.

Last edited by saman007uk; 08-01-2005 at 03:52 PM.
 
Old 08-01-2005, 03:43 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
Out of curiousity, what is 'discover'? I guess I could go google, but that's a pretty common term. Never seen/heard of it before myself.
 
Old 08-01-2005, 03:54 PM   #5
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Quote:
Discover is a hardware identification system based on the libdiscover2 library. Discover provides a flexible interface that programs can use to report a wide range of information about the hardware that is installed on a Linux system. In addition to reporting information, Discover includes support for doing hardware detection at boot time.
I have edited the command on my last post, in order to use the package disover inststead of discover1 (which is an older version).
 
Old 08-01-2005, 03:57 PM   #6
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Original Poster
Rep: Reputation: 15
You're right, that doesn't make sense at all.
The DVD-ROM device is secondary slave and is detected as /dev/hdd
The DVD-RW device is secondary master and is not detected (although it should be as /dev/hdc)

Sorry about that.

BIOS detects both drives correctly.

Result of `dmesg | grep ide` :

mike@debian:~$ dmesg | grep ide
BIOS-provided physical RAM map:
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 3febfbff 00000000 00000000 00000000
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 > p4
Probing IDE interface ide1...
ide1: Wait for ready failed before probe !
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !


And result of `dmesg | grep hd` :

mike@debian:~$ dmesg | grep hd
Kernel command line: root=/dev/hda2 ro vga=792
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD800JB-00CRA1, ATA DISK drive
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
hdd: SAMSUNG DVD-ROM SD-616Q, ATAPI CD/DVD-ROM drive
Adding 979956k swap on /dev/hda4. Priority:-1 extents:1
EXT3 FS on hda2, internal journal
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
EXT3 FS on hda5, internal journal


and thanks, but discover didn't really help my situation.

Anybody have any ideas?
 
Old 08-01-2005, 04:03 PM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
Indeed, hdc is not seen at all. That's very odd. Sounds like it's a BIOS settings issue. Make sure the bios settings for it and hdd are the same. (or as same as possible). Being both optical drives, they should not differ much at all.
 
Old 08-01-2005, 04:15 PM   #8
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
What kernel are you using? Do:
Code:
uname -a
 
Old 08-01-2005, 06:34 PM   #9
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Original Poster
Rep: Reputation: 15
The BIOS looks like it's set correctly.

mike@debian:~$ uname -a
Linux debian 2.6.8-1-386 #1 Thu Nov 25 04:24:08 UTC 2004 i686 GNU/Linux


Any suggestions?

Thanks.
 
Old 08-02-2005, 03:13 AM   #10
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
I had the same issue with a CDRW and a DVDRW (ASUS 1608P) drives, set up much like yours (pri. slave/sec. slave). The DVD drive didn't get recognized unless I passed '/dev/hdd=ide-cd' to the kernel or use scsi emulation, and even then it failed to see it 2 out of 3 times.
But that was under the 2.6.12-rc5 kernel. After I compiled and installed 2.6.12.3 it works perfectly, gets detected each time. I really don't know what the problem was or might be in your case, but I'd suggest to give a newer kernel a try.
 
Old 08-02-2005, 03:23 PM   #11
jjmac
LQ Newbie
 
Registered: Jun 2005
Location: Australia
Distribution: debian
Posts: 6

Rep: Reputation: 0
discover is a fairly basic detection tool. It will return some basic info on the devices connected to your system. It could be better

Just as a diversion though. This would have to be the wierdest submit box iv'e ever seen.

It's about 2.5 inches wide by about 6 inches long (grin).


jm
 
Old 08-02-2005, 05:17 PM   #12
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
What is the weirdest submit box?
 
  


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
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
raw drive not detected next to installed drive markraem Solaris / OpenSolaris 3 08-11-2005 03:21 PM
dvd detected as a hard drive berrance Linux - Hardware 3 11-20-2004 07:00 AM
dvd rom drive not detected snip128 Linux - Hardware 5 11-05-2004 11:53 PM
CD/DVD drive not detected Tyke Linux - Newbie 4 07-22-2004 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:24 AM.

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