From: Andreas Johansson <ajo@wopr.campus.luth.se>
Subject: Re: LKMs and installing syscalls on Linux/alpha 2.0.27 (resend)
Date: Thu, 22 May 1997 22:12:31 +0200 (CEST) [thread overview]
Message-ID: <2c4a2c348b153e8340537067fcfc9ad3.axp-list@archive.invalid> (raw)
In-Reply-To: <sjmzptnuvu2.fsf@incommunicado.ihtfp.org>
On 22 May 1997, Derek Atkins wrote:
> Andreas Johansson <ajo@wopr.campus.luth.se> 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
next parent reply other threads:[~1997-05-22 20:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <sjmzptnuvu2.fsf@incommunicado.ihtfp.org>
1997-05-22 20:12 ` Andreas Johansson [this message]
[not found] <Pine.LNX.3.95L01at.970523001215.15876A-100000@wopr.campus.luth.se>
1997-05-23 3:54 ` LKMs and installing syscalls on Linux/alpha 2.0.27 (resend) Richard Henderson
[not found] <Pine.LNX.3.95L01at.970522170543.13615C-100000@wopr.campus.luth.se>
1997-05-22 20:40 ` Richard Henderson
1997-05-22 22:20 ` Andreas Johansson
1997-05-23 12:14 ` Andreas Johansson
1997-05-22 19:53 Derek Atkins
-- strict thread matches above, loose matches on Subject: below --
1997-05-21 22:45 Derek Atkins
1997-05-22 15:57 ` Andreas Johansson
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