Strange MXCSR messages?

Thomas E. Spanjaard tgen at netphreax.net
Fri Dec 14 09:34:16 PST 2007


Joerg Anslik wrote:
I enabled "nata" support on one of my boxes lately, and now my
/var/log/messages gets flooded with entries like this:
Is the problem not encountered if you recompile from the exact same 
sources, but with old ATA instead of NATA?

[...]
kernel: pid 54403 (icecast) signal return from user: illegal FP MXCSR
ffff0010
last message repeated 24 times
kernel: pid 9033 (mysqld) signal return from user: illegal FP MXCSR
ffff0010
last message repeated 7 times
[...]
I also found it's pretty hard to get information about this "MXCSR"
stuff, so if someone could give me a short explanation...? As far as I
can tell, it's some kind of register stuff.
MXCSR is the SSE control/status register, and that value means the 
Underflow Flag bit is set. The other 1 bits are reserved ones, which 
should *NOT* be set to 1. Attempting to set them to 1 will result in a 
general protection exception, which is probably what you're seeing here. 
My guess is, the recent changes to how the signal code in the kernel 
saves and restores the MXCSR register, introduced this bug, and not 
NATA. I'll have a look later at the code in question.

Cheers,
--
        Thomas E. Spanjaard
        tgen at netphreax.net
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00005.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20071214/67dd665a/attachment-0018.obj>


More information about the Bugs mailing list