Bug 13228 - aacraid statically linked to SMP kernel fails
aacraid statically linked to SMP kernel fails
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-06-29 15:11 EDT by Matt Domsch
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-01 12:21:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
NR_CPUs + PCI IDs update (5.99 KB, patch)
2000-07-24 17:10 EDT, Matt Domsch
no flags Details | Diff
SMP static-link panic fix patch (3.58 KB, patch)
2000-07-24 17:11 EDT, Matt Domsch
no flags Details | Diff
fixed 1.0.5 patch (3.41 KB, patch)
2000-07-24 17:33 EDT, Matt Domsch
no flags Details | Diff

  None (edit)
Description Matt Domsch 2000-06-29 15:11:55 EDT
The aacraid driver v1.0.3, when statically linked into an SMP kernel, 
Kernel panic: CPU 0 trying to acquire lock again: lock count = 1
In interrupt handler - not syncing

When loaded as a module, it works fine.  Adaptec and Dell are 
Comment 1 Matt Domsch 2000-07-24 17:10:45 EDT
Created attachment 1494 [details]
NR_CPUs + PCI IDs update
Comment 2 Matt Domsch 2000-07-24 17:11:23 EDT
Created attachment 1495 [details]
SMP static-link panic fix patch
Comment 3 Matt Domsch 2000-07-24 17:12:26 EDT
From: Boerner, Brian [Brian_Boerner@ntc.adaptec.com]
Sent: Monday, July 24, 2000 3:48 PM
To: 'dledford@redhat.com'; 'matt_domsch@dell.com'
Cc: Boerner, Brian
Subject: Adaptec aacraid 1.0.5 patch - fix for SMP kernel panic

Turns out the fix was actually quite simple. Looks like we were overriding
the top level
makefiles CFLAGS variable and picking up the UP define for spinlock_t.

Anyway, to make a long story short, the problem is solved.

Doug, I previously sent you the 1.0.4 patch, did you get it?

If so, the patches need to be applied in numerical order. So, apply the
1.0.4 patch
and then the 1.0.5 patch.

Thanks so much for you patients.

Comment 4 Matt Domsch 2000-07-24 17:33:16 EDT
Created attachment 1497 [details]
fixed 1.0.5 patch
Comment 5 Matt Domsch 2000-08-01 12:21:06 EDT
Fixed in beta 5 with version 1.0.5 of the aacraid driver.

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