Bug 159372 - spin_lock panic in IDE autotuning
spin_lock panic in IDE autotuning
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Alan Cox
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-06-01 20:38 EDT by Bryce
Modified: 2007-11-30 17:11 EST (History)
3 users (show)

See Also:
Fixed In Version: 2.6.11-1.14_FC3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-08 09:29:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Spin_lock crash (136.02 KB, image/gif)
2005-06-01 20:38 EDT, Bryce
no flags Details
Section of code involved (32.63 KB, image/gif)
2005-06-01 20:40 EDT, Bryce
no flags Details
Possible fix (982 bytes, patch)
2005-07-11 05:30 EDT, Alan Cox
no flags Details | Diff

  None (edit)
Description Bryce 2005-06-01 20:38:02 EDT
Description of problem:

spinlock panic

Version-Release number of selected component (if applicable):

How reproducible:

on reboot every now and then

I can tell you exactly whats happening
Observe the two attached images
one shows the panic and the other is a screenshot of the code involved

notice the two spin_lock_irqsave()'s
Whats happening is simple, when there is a reset of the drive it invokes a
restore of timings. This is part of auto tuning, so it is obvious you get a
double lock down, hence the spinlock crash.

Comment 1 Bryce 2005-06-01 20:38:59 EDT
Created attachment 115072 [details]
Spin_lock crash

Crash on reboot
Comment 2 Bryce 2005-06-01 20:40:09 EDT
Created attachment 115073 [details]
Section of code involved

The red cursors identify the code lines involved
Comment 3 Bryce 2005-06-01 21:27:07 EDT
Incidentally this arises from the mainline 2.6.11 kernel source and isn't the
result of any patchs that are added to the kernel by RHAT

Comment 4 Alan Cox 2005-07-11 05:28:27 EDT
Umm yes. Does the attachment I'll add fix it ?
Comment 5 Alan Cox 2005-07-11 05:30:14 EDT
Created attachment 116592 [details]
Possible fix
Comment 6 Dave Jones 2005-07-15 15:14:51 EDT
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which
may contain a fix for your problem.   Please update to this new kernel, and
report whether or not it fixes your problem.

If you have updated to Fedora Core 4 since this bug was opened, and the problem
still occurs with the latest updates for that release, please change the version
field of this bug to 'fc4'.

Thank you.
Comment 7 Bryce 2005-09-08 09:29:49 EDT
Seems to be fixed (it was a every now and then bug in the first place) I've not
seen it for quite some time so I think this is fixed.



Note You need to log in before you can comment on or make changes to this bug.