LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-26-2004, 09:07 PM   #1
dualith
LQ Newbie
 
Registered: Nov 2004
Location: Darwin, Australia
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Can't detect DVD-RW drive [SOLVED: BUG]


I'm running an Abit IC7-G motherboard (ICH5R) with a SATA hard drive as the primary master (on SATA1) and a Pioneer DVR-106 DVD burner as the secondary master, on the primary IDE channel. I dual boot with win xp, windows can see and do things with this optical drive fine. However it seems as if my kernel can't even see this drive at all. cat /proc/sys/dev/cdrom/info reports this:

Code:
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:     
drive speed:   
drive # of slots:
Can close tray:
Can open tray: 
Can lock tray: 
Can change speed:
Can select disk:
Can read multisession:
Can read MCN:   
Reports media changed:
Can play audio:
Can write CD-R:
Can write CD-RW:
Can read DVD:   
Can write DVD-R:
Can write DVD-RAM:
Can read MRW:   
Can write MRW: 
Can write RAM:

I was thinking it could be a problem with my udev rules before I saw that. Now I think that the kernel isn't detecting it at all. Am I missing an option in menuconfig somewhere? Here's a bit of my .config:

Code:
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_IDEDISK is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set (i've tried this on and off, doesn't seem to
# make a difference)
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set (same thing with this)
# CONFIG_BLK_DEV_OPTI621 is not set
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set
Heres lspci too:
Code:
0000:00:00.0 Host bridge: Intel Corp. 82875P/E7210 Memory Controller Hub (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02)
0000:00:03.0 PCI bridge: Intel Corp. 82875P/E7210 Processor to PCI to CSA Bridge (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) SATA Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc R420 JI [Radeon X800PRO]
0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 4a69
0000:02:01.0 Ethernet controller: Intel Corp. 82547GI Gigabit Ethernet Controller
0000:03:02.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
0000:03:03.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)
My kernel is 2.6.10-rc1-vv_e2, I have hotplug enabled and devfs not enabled.
Thanks in advance to anyone that helps me, this is really frustrating

Last edited by dualith; 11-30-2004 at 04:44 AM.
 
Old 11-26-2004, 10:21 PM   #2
Slovak
Member
 
Registered: Oct 2004
Location: North Olmsted, Oh
Distribution: Slackware 10
Posts: 206

Rep: Reputation: 30
Try this as root and see if it lists any cd recording devices
cdparanoia -Qsv
or
cdrdao scanbus
or
cdrecord --scanbus
one of them should list any recording devices on your system, if all else fails, read this...
http://www.faqs.org/docs/Linux-HOWTO...O.html#AEN1008

Last edited by Slovak; 11-26-2004 at 10:44 PM.
 
Old 11-27-2004, 05:59 AM   #3
dualith
LQ Newbie
 
Registered: Nov 2004
Location: Darwin, Australia
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
cdparanoia:
Code:
(lots of output while it searches)
No cdrom drives accessible to root found.
cdrdao:
Code:
Cdrdao version 1.1.9 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
cdrecord:
Code:
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jöòg Schilling
cdrecord: Warning: Running on Linux-2.6.10-rc1-vv_e2
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
I looked at that troubleshooting list, and went through each step.

Step 1: Yes I am running the kernel I compiled, yes I checked

Step 2:
cat /proc/devices gives me this:
Code:
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
128 ptm
136 pts
180 usb
226 drm

Block devices:
  1 ramdisk
  2 fd
  8 sd
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
I'm pretty clueless myself as to what that means though

cat /proc/filesystems:
Code:
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   binfmt_misc
nodev   usbfs
nodev   pipefs
nodev   futexfs
nodev   tmpfs
nodev   eventpollfs
nodev   devpts
        reiser4
        ext2
nodev   ramfs
        iso9660
        udf
nodev   mqueue
        ntfs
So iso9660 is definately there.

cat /proc/ioports:
Code:
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : libata
01f0-01f7 : libata
03c0-03df : vga+
  03c0-03df : vesafb
0400-047f : 0000:00:1f.0
  0400-0403 : PM1a_EVT_BLK
  0404-0405 : PM1a_CNT_BLK
  0408-040b : PM_TMR
  0428-042f : GPE0_BLK
0480-04bf : 0000:00:1f.0
0500-051f : 0000:00:1f.3
0cf8-0cff : PCI conf1
7000-7007 : 0000:03:03.0
7400-7403 : 0000:03:03.0
7800-7807 : 0000:03:03.0
7c00-7c03 : 0000:03:03.0
8000-800f : 0000:03:03.0
9000-9fff : PCI Bus #02
  9000-901f : 0000:02:01.0
    9000-901f : e1000
a000-afff : PCI Bus #01
  a000-a0ff : 0000:01:00.0
b000-b01f : 0000:00:1d.1
  b000-b01f : uhci_hcd
b400-b41f : 0000:00:1d.2
  b400-b41f : uhci_hcd
b800-b81f : 0000:00:1d.3
  b800-b81f : uhci_hcd
bc00-bc1f : 0000:00:1d.0
  bc00-bc1f : uhci_hcd
d800-d8ff : 0000:00:1f.5
dc00-dc3f : 0000:00:1f.5
f000-f00f : 0000:00:1f.2
  f000-f00f : libata
Step 3: This is the interesting one. I had a close look at the output of dmesg and saw this, it's the only reference to anything to do with IDE/ATA devices, to save me posting my whole dmesg:
Code:
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7b09 84:4003 85:7c69 86:3a01 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 240121728 sectors:
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
  Vendor: ATA       Model: Maxtor 6Y120M0    Rev: YAR5
  Type:   Direct-Access                      ANSI SCSI revision: 05
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
ata2: dev 0 cfg 49:0f00 82:0218 83:4000 84:4000 85:0218 86:0000 87:4000 88:0407
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
I assume all the stuff regarding ata2 is to do with my dvd drive. Nowhere in my dmesg does it say the model name or even that it's a dvd drive, however. I thought of something else that may help too, the fact that I am not running SCSI emulation but I am using the SCSI driver for my SATA controller.

Last edited by dualith; 11-27-2004 at 06:01 AM.
 
Old 11-27-2004, 08:45 AM   #4
Slovak
Member
 
Registered: Oct 2004
Location: North Olmsted, Oh
Distribution: Slackware 10
Posts: 206

Rep: Reputation: 30
Try scsi emulation, or even better yet I was wondering why you have it on the primary ide? Why not just put it on the secondary ide as master?
 
Old 11-27-2004, 05:26 PM   #5
dualith
LQ Newbie
 
Registered: Nov 2004
Location: Darwin, Australia
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
It isn't actually the primary master, it's just the master on the primary IDE channel. I have my bios set up to automatically configure my hard drive, on SATA1, as the real primary master. Physically, my DVD drive is the primary master, but to my computer, it is the secondary master.

I will try SCSI emulation however I've heard it isn't neccessary to have it in 2.6 kernels to be able to burn cds (or even detect my drive ), so if there's another method anyone thinks should be working then please still post it, I will be very grateful
 
Old 11-30-2004, 04:44 AM   #6
dualith
LQ Newbie
 
Registered: Nov 2004
Location: Darwin, Australia
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
Solved, found out it's a bug with PIIX chipset support in 2.6.10-rc1

guess thats my punishment for using a testing-kernel :P
 
  


Reply



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
Cannot detect CDRW drive, Kernel 2.6.9, Mitsumi drive scuzzman Linux - Hardware 1 06-02-2005 06:07 PM
fedora 3 wont detect my cd rw,dvd rw burner my-unix-dream Linux - Newbie 3 05-12-2005 05:57 PM
SuSE 9.2 install fails to detect DVD-RAM skunkcabbage SUSE / openSUSE 1 01-20-2005 02:16 PM
Dualboot WinXP doesn't detect DVD-RW rockbttm Linux - Newbie 4 09-29-2004 12:35 PM

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

All times are GMT -5. The time now is 11:55 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
Open Source Consulting | Domain Registration