<html><body>
<p>I was trying to load some Infiniband modules (using modprobe) on Power5 machine (p570), and I get the following error:<br>
<br>
WARNING: Error inserting findex (/lib/modules/2.6.16-rc2/kernel/drivers/infiniband/core/findex.ko): Invalid module format<br>
<br>
Also, in /var/log/messages I see the following error about the same module:<br>
<br>
kernel: findex: doesn't contain .toc or .stubs.<br>
<br>
objdump -h findex.ko | grep toc<br>
<br>
returns nothing. However,  when I tried that on another module I see the following:<br>
<br>
objdump -h ib_core.ko | grep toc<br>
 16 .toc1         000002b8  0000000000000000  0000000000000000  0000d900  2**0<br>
 18 .toc          00000038  0000000000000000  0000000000000000  0000e548  2**3<br>
<br>
As expected the ib_core (and several other modules) load properly. Just findex.ko has this problem.<br>
I suspected problems with the wrong module being picked up and attempted an insmod<br>
of  the module by specifying the path; same problem.<br>
<br>
I was using linux 2.6.16-rc2. This was a Sles9sp2 machine. The  gcc version is :<br>
gcc version 3.3.3 (SuSE Linux).<br>
<br>
Identical kernel and Infiniband sources on RHEL4U3 machine (on a p570 again) have no problems and the modules<br>
load properly.<br>
<br>
On the RedHat machine the gcc version is :<br>
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)<br>
<br>
Any help with this is much  appreciated.<br>
<br>
<br>
Pradeep<br>
pradeep@us.ibm.com</body></html>