[PVFS2-users] Re: how to debug pvsf2
cshen at cisco.com
Fri Jun 18 11:43:31 EDT 2004
You're exactly right. After changing the versions in the Linux makefile and
rebuild the pvfs2 kernel module, this error goes away.
Thanks a lot for help.
At 05:00 PM 6/17/2004 -0400, David Shirvanyants wrote:
>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
>PVFS2-users mailing list
>PVFS2-users at beowulf-underground.org
More information about the PVFS2-users