Red Hat Bugzilla – Bug 586482
ATIIXP IDE driver reuses ide_lock unsafely
Last modified: 2011-02-14 10:06:21 EST
+++ This bug was initially created as a clone of Bug #216289 +++
+++ This bug was initially created as a clone of Bug #178121 +++
Splitting this as its two bugs
-- Additional comment from email@example.com on 2006-11-12 19:00 EST --
Some more information; I put in a Zod DVD to do an upgrade and the BIOS wasn't
set to boot from CD. So when I came back to the computer I had the usual
lockup, but this time a stacktrace as well! Included for your debugging pleasure:
BUG: spinlock recursion on CPU#0, swapper/0 (Not tainted)
lock: c06e6980, .magic: dead4end, .owner: swapper/0, .owner_cpu: 0
[<f8930c9e>] cdrom_decode_status+0x219/0x2a5 [ide_cd]
[<f8931466>] cdrom_read_intr+0x58/0x30e [ide_cd]
Hopefully I typed all that correctly...
-- Additional comment from firstname.lastname@example.org on 2006-11-18 03:22 EST --
For grins I replaced the Pioneer writer with an LG writer and the kernel crash
gives the same stack.
Someone with perms can set this for fc6, and clear NEEDINFO unless there's more
--- Additional comment from email@example.com on 2007-01-02 10:42:49 EST ---
Upstream patch prepared
--- Additional comment from firstname.lastname@example.org on 2007-01-04 15:33:24 EST ---
URL for Alan's patch:
(I'm not "sufficiently empowered") to modify the URL field.
Created attachment 409533 [details]
Fix atiixp locking
Don't abuse ide_lock in atiixp.
Created attachment 414894 [details]
RHEL5 fix for this issue
Updated patch to latest RHEL5.
Based on comment #9, INSUFFICIENT_DATA.
*** Bug 643141 has been marked as a duplicate of this bug. ***
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5
Detailed testing feedback is always welcomed.
Do you know what hardware I need to reproduce this bug?
(In reply to comment #18)
> Do you know what hardware I need to reproduce this bug?
> Thank you.
No HW available unfortunately. But you can sanity test with any system with a DVD drive in it.
No hardware for testing.
Code reviewed. kernel-2.6.18-236.el5 has the patch "linux-2.6-ide-atiixp-fix-locking-hang-in-ide-layer-atiixp-driver.patch" applied.
Set as SanityOnly.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.