Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Andreas Johansson <ajo@wopr.campus.luth.se>
Subject: Re: nfs-fs as module on 2.0.33
Date: Mon, 16 Feb 1998 00:09:57 +0100 (MET)	[thread overview]
Message-ID: <238943338f376c89afed0e1ad6343d5f.axp-list@archive.invalid> (raw)
In-Reply-To: <34E609A4.DAC78F07@xss.co.at>

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

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1998-02-15 23:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <34E609A4.DAC78F07@xss.co.at>
1998-02-15 23:09 ` Andreas Johansson [this message]
1998-02-16  0:27 nfs-fs as module on 2.0.33 Andreas Haumer
     [not found] <34E780FA.A601EA2B@xss.co.at>
1998-02-16  0:03 ` Andreas Johansson
  -- strict thread matches above, loose matches on Subject: below --
1998-02-15 23:57 Andreas Haumer
1998-02-14 21:16 Andreas Haumer
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