Hi,

I'm a PVFS2 newbie and today a tried to install PVFS2 for the first time inside 
Amazon EC2. I used the Quick Start Guide which is very helpful.

The compilation and configuration of server and client were successful. The 
server is working and I can access it with pvfs2-ping, pvfs2-ls and pvfs2-cp.

The problem: When I try to compile the kernel module I have an error message. 

# uname -a
Linux ip-10-245-202-160 2.6.32-305-ec2 #9~pre1 SMP Wed Apr 14 12:27:39 UTC 2010 
x86_64 GNU/Linux
# cd /usr/src/pvfs2
# ./configure --with-kernel=/lib/modules/`uname -r`/build
...
***** Displaying PVFS Configuration Information *****
------------------------------------------------------
PVFS2 configured to build karma gui               :  no
PVFS2 configured to perform coverage analysis     :  no
PVFS2 configured for aio threaded callbacks       : yes
PVFS2 configured to use FUSE                      :  no
PVFS2 configured for the 2.6.x kernel module      : yes
PVFS2 configured for the 2.4.x kernel module      :  no
PVFS2 configured for using the mmap-ra-cache      :  no
PVFS2 will use workaround for redhat 2.4 kernels  :  no
PVFS2 will use workaround for buggy NPTL          :  no
PVFS2 server will be built                        : yes

PVFS2 version string: 2.8.2


# make kmod
...
  DEP           src/apps/admin/pvfs2-cp.d
  DEP           src/apps/admin/pvfs2-chown.d
  DEP           src/apps/admin/pvfs2-chmod.d
  DEP           src/apps/admin/pvfs2-check-server.d
  DEP           src/apps/admin/pvfs2-check-config.d
  DEP           src/apps/admin/pvfs2-change-fsid.d
  CC [M]  /usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.o
In file included from 
/usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/unistd.h:5,
                 from include/linux/unistd.h:7,
                 from 
/usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/seccomp_64.h:4,
                 from 
/usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/seccomp.h:4,
                 from include/linux/seccomp.h:8,
                 from include/linux/sched.h:80,
                 from 
/usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/mach-xen/asm/pgtable_64.h:16,
                 from 
/usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/mach-xen/asm/pgtable.h:304,
                 from include/linux/mm.h:39,
                 from include/linux/pagemap.h:7,
                 from include/linux/buffer_head.h:13,
                 from 
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-kernel.h:48,
                 from /usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:7:
/usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/unistd_64.h:693:29: 
error: asm/asm-offsets.h: No such file or directory
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c: In function 
‘pvfs2_gen_credentials’:
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:26: error: ‘struct 
task_struct’ has no member named ‘fsuid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:27: error: ‘struct 
task_struct’ has no member named ‘fsgid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c: In function 
‘pvfs2_inode_getxattr’:
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:777: error: ‘struct 
task_struct’ has no member named ‘fsuid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:778: error: ‘struct 
task_struct’ has no member named ‘fsgid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c: In function 
‘pvfs2_create_file’:
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1221: error: ‘struct 
task_struct’ has no member named ‘fsuid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1221: error: ‘struct 
task_struct’ has no member named ‘fsgid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c: In function 
‘pvfs2_create_dir’:
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1308: error: ‘struct 
task_struct’ has no member named ‘fsuid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1308: error: ‘struct 
task_struct’ has no member named ‘fsgid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c: In function 
‘pvfs2_create_symlink’:
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1402: error: ‘struct 
task_struct’ has no member named ‘fsuid’
/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.c:1402: error: ‘struct 
task_struct’ has no member named ‘fsgid’
make[3]: *** [/usr/src/pvfs-2.8.2/src/kernel/linux-2.6/pvfs2-utils.o] Error 1
make[2]: *** [_module_/usr/src/pvfs-2.8.2/src/kernel/linux-2.6] Error 2
make[1]: *** [default] Error 2
make: *** [just_kmod] Error 2


What can I do at this point?

Thanks in advance
    Christian 


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

Reply via email to