FW: [Pvfs2-users] Problem with 'sudo make kmod' when trying to load the pvfs2 kernel module

Sam Sampson sampson at clemson.edu
Fri Feb 10 11:53:56 EST 2012


Have you tried OrangeFS 2.8.5 yet? There are bugfixes for newer kernels/systems.

Well if /lib/modules/`uname -r`/build points someplace other than /usr/src/linux-2.6..., try that. Our CentOS boxes have source under /usr/src/kernels.

Thanks,
Sam S.


From: g_p g_p [mailto:g_p_java at hotmail.com]<mailto:[mailto:g_p_java at hotmail.com]>
Sent: Friday, February 10, 2012 11:36 AM
To: Sam Sampson; pvfs2
Subject: RE: [Pvfs2-users] Problem with 'sudo make kmod' when trying to load the pvfs2 kernel module


Hello and thanks for replying,

i used

[pvfs-2.8.1]$ sudo ./configure --with-kernel=/usr/src/linux-2.6.35.7

[~]$ uname -a
Linux  2.6.35.7-23Mar #3 SMP  x86_64 x86_64 x86_64 GNU/Linux

[~]$ cat /etc/*-release
CentOS release 5.5 (Final)

Thanks
________________________________
From: sampson at clemson.edu<mailto:sampson at clemson.edu>
To: pvfs2-users at beowulf-underground.org<mailto:pvfs2-users at beowulf-underground.org>
Date: Fri, 10 Feb 2012 11:25:37 -0500
Subject: RE: [Pvfs2-users] Problem with 'sudo make kmod' when trying to load the pvfs2 kernel module
First, you appear to be using PVFS2/OrangeFS 2.8.1. You may want to get the latest OrangeFS, 2.8.5, from orangefs.org.

What distribution of Linux/UNIX are you on (CentOS, Ubuntu, etc.)? SUSE has slightly different instructions I can provide.

What did you use for your --with-kernel on ./configure? Usually it should be something like /usr/src/linux-2.6.32.54-0.3. Or you can possibly supply /lib/modules/`uname -r`/build, which is a link to the source.

Thanks,
Sam Sampson
Omnibond, LLC

From: pvfs2-users-bounces at beowulf-underground.org<mailto:pvfs2-users-bounces at beowulf-underground.org> [mailto:pvfs2-users-bounces at beowulf-underground.org]<mailto:[mailto:pvfs2-users-bounces at beowulf-underground.org]> On Behalf Of g_p g_p
Sent: Friday, February 10, 2012 10:04 AM
To: pvfs2
Subject: [Pvfs2-users] Problem with 'sudo make kmod' when trying to load the pvfs2 kernel module

Hello,

i'm trying to execute the command:

"sudo make kmod" and i receive the following output:

 CC [M]  /usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.o
In file included from /usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:7:
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-kernel.h:1272: error: conflicting types for âkzallocâ
include/linux/slab.h:320: error: previous definition of âkzallocâ was here
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_gen_credentialsâ:
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:22: error: âstruct task_structâ has no member named âfsuidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:23: error: âstruct task_structâ has no member named âfsgidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_inode_getxattrâ:
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:752: error: âstruct task_structâ has no member named âfsuidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:752: error: âstruct task_structâ has no member named âfsgidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_inode_rem ovexattrâ:
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019: error: âXATTR_REPLACEâ undeclared (first use in this function)
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019: error: (Each undeclaredidentifier is reported only once
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019: error: for each function it appears in.)
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_create_fileâ:
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1192: error: âstruct task_structâ has no member named âfsuidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1192: error: âstruct task_structâ has no member named âfsgidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_create_dirâ:
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1279: error: âstruct task_structâ has no member named âfsuidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1279: error: âstruct task_structâ has no member named âfsgidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_create_symlinkâ:
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1373: error: âstruct task_structâ has no member named âfsuidâ
/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1373: error: âstruct task_structâ has no member named âfsgidâ
make[3]: *** [/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.o] Error 1
make[2]: *** [_module_/usr/pvfs-2.8.1/src/kernel/linux-2.6] Error 2
make[1]: *** [default] Error 2
make: *** [just_kmod] Error 2

What shall i do in order to fix that?

Thanks, in advance

_______________________________________________ Pvfs2-users mailing list Pvfs2-users at beowulf-underground.org<mailto:Pvfs2-users at beowulf-underground.org> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20120210/51602091/attachment.htm


More information about the Pvfs2-users mailing list