Re: amd64 panic in FPU (Xen and bare-metal)

Maxime Villard <[email protected]>
Newsgroups gmane.os.netbsd.ports.x86-64
Message-ID <[email protected]>
Le 21/06/2020 à 13:36, Manuel Bouyer a écrit :
> Hello,
> I'm trakcing down an issue where the daily anita run on Xen panics in
> the fpu code (see http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/)
>      traceme_signalmasked_crash_fpe: [ 2047.9968889] panic: kernel diagnostic assertion "curlwp->l_md.md_flags & MDL_FPU_IN_CPU" failed: file "/home/source/ab/HEAD/src/sys/arch/x86/x86/fpu.c", line 524
> [ 2047.9968889] cpu0: Begin traceback...
> [ 2047.9968889] vpanic() at netbsd:vpanic+0x146
> [ 2047.9968889] kern_assert() at netbsd:kern_assert+0x48
> [ 2047.9968889] fputrap() at netbsd:fputrap+0x171
> [ 2047.9968889] cpu0: End traceback...
>
> [...]
>
> Did I miss something with my hand-coded assert in the syscall entry ?

your assert is not correct, you put the check after sti
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.