Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD drive not working as expected [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
alextz
n00b
n00b


Joined: 04 Jan 2006
Posts: 62
Location: Romania

PostPosted: Tue Feb 02, 2010 7:11 pm    Post subject: DVD drive not working as expected [SOLVED] Reply with quote

Since sometime ago my DVD-RW drive is not working as expected.
If I put a blank/written DVD in it , it doesn't seem to be noticing it, it thinks that there is no media in the drive. If I reboot it finds the disk in it but if i want to eject it, it doesn't do it.The disk is writeable this way. Pressing the button just makes it go out and then back again.

I keep getting like
Code:

hda: request sense failure: status=0xd0 { Busy }
hda: possibly failed opcode: 0xa0

in dmesg.

Any ideeas?


Last edited by alextz on Sat Feb 06, 2010 4:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Feb 03, 2010 1:44 am    Post subject: Reply with quote

post
Quote:
lspci -k
cat /etc/fstab
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Feb 03, 2010 1:58 am    Post subject: Reply with quote

I don't know about the first one, but the "no eject" feature
will probably go away once you switch to a pure CONFIG_ATA setup.
Back to top
View user's profile Send private message
alextz
n00b
n00b


Joined: 04 Jan 2006
Posts: 62
Location: Romania

PostPosted: Wed Feb 03, 2010 2:51 pm    Post subject: Reply with quote

lspci -k
Code:

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
   Subsystem: Giga-byte Technology Device 5000
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
   Kernel driver in use: pcieport
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
   Subsystem: Giga-byte Technology Device 5004
   Kernel driver in use: uhci_hcd
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
   Subsystem: Giga-byte Technology Device 5004
   Kernel driver in use: uhci_hcd
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
   Subsystem: Giga-byte Technology Device 5004
   Kernel driver in use: uhci_hcd
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
   Subsystem: Giga-byte Technology Device 5006
   Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
   Subsystem: Giga-byte Technology Device a002
   Kernel driver in use: HDA Intel
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
   Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
   Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
   Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
   Subsystem: Giga-byte Technology Device 5004
   Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
   Subsystem: Giga-byte Technology Device 5004
   Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
   Subsystem: Giga-byte Technology Device 5004
   Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
   Subsystem: Giga-byte Technology Device 5006
   Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
   Subsystem: Giga-byte Technology Device 5001
00:1f.2 SATA controller: Intel Corporation 82801IB (ICH9) 4 port SATA AHCI Controller (rev 02)
   Subsystem: Giga-byte Technology Device b005
   Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
   Subsystem: Giga-byte Technology Device 5001
   Kernel driver in use: i801_smbus
   Kernel modules: i2c-i801
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2)
   Subsystem: Giga-byte Technology Device 3468
   Kernel driver in use: nvidia
   Kernel modules: nvidia
03:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 02)
   Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
   Kernel driver in use: ahci
03:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 02)
   Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
   Kernel driver in use: JMicron IDE
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
   Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
   Kernel driver in use: r8169



and cat /etc/fstab
Code:
/dev/sda1      /boot      ext2      noauto,noatime   1 2
/dev/sda3      /      ext3      noatime      0 1
/dev/sda2      none      swap      sw      0 0
/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
/dev/sdb1      /home/          ext3      defaults   0 1   
/dev/sdc1               /home/alextz/Hard2 ext4         rw,suid,dev,exec,auto,user,async       0 1
#/dev/fd0      /mnt/floppy   auto      noauto      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Feb 03, 2010 5:14 pm    Post subject: Reply with quote

try commenting out the cdrom line in fstab and allowing dbus/hal/udev to handle it
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Feb 03, 2010 6:46 pm    Post subject: Reply with quote

DONAHUE wrote:
try commenting out the cdrom line in fstab and allowing dbus/hal/udev to handle it

And if (once) that fails, try the migration.

Actually, try it regardless, it's how it's supposed to be for a few kernel versions.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Feb 03, 2010 8:16 pm    Post subject: Reply with quote

@ Void
What do the phrases:
'pure CONFIG_ATA setup'
'try the migration'
mean? Too cryptic for a non Mage like me.

His lspci -k has all appropriate and only libata drivers in use.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Feb 03, 2010 8:57 pm    Post subject: Reply with quote

If there's a /dev/hd*, it's most probably not a pure setup,
in case of a cdrom, it should be /dev/sr*.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Feb 03, 2010 9:19 pm    Post subject: Reply with quote

@Void
Now I understand you.
Even though he shows the libata drivers in use there may be an interference if <*> ATA/ATAPI/MFM/RLL support ---> is marked in the menuconfig.
@alex
if commenting cdrom out of fstab does not change the problem:
recommend running:
Code:
grep CONFIG_IDE /usr/src/linux/.config

which should yield:
Quote:
CONFIG_IDE is not set

if:
Quote:
CONFIG_IDE=y

is produced instead, I'd recommend reconfiguring, recompiling, resaving the kernel with < > ATA/ATAPI/MFM/RLL support ---> marked in the menuconfig.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Feb 04, 2010 12:44 am    Post subject: Reply with quote

DONAHUE wrote:
His lspci -k has all appropriate and only libata drivers in use.

No, you missed one.
lspci -k:
03:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 02)
   Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
   Kernel driver in use: JMicron IDE

It should say
Code:
   Kernel driver in use: pata_jmicron
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Feb 04, 2010 12:54 am    Post subject: Reply with quote

Duh, thanks.
Back to top
View user's profile Send private message
alextz
n00b
n00b


Joined: 04 Jan 2006
Posts: 62
Location: Romania

PostPosted: Thu Feb 04, 2010 8:51 pm    Post subject: Reply with quote

How can I exclude ATA/ATAPI/IDE when my DVD-RW is an IDE drive?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Feb 04, 2010 9:38 pm    Post subject: Reply with quote

menuconfig as:
Quote:
Device Drivers --->
< > ATA/ATAPI/MFM/RLL support --->
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
<*> AHCI SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
< > ServerWorks Frodo / Apple K2 SATA support
< > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
< > NVIDIA SATA support
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA TX2/TX4 support
< > Promise SATA SX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
< > Initio 162x SATA support
< > ACPI firmware driver for PATA
< > ALi PATA support (Experimental)
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > CMD640 PCI PATA support (Very Experimental)
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support (Experimental)
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > Generic ATA support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support (Experimental)
< > HPT 372N/302N PATA support (Very Experimental)
< > HPT 343/363 PATA support
< > IT8211/2 PATA support
< > IT8213 PATA support (Experimental)
<*> JMicron PATA support
< > Compaq Triflex PATA support
< > Marvell PATA support via legacy mode
< > Intel PATA MPIIX support
< > Intel PATA old PIIX support
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support (Experimental)
< > Nat Semi NS87415 PATA support (Experimental)
< > OPTI621/6215 PATA support (Very Experimental)
< > OPTI FireStar PATA support (Very Experimental)
< > Older Promise PATA controller support (Experimental)
< > RADISYS 82600 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
< > SC1200 PATA support (Very Experimental)
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > Promise PATA 2027x support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support (Experimental)
< > VIA PATA support
< > Winbond SL82C105 PATA support
< > Intel SCH PATA support

and recompile, resave kernel
Back to top
View user's profile Send private message
alextz
n00b
n00b


Joined: 04 Jan 2006
Posts: 62
Location: Romania

PostPosted: Fri Feb 05, 2010 4:12 pm    Post subject: Reply with quote

Ok, I think it can be marked as SOLVED.

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum