Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104826 - Laptop DVD drive nonfunctional
Summary: Laptop DVD drive nonfunctional
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-04 11:23 UTC by witr
Modified: 2006-01-11 07:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output from boot. (dmesg,13.79 KB, text/plain)
2005-09-04 11:25 UTC, witr
Details
Kernel config (wideloadconfig,43.10 KB, text/plain)
2005-09-04 11:28 UTC, witr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description witr 2005-09-04 11:23:59 UTC
New laptop computer (HP DV4150US) has a DVD drive that works correctly under win
XP but does not work correctly under Gentoo.  Instead it exhibits the following
symptoms:

1) Attempting to show a DVD using all the players I have access to (including
Mplayer, RealPlayer, Totem, Ogle, and Xine) is unable to play the DVD and
produces errors similar to these:

libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000228
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000c805
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00017e71
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0034f07b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0034f07f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0036e2ca
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_0.VOB (0x0036e2ca)
libdvdread: Elapsed time 4
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0036e2ce
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x0036e2ce)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0038de12
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_0.VOB (0x0038de12)
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0038de16
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x0038de16)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x003e1f0e
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_0.VOB (0x003e1f0e)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003e1f12
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_1.VOB (0x003e1f12)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003e1f38
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_0.VOB (0x003e1f38)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003e1f3c
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_1.VOB (0x003e1f3c)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x003e1f53
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003e1f57
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x003e3781
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003e3785
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 5

/var/log/messages shows:

Sep  4 14:00:32 wideload UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume
'THE_BOURNE_IDENTITY', timestamp 2002/11/20 19:44 (1f10)
Sep  4 14:01:33 wideload hdb: command error: status=0x51 { DriveReady
SeekComplete Error }
Sep  4 14:01:33 wideload hdb: command error: error=0x50 { LastFailedSense=0x05 }
Sep  4 14:01:33 wideload ide: failed opcode was: unknown
Sep  4 14:01:33 wideload end_request: I/O error, dev hdb, sector 14388008
Sep  4 14:01:33 wideload Buffer I/O error on device hdb, logical block 3597002
Sep  4 14:01:33 wideload hdb: command error: status=0x51 { DriveReady
SeekComplete Error }
Sep  4 14:01:33 wideload hdb: command error: error=0x50 { LastFailedSense=0x05 }
Sep  4 14:01:33 wideload ide: failed opcode was: unknown

... and on.

2) Ripping CD music on this drive is very slow, generally less than 1.0X.  It is
much faster in XP.

Since I get similar errors with all players I suspect a driver or chipset problem.

wideload ~ # lspci
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express
Processor to DRAM Controller (rev 04)
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile
915GM/GMS/910GML Express Graphics Controller (rev 04)
0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML
Express Graphics Controller (rev 04)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 1 (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1e.2 Multimedia audio controller: Intel Corporation
82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97
Modem Controller (rev 04)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge
(rev 04)
0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) IDE Controller (rev 04)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus
Controller (rev 04)
0000:06:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
0000:06:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
0000:06:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394
Host Controller
0000:06:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated
FlashMedia Controller
0000:06:06.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621,
PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
0000:06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
wideload ~ # hdparm /dev/hdb

/dev/hdb:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument
wideload ~ # uname -srmpi
Linux 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel

I'll append other info that may help.
Comment 1 witr 2005-09-04 11:25:13 UTC
Created attachment 67644 [details]
dmesg output from boot.
Comment 2 witr 2005-09-04 11:28:24 UTC
Created attachment 67645 [details]
Kernel config
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 12:26:03 UTC
Sorry, this is not a bug and definitely not a Gentoo specific one. Seek help in
the forums, not in Gentoo bugzilla. 
Comment 4 witr 2005-09-04 14:33:05 UTC
I suggest this bug is _not_ invalid and should be re-opened for the following
reasons:

1) I have researched this for many hours in the forums.  There are easily 15 or
more threads where this problem is discussed and there has been no conclusive
solution discovered.  The number of people impacted by this problem is at least
as large as the number of threads, and probably many times that.

2) The problem occurs with every media player tested, and from my research of
the forums, many different drives.  This suggests that the problem is related to
drivers for the chipsets or the ide subsystem, i.e. kernel/driver related.

3) I am using gentoo-sources which is most certainly gentoo-specific.

4) It is hard to imagine how this could _not_ be considered a bug unless one
were to argue it is normal behavior for the disk driver to report seek errors
and fail to correctly read DVDs or for high-performance laptops to be unable to
rip at even 1.0x speeds.  Especially when neither problem occurs with another OS
running on the same system.

In summary, I think this problem _is_ a bug for any reasonable definition of the
term, and that it involves gentoo-specific software, and thus it qualifies to be
treated as such in the bug-tracker.
Comment 5 witr 2005-09-04 15:13:39 UTC
I created a forum thread to consolidate and track this problem.  Maybe the
community can come up with something.

http://forums.gentoo.org/viewtopic-t-377456.html
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 15:42:46 UTC
(In reply to comment #4)

The former error means that libdvdcss is unable to decrypt your CSS-protected
DVD for whatever reason. Is the region set correctly for the DVD you are trying
to play? 

The other one suggests cable/hardware problems (also seeing that your music
ripping runs at 1x does not really assure me that your drive is in a sane state).
Comment 7 gmud 2006-01-11 07:50:02 UTC
I have the same problem here with two machines.

I also get these errors and dmesg says:
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }

This isn't a hardware problem, it's software related. I suggest to reopen the bug!