Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Cornelius Creedon <neil@box1.staller.sunysb.edu>
To: axp-list <axp-list@redhat.com>
Subject: Re: nfs-fs as module on 2.0.33 (fwd)
Date: Thu, 17 Dec 1998 10:52:58 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.04.9812171046030.19662-100000@box1.staller.sunysb.edu> (raw)
In-Reply-To: <Pine.LNX.3.96.981216181016.1686A-100000@bec.physics.udel.edu>


well, that didnt do it.
this addition should be inserted immediately after "__kernel_thread:"
in entry.S?
i get the same error.

as for the suggestion by Konrad Podloucky to unset CONFIG_MODVERSIONS, it
was not set.

tia for any further ideas.
;)

-cc

On Wed, 16 Dec 1998, Jonathan L Dubois wrote:

> this is an old problem in the 2.0.x kernels -- not sure why it hasnt
> been fixed but making the change to entry.S noted below worked for me.
> 
> On Sat, 14 Feb 1998, Andreas Haumer wrote:
> 
> > Hi!
> > 
> > There is an "unresolved symbol __kernel_thread" problem with nfs-fs 
> > when compiled as module on Linux-2.0.33.
> > 
> > The function "__kernel_thread" ist defined in the architecture specific
> > module "entry.S". I tried adding the function name to ksyms.c, but the
> > kernel didn't work, but crashed immediately after inserting the module.
> > 
> > Has anyone got module support for nfs working on Alpha-Linux?
> 
> Hm... I noticed this too some time ago. I tracked the problem down, and it
> concerned the gp register in the kernel_thread function.
> 
> This is from 2.1.71, arch/alpha/kernel/entry.S:
> 
> __kernel_thread:
>         ldgp $29,0($27)         /* we can be called from a module */
> 
> If i remember correctly, this was all that was needed to fix the problem.
> 
> /Andreas


      reply	other threads:[~1998-12-17 16:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-16 23:19 nfs-fs as module on 2.0.33 (fwd) Jonathan L Dubois
1998-12-17 15:52 ` Cornelius Creedon [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox