New: Teac DV28EV stops working with ide-cd
http://bugzilla.kernel.org/show_bug.cgi?id=11498
Summary: Teac DV28EV stops working with ide-cd
Product: IO/Storage
Version: 2.5
KernelVersion: 2.6.27-rc5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: IDE
AssignedTo: [email protected]
ReportedBy: [email protected]Latest working kernel version: 2.6.18
Earliest failing kernel version: 2.6.26-rc2
Distribution: RHEL 5
Hardware Environment: Dell PowerEdge 6950, TEAC DVD-ROM DV28EV Software Environment:
Problem Description:
The DVD-ROM drive starts returning status 0xd0 after the machine has been running for some time. The drive is not being used, but HAL is installed and appears to open the device every 5 seconds, so at least its status is being read. This could be a hardware/firmware problem but has only been observed when running recent kernels (2.6.26-rc2 and 2.6.27-rc5). It has also been observed on a Dell PowerEdge 2950 with the same model of DVD-ROM drive.
Steps to reproduce:
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
http://bugzilla.kernel.org/show_bug.cgi?id=11498
------- Comment #1 from [email protected] 2008-09-05 07:32 ------- The kernel config is based on the RHEL 5 PAE kernel config; I will attach the config we used for 2.6.27-rc5. I'm not sure it's feasible to bisect this as the error has only been seen after the machine has been running for several hours.
We saw the following kernel error messages:
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: drive not ready for command
The last three lines were repeated at 5-second intervals, apparently whenever the device was opened.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
------- Comment #2 from [email protected] 2008-09-05 07:42 ------- Created an attachment (id=17635)
--> (http://bugzilla.kernel.org/attachment.cgi?id=17635&action=view)
config for 2.6.27-rc5
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
------- Comment #3 from [email protected] 2008-09-06 06:06 ------- Ok, attached is an inquisitive patch. Ben, do you care to apply it ontop of 27-rc5 and then send me the output so that we know for which packet command the irq times out and thus see what hald is saying to the drive?
Thanks.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
------- Comment #4 from [email protected] 2008-09-06 06:08 ------- Created an attachment (id=17648)
--> (http://bugzilla.kernel.org/attachment.cgi?id=17648&action=view)
dump failing packet command
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
------- Comment #5 from [email protected] 2008-10-08 01:03 ------- I started to investigate this problem when it was also reported to me. The issue seems to pertain to the TEAC DV*28* family of devices only. The HAL 'hald-addon-storage' polling daemon seemed to be the process that perturbed the problem, as a result I extracted the relevant syscalls from an strace and was able to develop a simple stand-alone reproducer script and C-program.
Here are the results of a test run, showing the problem:
[root@gtr01 tests]# ./tryme
Problem seen 14 times in 500000 iterations
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
------- Comment #6 from [email protected] 2008-10-08 01:09 ------- Created an attachment (id=18210)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18210&action=view)
The tryme script, runs the test program and monitors the results.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
------- Comment #7 from [email protected] 2008-10-08 01:10 ------- Created an attachment (id=18211)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18211&action=view)
The test program
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #18210|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11498] Teac DV28EV stops working with ide-cd
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11498
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|[email protected] |[email protected] Status|NEW |ASSIGNED
Signature · 4 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee.