From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2c4a2c348b153e8340537067fcfc9ad3.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199705221959.TAA15764@whale.st.usm.edu> Date: Thu, 22 May 1997 22:12:31 +0200 (CEST) From: Andreas Johansson Subject: Re: LKMs and installing syscalls on Linux/alpha 2.0.27 (resend) In-Reply-To: On 22 May 1997, Derek Atkins wrote: > Andreas Johansson writes: > > I applied what of this patch I could to the 2.0.27 kernel.. No > problems here. But this didn't solve the problem (not surprising -- > it shouldn't have solved it). That first patch was not for your problem, it was an old nfs problem. It would have no effect on the syscalls. I only included it for your reference, so you could see where my guess came from. > This unfortunately sends the machine into a looping sereis of oopses. > So, no, this didn't work. However... Ok, as I said, I didn't test this theory.. But I think the problem has something to do with gp not being valid. > Thats ok.. I appreciate the help. To whom should I report this bug > to get it put into 2.0.31/2.1.x as appropriate??? First you (or someone else) need to figure out how to fix it. > > I think you should add the -mno-fp-regs compile flag. This is used on all > > modules in the kernel, and I have had modules malfunctioning without it. > > This does not solve your problem though. > > Shouldn't matter... I suspect that all -mno-fp-regs does is speed > things up a bit, rather than functionally change anything. Please, do not assume to much about things you have not checked. I am telling you that while porting a device driver for my sound card, this was the most hard-to-track bug. The driver occasionally killed programs around the system when a particular part of it was used. This seems to be due to the kernel not saving any fp-regs at the entry point. I guess this would be too time consuming. Instead it relies on no part of the kernel using the fp regs. Therefore, you need to instruct gcc NOT to use the fp regs. Even if there is no fp math in your code, gcc can sometimes use an fp reg as temporary storage instead of allocating stack for it. /Andreas -- <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> : E-mail: ajo@wopr.campus.luth.se : : S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN : : Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! : <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> -- 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