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:

[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/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 <[EMAIL PROTECTED]> 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

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to