[OpenAFS] Re: 1.4.2 client on RHEL5 beta 2

Rainer Laatsch Laatsch@rrz.uni-koeln.de
Tue, 23 Jan 2007 19:56:57 +0100 (MET)


I circumvented the MODPOST issue by patching
 /usr/src/kernels/2.6.18-1.2747.el5-i686/scripts/mod/modpost.c
around line 1103 ; replacing 'fatal' by 'warn'

static void check_for_gpl_usage(enum export exp, const char *m, const char
*s)
{
        const char *e = is_vmlinux(m) ?"":".ko";

        switch (exp) {
        case export_gpl:
/*              fatal("modpost: GPL-incompatible module %s%s " */
                warn ("modpost: GPL-incompatible module %s%s "
                      "uses GPL-only symbol '%s'\n", m, e, s);
                break;
        case export_unused_gpl:
/*              fatal("modpost: GPL-incompatible module %s%s " */
                warn ("modpost: GPL-incompatible module %s%s "
                      "uses GPL-only symbol marked UNUSED '%s'\n", m, e,
s);
                break;


Best regards / Mit freundlichem Gruss
Rainer Laatsch
________________________________	______________________
E-mail: Laatsch@Uni-Koeln.DE		Universitaet zu Koeln
					Reg. Rechenzentrum (ZAIK/RRZK)
Fax   : +49 221 478-5590		Robert-Koch-Str. 10
Tel   : +49 221 478-5582		D-50931 Koeln

On Tue, 23 Jan 2007, Jack Neely wrote:

> Folks,
>
> I still see this bug with OpenAFS 1.4.3rc1 on RHEL5 Beta 2
> (2.6.18-1.2747.el5)
>
> Derek, was there a patch that I can test out your suggestion?
>
> LD [M]
> /home/slack/RPM/BUILD/openafs-kmod-1.4.3/_kmod_build_/src/libafs/MODLOAD-2.6.18-1.2747.el5-MP/libafs.o
>   Building modules, stage 2.
>   MODPOST
> FATAL: modpost: GPL-incompatible module libafs.ko uses GPL-only symbol
> 'tasklist_lock'
>
> Jack Neely
>