[Myrinet] Re: unresolved symbol loading gm-1.5.2.1 on Alpha

Robert Latham <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
On Fri, Sep 06, 2002 at 02:19:39PM -0500, Nathan Dauchy wrote:
> Greetings,
> 
> I am trying to upgrade gm to 1.5.2.1 on an Alpha cluster running 
> linux-2.4.18 and get the following error when loading the GM module:
> 
> [[email protected] gm]# /sbin/insmod sbin/gm
> sbin/gm: unresolved symbol __load_new_mm_context

Hi nate

I have no idea if this will make things function correctly :> , but to
get rid of the 'unresolved symbol' error, patch
arch/alpha/kernel/alpha_ksyms.c  and add the line
EXPORT_SYMBOL(__load_new_mm_context) somewhere
 
> This kernel is compiled with CONFIG_MODVERSIONS not defined, when I
> tried with it, I get many more (~50) "unresolved symbol" errors.

yeah, i hate CONFIG_MODVERSIONS

> - I have also tried the linux-2.4.19 kernel, which allegedly
> incorporates several patches for Alpha, and still get the same error.

If you want to use 2.4.19, make the same change to
arch/alpha/kernel/alpha_ksyms.c

> - I downloaded gm-1.5.1_Linux and it does NOT have the same
> "unresolved symbol" error that gm-1.5.2.1 does with the linux-2.4.18
> kernel.  gm-1.5.2_Linux DOES report the same error, so I am thinking it 
> might be that a bug was introduced somewhere in the changes from
> 1.5.1 to 1.5.2.

not so much a bug as a module using an internal kernel symbol.  Once
it's exported, you should have no problems. 

==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Labs, IL USA                B29D F333 664A 4280 315B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.