[PVFS2-users] Re: how to debug pvsf2

David Shirvanyants shir at email.unc.edu
Thu Jun 17 18:00:19 EDT 2004


On Wed, Jun 16, 2004 at 01:46:59PM -0700, Charles Shen wrote:

 >> Problem, i.e. Invalid module format when loading pvfs2.ko, persists
 >> after I did the following steps at pvfs2 root:
 >>
 >> make clean
 >> make kmod
 >> make kmod_install
 >> insmod /lib/modules/....../pvfs2.ko
 >>
 >> Here's the display:
 >>
 >> [root at server-2 pvfs2]# insmod
 >> /lib/modules/2.6.5-1.358custom/kernel/fs/pvfs2.ko
 >> insmod: error inserting
 >> '/lib/modules/2.6.5-1.358custom/kernel/fs/pvfs2.ko': -1 Invalid module
 >> format
 >>
 >> Do I still miss something? Is there a particular  sequence I should 
follow
 >> to load this kernel module,
 >> or I can load it at any moment despite pvfs2 server is running or not?

I had exactly the same problem with some other third-party module.
Your module has version 2.6.5-1.358custom, but your currently running
kernel is 2.6.5-1.358, as shows the output from uname -a.
You must build the module against the correct kernel source tree, in
your case this is probably the /lib/modules/2.6.5-1.358/build

David.


More information about the PVFS2-users mailing list