[Pvfs2-users] Kernel Module - Compilation error

Number Cruncher number.cruncher at ntlworld.com
Thu May 18 04:06:35 EDT 2006


Hope I haven't caused unnecessary confusion: the latest CVS "configure" 
and source for 1.4.0 compiles kmod fine, but insmod then fails because 
of update_atime() missing; it's only the "configure" from 1.4.0 which 
prevents kmod compiling.

I suppose I'm looking for a quick fix which gets the kmod compiled for 
2.6.16 without having to resort to pre-release CVS - i.e. a configure 
patch + 1.4.0 source.

Pete Wyckoff wrote:

>>On Mon, 15 May 2006, Number Cruncher wrote:
>>
>>    
>>
>>>I think this happens because HAVE_XATTR is not successfully detected by
>>>configure. There has been a change in
>>>include/linux/spinlock.h where LOCK_SECTION_NAME is #define'd and the
>>>KBUILD_BASENAME is not properly set up. Result: the xattr stuff is still
>>>present in the kernel files but the pvfs kernel module doesn't #include
>>><linux/xattr.h>
>>>      
>>>
>
>Don't expect that my couple of fixes will affect this though; they
>were just for minor function signature issues in some structs.
>Definitely not related.  We may have to investigate this XATTR
>problem a bit further.  Which kernel verison, to start?
>
>		-- Pete
>  
>


More information about the Pvfs2-users mailing list