[Bug 259218] Fatal trap 12: page fault while in kernel mode
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259218] Fatal trap 12: page fault while in kernel mode"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Oct 2021 22:41:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259218
--- Comment #14 from Konstantin Belousov <kib@FreeBSD.org> ---
Try this please
diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c
index ba0dfb200ba0..3ad18005c935 100644
--- a/sys/dev/random/nehemiah.c
+++ b/sys/dev/random/nehemiah.c
@@ -68,7 +68,7 @@ VIA_RNG_store(void *buf)
#ifdef __GNUCLIKE_ASM
__asm __volatile(
"movl $0,%%edx\n\t"
- "xstore"
+ ".byte 0x0f, 0xa7, 0xc0"
: "=a" (retval), "+d" (rate), "+D" (buf)
:
: "memory"
--
You are receiving this mail because:
You are the assignee for the bug.