Hi,
we are currently trying to evaluate PVFS with pNFS support. Therefore I downloaded the pNFS-enabled kernel from the repository on linux-nfs.org, which is a 2.6.32 kernel. Now I am trying to install PVFS2. As the normal release wouldn't compile with that kernel I checked the pvfs-2-8-branch out of CVS and tried that. But it won't compile either. First error message I get when trying to do make kmod_install is

/root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c: In function ‘pvfs2_flush_sb’: /root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c:1451: error: ‘struct super_block’ has no member named ‘s_dirty’ /root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c:1454: error: ‘struct super_block’ has no member named ‘s_dirty’ /root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c:1454: error: ‘struct super_block’ has no member named ‘s_dirty’
make[3]: *** [/root/pvfs28/pvfs2/src/kernel/linux-2.6/super.o] Error 1
make[2]: *** [_module_/root/pvfs28/pvfs2/src/kernel/linux-2.6] Error 2
make[1]: *** [default] Error 2
make: *** [just_kmod] Error 2

I could fix that one by changing s_dirty to s_dirt in the code but then the next error pops up :

/root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c: In function ‘pvfs2_flush_sb’: /root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c:1451: warning: passing argument 1 of ‘list_empty’ from incompatible pointer type include/linux/list.h:184: note: expected ‘const struct list_head *’ but argument is of type ‘unsigned char *’ /root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c:1454: error: request for member ‘next’ in something not a structure or union /root/pvfs28/pvfs2/src/kernel/linux-2.6/super.c:1454: warning: comparison of distinct pointer types lacks a cast
make[3]: *** [/root/pvfs28/pvfs2/src/kernel/linux-2.6/super.o] Error 1
make[2]: *** [_module_/root/pvfs28/pvfs2/src/kernel/linux-2.6] Error 2
make[1]: *** [default] Error 2
make: *** [just_kmod] Error 2

I assume more errors will follow. Is there any patch to compile against kernel 2.6.32?

- Christian

<<attachment: christian_mohrbacher.vcf>>

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to