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]
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to