Re: F00F question

Chris Wedgwood (cw@ix.net.nz)
Thu, 22 Apr 1999 12:58:22 +1200


On Thu, Apr 22, 1999 at 10:04:58AM +0930, Benjamin Close wrote:

> Is there anyway to test if a cpu has the F00F bug (without hanging
> the machine if it does) if you don't knowing the type of cpu?

In theory, yes -- you could do what linux does in the kernel to
recover then someone executes this code.

I'm not sure if you could do this from userland, perhaps you can by
looping though f00f intructions and seeing how many faults the
processes introduces... you should see at least one peer f00f hit...

Hmm... actually, I might see if I can code that up shortly.

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/