From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5657 invoked from network); 16 Dec 1998 22:28:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Dec 1998 22:28:26 -0000 Received: from bec.physics.udel.edu (dubois@bec.physics.udel.edu [128.175.112.143]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA28331 for ; Wed, 16 Dec 1998 17:18:50 -0500 Received: from localhost (dubois@localhost) by bec.physics.udel.edu (8.8.7/8.8.7) with SMTP id SAA01795 for ; Wed, 16 Dec 1998 18:19:57 -0500 Date: Wed, 16 Dec 1998 18:19:57 -0500 (EST) From: Jonathan L Dubois To: axp-list Subject: Re: nfs-fs as module on 2.0.33 (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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