This error means that you likely built the pvfs2 kernel module against
the wrong kernel lib/headers.

do a 'strings src/kernel/linux-2.6/pvfs2.ko | grep "2.6"`
and see if that matches 'uname -ar'

Rebuild against the correct kernel tree if it doesnt, that should fix it up.

~Kyle

Kyle Schochenmaier



On Tue, Feb 3, 2009 at 9:50 AM, Steven Truelove <[email protected]> wrote:
> Hi,
>
>  I am trying to set up pvfs2 using openib on Ubuntu 8.04.  uname -a: Linux
> msh-new 2.6.24-19-server #1 SMP Wed Jun 18 14:44:47 UTC 2008 x86_64
> GNU/Linux
>
>  I have been able to build the pvfs2 code, both the userspace and the kernel
> module.  However, when I try to insmod the kernel module, I get this error:
>
> r...@msh-new:~/pvfs2# insmod ./pvfs-2.7.1/src/kernel/linux-2.6/pvfs2.ko
> insmod: error inserting './pvfs-2.7.1/src/kernel/linux-2.6/pvfs2.ko': -1
> Invalid module format
>
>  And dmesg shows this error:
>
> pvfs2: disagrees about version of symbol struct_module
>
>
>
>  I would appreciate any help that can be offered!
>
> Thanks,
>
> Steven Truelove
>
>
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to