[Pvfs2-users] latest CVS and linux kernel 2.6.27

Ryuta Suzuki suzu0037 at aem.umn.edu
Sat Oct 11 21:50:16 EDT 2008


Hi,

Now linux kernel 2.6.27 is out.
I try to build pvfs2 kernel module against 2.6.27.
The module compiles but incompatible to this version of kernel, and it 
cannot be loaded (and mount fails, etc. etc.)

CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-utils.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/devpvfs2-req.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-cache.o
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-cache.c: 
In function ‘dev_req_cache_initialize’:
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-cache.c:228: 
warning: passing argument 5 of ‘kmem_cache_create’ from incompatible 
pointer type
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-cache.c: 
In function ‘pvfs2_inode_cache_initialize’:
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-cache.c:330: 
warning: passing argument 5 of ‘kmem_cache_create’ from incompatible 
pointer type
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-cache.c: 
In function ‘kiocb_cache_initialize’:
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-cache.c:420: 
warning: passing argument 5 of ‘kmem_cache_create’ from incompatible 
pointer type
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/dcache.o
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.o
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c: In 
function ‘check_mapping_tree’:
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c:802: 
warning: passing argument 1 of ‘_read_lock’ from incompatible pointer type
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c:822: 
warning: passing argument 1 of ‘_read_unlock’ from incompatible pointer type
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c: In 
function ‘locate_file_pages’:
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c:894: 
warning: passing argument 1 of ‘_read_lock’ from incompatible pointer type
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c:915: 
warning: passing argument 1 of ‘_read_unlock’ from incompatible pointer type
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c:918: 
warning: passing argument 1 of ‘_read_lock’ from incompatible pointer type
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/file.c:938: 
warning: passing argument 1 of ‘_read_unlock’ from incompatible pointer type
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/inode.o
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/inode.c:369: 
warning: initialization from incompatible pointer type
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/dir.o
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/namei.o
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/namei.c:547: 
warning: initialization from incompatible pointer type
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/super.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-mod.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-bufmap.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/symlink.o
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/symlink.c:72: 
warning: initialization from incompatible pointer type
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/xattr.o
CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/acl.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/xattr-trusted.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/xattr-default.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/waitqueue.o
CC [M] 
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2-proc.o
LD [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2.o
Building modules, stage 2.

If there's a patch, I'll be happy to give it a shot. Thank you.

-ryuta


More information about the Pvfs2-users mailing list