Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 22:41:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259218] Fatal trap 12: page fault while in kernel mode
Message-ID:  <bug-259218-227-DQht3OVIcy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259218-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259218-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259218

--- 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"
                        : "=3Da" (retval), "+d" (rate), "+D" (buf)
                        :
                        : "memory"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259218-227-DQht3OVIcy>