[Pvfs2-users] Can't insmod pvfs2.ko on Ubuntu 8.04

Emmanuel Florac eflorac at intellique.com
Tue Feb 3 11:15:12 EST 2009


Le Tue, 3 Feb 2009 09:59:25 -0600
Kyle Schochenmaier <kschoche at gmail.com> écrivait:

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

Even better, use "modinfo  src/kernel/linux-2.6/pvfs2.ko"

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

Either use the kernel headers matching your kernel, or if you're using
the sources instead :

1) copy /boot/Config-<kernel version>
to /usr/src/linux-<version>/.config
2) cd /usr/src/linux-<version> && make prepare && make modules_prepare
3) cd /usr/src/pvfs and make kmod


-- 
----------------------------------------
Emmanuel Florac     |   Intellique
----------------------------------------




More information about the Pvfs2-users mailing list