From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <238943338f376c89afed0e1ad6343d5f.axp-list@archive.invalid> X-Archive-Original-Message-ID: <19980215224100Z92176-7709+26@mea.tmt.tele.fi> Date: Mon, 16 Feb 1998 00:09:57 +0100 (MET) From: Andreas Johansson Subject: Re: nfs-fs as module on 2.0.33 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