[Pvfs2-users] latest CVS and linux kernel 2.6.27

Ryuta Suzuki suzu0037 at aem.umn.edu
Thu Oct 23 19:28:51 EDT 2008


Hi Phil,

I had grabbed the source from CVS repository. I updated the source and 
confirmed that it builds correctly. Thank you for the fix.

Just to make sure the patch work I downloaded the official releases, 
applying the patch to build kmod without success:

/home/ryuta/tmp/pvfs-2.7.1/src/kernel/linux-2.6/super.c:855: error: 
unknown field ‘put_inode’ specified in initializer
/home/ryuta/tmp/pvfs-2.7.1/src/kernel/linux-2.6/super.c:855: warning: 
initialization from incompatible pointer type
make[3]: *** [/home/ryuta/tmp/pvfs-2.7.1/src/kernel/linux-2.6/super.o] 
Error 1
make[2]: *** [_module_/home/ryuta/tmp/pvfs-2.7.1/src/kernel/linux-2.6] 
Error 2

If my memory serves me correctly, there must be another patches for the 
kernel module to accommodate the change in the linux kernel.

Anyway, thanks for the patch.

ryuta


Phil Carns wrote:
> Hi Ryuta,
>
> What version of PVFS are you using?  Sumit Narayan and I have updated 
> the CVS version of PVFS to build correctly against 2.6.27, but I'm not 
> sure if the patch will apply to the official releases.  The patch is 
> attached to this email if you want to give it a try.
>
> thanks,
> -Phil
>
> Phil Carns wrote:
>> Hello Ryuta,
>>
>> We don't have a patch for this yet, but I confirmed the same 
>> compilation problems here as well.  Looks like we need to add a 
>> couple more configure tests.
>>
>> -Phil
>>
>> Ryuta Suzuki wrote:
>>> 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
>>> _______________________________________________
>>> Pvfs2-users mailing list
>>> Pvfs2-users at beowulf-underground.org
>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>>
>> _______________________________________________
>> Pvfs2-users mailing list
>> Pvfs2-users at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>


More information about the Pvfs2-users mailing list