[Pvfs2-users] unable to insert kernel module pvfs2.ko
Tommy Butler
tommy at atrixnet.com
Thu May 31 01:20:58 EDT 2007
I started with a fresh build tree of pvfs2. I deleted the old directory,
created a new build tree by extracting from the source. I then patched the
tree. I then went into /usr/src/linux and ran a `make modules` in order to
generate the Module.symvers file that was missing per the previous error. I
then went back to the /usr/src/pvfs2 build tree and ran a configure against
the new kernel source tree (`./configure -with-mpi=/usr/bin/mpirun
-with-kernel=/usr/src/linux`)
I then did `make && make install && make kmod_install` and that went well
without any errors. Then...
once again:
root at node2:/usr/src/pvfs2# insmod src/kernel/linux-2.6/pvfs2.ko
insmod: error inserting 'src/kernel/linux-2.6/pvfs2.ko': -1 Invalid module
format
root at node2:/usr/src/pvfs2# dmesg|tail -n1
pvfs2: version magic '2.6.18 mod_unload 486 gcc-4.1' should be
'2.6.18-4-486mod_unload 486 REGPARM
gcc-4.1'
I have no idea what "REGPARM" is supposed to signify, but it seems to be the
clue I need to figure out the rest of the problem. Please, any thoughts?
*sigh* =(
--
Tommy Butler
On 5/31/07, Murali Vilayannur <murali.vilayannur at gmail.com> wrote:
>
> Tom,
> DId you rerun configure on PVFS2 with
> --with-kernel=/path/to/newest/kernel sources?
> It is best if you make clean prior to rerunning configure?
> Sorry that it is taking you longer than it takes normally..
> Please let us know how/what is going wrong and I am sure we can figure
> this out
> and get you going soon.
> It is a case of wrong build tool version/kernel sources.
> thanks,
> Murali
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20070531/e0b1e0f0/attachment.htm
More information about the Pvfs2-users
mailing list