mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: "Linus Torvalds" <torvalds@osdl.org>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	billm@melbpc.org.au, billm@suburbia.net
Subject: Re: Math-emu kills the kernel on Athlon64 X2
Date: Tue, 19 Sep 2006 01:14:31 +0200	[thread overview]
Message-ID: <9a8748490609181614r55178f1djab68eb48bd36f7de@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0609181549200.4388@g5.osdl.org>

On 19/09/06, Linus Torvalds <torvalds@osdl.org> wrote:
>
>
> On Tue, 19 Sep 2006, Jesper Juhl wrote:
> >
> > If I enable the math emulator in 2.6.18-rc7-git2 (only version I've
> > tried this with) and then boot the kernel with "no387" then I only get
> > as far as lilo's "...Booting the kernel." message and then the system
> > hangs.
>
> I'm wondering if it tries to use the MMX/XMM stuff for memcpy and friends.
>
> I'm also wondering why you'd be doing what you seem to try to be doing in
> the first place ;)
>
Simply to try and find bugs. If we have a math emulator and it's
selectable for my CPU type, then it should damn well work ;-)

> Basically, "no387" doesn't seem to disable any of the fancier FPU
> features, even though it obviously should. If you ask for math emulation,
> you'll get emulation faults for _all_ of the modern MMX stuff too (which
> we don't do).
>
Hmm, I guess that could be the problem. The emulator should disable
any stuff which it's not able to handle. I've not actually looked very
much at the emulator code yet, so I didn't realize it didn't disable
what it couldn't handle, but getting it to do that sounds like a
sensible first step.

> It's entirely possible that nobody has ever tested this combination.
>
That was my thought as well, which is exactely why I chose to try it -
thinking that it might expose some bugs in math-emu or elsewhere.


-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

  reply	other threads:[~2006-09-18 23:14 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-18 22:18 Jesper Juhl
2006-09-18 22:52 ` Linus Torvalds
2006-09-18 23:14   ` Jesper Juhl [this message]
2006-09-18 23:49     ` Linus Torvalds
2006-09-19  0:47       ` Jesper Juhl
2006-09-19  2:18         ` Linus Torvalds
2006-09-18 23:49 ` Sergio Monteiro Basto
2006-09-19  0:02   ` Jesper Juhl
2006-09-19 12:28   ` Krzysztof Halasa
2006-09-20  0:48     ` Sergio Monteiro Basto
2006-09-20 22:31       ` Krzysztof Halasa
2006-09-19  8:01 ` Andi Kleen
2006-09-19  8:31   ` Jesper Juhl
2006-09-19 21:14   ` Jesper Juhl
2006-09-19 22:01     ` Linus Torvalds
2006-09-19 22:16       ` Jesper Juhl
2006-09-19 22:44         ` Jesper Juhl
2006-10-03  2:16       ` [PATCH/RFC] " Randy Dunlap
2006-10-03  2:34         ` Linus Torvalds
2006-10-03  3:24           ` Randy Dunlap
2006-10-03 10:05             ` Andi Kleen
2006-10-03 14:54               ` Linus Torvalds
2006-10-03 10:11             ` [PATCH/RFC] Math-emu kills the kernel on Athlon64 X2 II -- it's terminally broken Andi Kleen
2006-10-03 11:53               ` Alan Cox
2006-10-03 14:48               ` Linus Torvalds
2006-10-03  4:38           ` [PATCH/RFC] Math-emu kills the kernel on Athlon64 X2 Randy Dunlap
2006-10-03 11:30             ` Alan Cox
2006-10-03 15:10             ` Linus Torvalds
2006-10-03 16:23               ` Randy Dunlap
2006-10-03 16:37                 ` Linus Torvalds
2006-10-03 16:49                   ` Randy Dunlap
2006-10-03 16:51                     ` Linus Torvalds
2006-10-04 19:24                       ` Jesper Juhl
2006-10-04 19:43                         ` Linus Torvalds
2006-10-04 20:02                           ` Jesper Juhl
2006-10-04 22:00                             ` Alan Cox
2006-10-04 21:44                               ` Andi Kleen
2006-09-20  8:16     ` Andi Kleen
2006-09-20  8:15 linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a8748490609181614r55178f1djab68eb48bd36f7de@mail.gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=billm@melbpc.org.au \
    --cc=billm@suburbia.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®