Xihuang:

On Centos 6.2, you should not have had any problems building the kernel.
We have installations here at Omnibond/Clemson University and haven't had
any trouble with it.  Can you send me the exact kernel you were using?

Changing current->{fsuid,fsgid} to current->cred->{fsuid,fsgid} should NOT
pose any problems.  The problems that you've been seeing are due to
configure issues with the various Linux distributions.

As far as I know, there is not a Linux distribution that delivers
BerkeleyDB 4.8, and we have not tested our code on 5.3.21; please let us
know if you run into any problems with it.  Here at Clemson University, we
created a BDB4.8 src rpm that we use to create a binary rpm and then
install on our OrangeFS I/O servers.  If you'd like, I can forward the src
rpm to you.  It installs in /opt/db4, which also requires you to configure
OrangeFS with --with-db=/opt/db4.

Becky

On Thu, Oct 18, 2012 at 4:04 AM, xihuang sun <[email protected]> wrote:

>
> Now I change all current->fsuid current->fsgid in linux2.6/ directory to
> current->cred->fsuid current->cred->fsgid and make kmod passes.
>
> I don't know whether it will affects.
>
>
> 2012/10/18 xihuang sun <[email protected]>
>
>> Now I find that the fsuid and fsgid is in include/linux/cred.h not
>> include/linux/sched.h,so pvfs2-kernel.h in src/kernel/linux-2.6/ doesn't
>> include it. then the error occurs.
>>
>> 2012/10/18 xihuang sun <[email protected]>
>>
>>> Becky:
>>>
>>> It's so nice that you reply so quickly. Before the problem fixed,I want
>>> to get a easiest way to install it. I have tried centos 6.2 but i had to
>>> compile berkeley db 5.3.21 as the yum offer 4.7.25 which didn't match,
>>> leads to error as well.
>>>
>>> Now what linux distribution should I use with a right version of
>>> berkeley db and a right kernel?
>>>
>>> I have been compiling on orangefs for almost a week, it's really nice if
>>> you can help me to make thing easier.
>>>
>>> Thanks again!
>>>
>>>
>>> 2012/10/18 Becky Ligon <[email protected]>
>>>
>>>> Xihuang:
>>>>
>>>> Apparently, Fedora 17 puts some of the kernels data structures in a
>>>> "generated" include directory, which is the cause of the error that you
>>>> saw.  We are in the process of determining the appropriate changes to our
>>>> configure and make routines.  We will let you know when a fix is in place.
>>>>
>>>> Thanks again,
>>>> Becky
>>>>
>>>>
>>>> On Wed, Oct 17, 2012 at 3:20 PM, Becky Ligon <[email protected]>wrote:
>>>>
>>>>> Xihuang:
>>>>>
>>>>> We have not tested OrangeFS with kernels greater than 3.2.  However,
>>>>> we soon will be.  Thanks for pointing out this problem.  When we have a 
>>>>> fix
>>>>> for it, we will notify the pvfs2-users and pvfs2-developers lists.
>>>>>
>>>>> We JUST posted a fix to the kernel module for 3.2 in our subversion
>>>>> repository.  If you'd like to use the latest OrangeFS 2.8.6, use the
>>>>> following SVN command:
>>>>>
>>>>> svn co http://www.orangefs.org/svn/orangefs/branches/stable.
>>>>>
>>>>> Thanks,
>>>>> Becky
>>>>>
>>>>> On Wed, Oct 17, 2012 at 1:31 PM, xihuang sun <[email protected]>wrote:
>>>>>
>>>>>> I'm compiling orangefs 2.8.6 on fedora 17 with kernel
>>>>>> 3.6.1-1.fc17.i686
>>>>>>
>>>>>> './configure --prefix=/opt/orangefs
>>>>>> --with-kernel=/lib/modules/3.6.1-1.fc17.i686/build  &
>>>>>> make  &
>>>>>> make install'
>>>>>> works fine.
>>>>>> now 'make kmod' meets 'struct task_struct' has no member 'fsuid' or
>>>>>> 'fsgid' error.
>>>>>>
>>>>>> do orangefs support kernel 3.*?
>>>>>> do I have to go back to 2.6.*?
>>>>>> need your help.
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pvfs2-users mailing list
>>>>>> [email protected]
>>>>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Becky Ligon
>>>>> OrangeFS Support and Development
>>>>> Omnibond Systems
>>>>> Anderson, South Carolina
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Becky Ligon
>>>> OrangeFS Support and Development
>>>> Omnibond Systems
>>>> Anderson, South Carolina
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>  孙曦煌
>>>
>>>
>>>  手机:+86 13810354080
>>>
>>>  邮件:[email protected]
>>>
>>>
>>>
>>>
>>
>>
>> --
>>
>>  孙曦煌
>>
>>
>>  手机:+86 13810354080
>>
>>  邮件:[email protected]
>>
>>
>>
>>
>
>
> --
>
>  孙曦煌
>
>
>  手机:+86 13810354080
>
>  邮件:[email protected]
>
>
>
>


-- 
Becky Ligon
OrangeFS Support and Development
Omnibond Systems
Anderson, South Carolina
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to