Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: nfs-fs as module on 2.0.33 (fwd)
@ 1998-12-16 23:19 Jonathan L Dubois
  1998-12-17 15:52 ` Cornelius Creedon
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan L Dubois @ 1998-12-16 23:19 UTC (permalink / raw)
  To: axp-list

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nfs-fs as module on 2.0.33 (fwd)
  1998-12-16 23:19 nfs-fs as module on 2.0.33 (fwd) Jonathan L Dubois
@ 1998-12-17 15:52 ` Cornelius Creedon
  0 siblings, 0 replies; 2+ messages in thread
From: Cornelius Creedon @ 1998-12-17 15:52 UTC (permalink / raw)
  To: axp-list


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-12-17 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox