[OpenAFS] Re: 1.4.2 client on RHEL5 beta 2

Stephan Wiesand Stephan.Wiesand@desy.de
Mon, 20 Nov 2006 17:32:58 +0100 (CET)

On Mon, 20 Nov 2006, Axel Thimm wrote:

> On Mon, Nov 20, 2006 at 03:39:56PM +0100, Stephan Wiesand wrote:
>> Again, kind of a success report:
>> The only major build problem (kernel 2.6.18-1.2747.el5) was the return of
>> tasklist_lock (SGI need it, et voila...) - alas, GPL-only:
>>   LD [M]
>>   /usr/src/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.18-1.2747.el5-MP/libafs.o
>>   Building modules, stage 2.
>> FATAL: modpost: GPL-incompatible module libafs.ko uses GPL-only symbol
>> 'tasklist_lock'
>> make[6]: *** [__modpost] Error 1
> I rebuilt the 1.4.2 packages for beta2 (kmdl) and didn't stumble over
> it (?). Does that need explicitely turning on?

All I need to do in order to reproduce the problem on a fresh 
installation of RHEL5 beta 2:

tar xfj openafs-1.4.2-src.tar.bz2
cd openafs-1.4.2

Could you try? It's possible that the error I get is a result of 
modifications to my system after installation. I doubt it, especially 
since our site customization is largely unfinished at this point, but 
please prove me wrong if you can. Here's the list of kernel related 
packages I have installed:


The first one, of course, being my patched build. NB behaviour was the 
same when building on beta 1 with just the new kernel-devel installed.

And on x86 it's just the same.

>> I removed all uses of tasklist_lock, leaving only the else-branches
>> calling rcu_read_[un]lock in place. 1.4.2 then builds and works.
>> Other observations:
>>  - df -H shows "0.0k" on my amd64 system, and "166Y" on x86 (I now learned
>>    that a Yottabyte is 1k Zetabytes...)
>>  - "umount /afs" takes unusually long, maybe 30 or 60 seconds - sometimes
>> Any comments on those? (preferrably like "don't worry, that's ok" ;-) ?
> Could you please test the packages at http://atrpms.net/dist/el5/openafs/?

I can do this tomorrow. But even if they work, I still have to understand 
why they build and the plain 1.4.2 tarball does not.

> Thanks!

Stephan Wiesand
   DESY - DV -
   Platanenallee 6
   15738 Zeuthen, Germany