Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jonathan L Dubois <dubois@bec.physics.udel.edu>
To: axp-list <axp-list@redhat.com>
Subject: Re: nfs-fs as module on 2.0.33 (fwd)
Date: Wed, 16 Dec 1998 18:19:57 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.3.96.981216181016.1686A-100000@bec.physics.udel.edu> (raw)

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-16 22:28 UTC|newest]

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