Problems loading some select modules

Pradeep Satyanarayana pradeep at us.ibm.com
Sat Feb 25 09:14:02 EST 2006





I was trying to load some Infiniband modules (using modprobe) on Power5
machine (p570), and I get the following error:

WARNING: Error inserting findex
(/lib/modules/2.6.16-rc2/kernel/drivers/infiniband/core/findex.ko): Invalid
module format

Also, in /var/log/messages I see the following error about the same module:

kernel: findex: doesn't contain .toc or .stubs.

objdump -h findex.ko | grep toc

returns nothing. However,  when I tried that on another module I see the
following:

objdump -h ib_core.ko | grep toc
 16 .toc1         000002b8  0000000000000000  0000000000000000  0000d900
2**0
 18 .toc          00000038  0000000000000000  0000000000000000  0000e548
2**3

As expected the ib_core (and several other modules) load properly. Just
findex.ko has this problem.
I suspected problems with the wrong module being picked up and attempted an
insmod
of  the module by specifying the path; same problem.

I was using linux 2.6.16-rc2. This was a Sles9sp2 machine. The  gcc version
is :
gcc version 3.3.3 (SuSE Linux).

Identical kernel and Infiniband sources on RHEL4U3 machine (on a p570
again) have no problems and the modules
load properly.

On the RedHat machine the gcc version is :
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)

Any help with this is much  appreciated.


Pradeep
pradeep at us.ibm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20060224/22a2fb5f/attachment.htm 


More information about the Linuxppc64-dev mailing list