Hi, I am trying to set up the pvfs2 kernel module on a 3tera appliance which is using a custom patched XenU kernel.
The kernel is based on the 2.6.18.8 kernel but with a lot of patches. My problem is that when I run the "make kmod" command I get the following errors: [r...@apache1 pvfs-2.8.2]# make kmod make -C /usr/src/redhat/BUILD/xen-3.3.2/linux-2.6.18-xen.hg O=/usr/src/redhat/BUILD/xen-3.3.2/build-linux-2.6.18-xenU_x86_64 modules Updating /root/pvfs-2.8.2/src/kernel/linux-2.6/Makefile.xen CC [M] /root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.o In file included from /root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:7: /root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-kernel.h:1286: error: conflicting types for Б─≤kzallocБ─≥ /usr/src/redhat/BUILD/xen-3.3.2/linux-2.6.18-xen.hg/include/linux/slab.h:165: error: previous definition of Б─≤kzallocБ─≥ was here /root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c: In function Б─≤pvfs2_inode_removexattrБ─≥: /root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1048: error: Б─≤XATTR_REPLACEБ─≥ undeclared (first use in this function) /root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1048: error: (Each undeclared identifier is reported only once /root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1048: error: for each function it appears in.) make[5]: *** [/root/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.o] Error 1 make[4]: *** [_module_/root/pvfs-2.8.2/src/kernel/linux-2.6] Error 2 make[3]: *** [modules] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [default] Error 2 make: *** [just_kmod] Error 2 The sources/patches are here: http://forum.3tera.com/showpost.php?p=11051&postcount=14 Does anyone have any experience with pvfs2 on Xen? Please help _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
