Red Hat Bugzilla – Bug 67372
Driver serveraid (ips.c ) : syntax error and link time problem
Last modified: 2007-03-26 23:54:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
Enabling SCSI serveraid support not as module there is a syntax error in file
ips.c line :547. With some quick checking I have found a misplacement of a
brace "}". (diff file attached)
After removed this error there is another problem during final linking :
scsidrv.o .... undefined reference to `local symbols in
discarded section .text.exit'
Checking again the code I have found the cause in a function marked as
__devexit that is not properly handled when build not as a module.
I have patched this point also whit a rather quick and dirty workaround and now
the kernel is running nicely.
Version-Release number of selected component (if applicable): 2.4.18-4
Steps to Reproduce:
1. build the kernel setting serveraid as built-in (not module)
diff ips.c ips.c.orig
< #ifdef MODULE
fixed in current erratum