[Bug 259218] Fatal trap 12: page fault while in kernel mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Oct 2021 22:52:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259218

--- Comment #16 from Dennis Clarke <dclarke@blastwave.org> ---
(In reply to Konstantin Belousov from comment #14)

The little machine is chugging away on a buildworld and seems to be
nice and stable. However it sets a new record for "slow" and that is
fine with me. 

In fact the git clone was hours : 


esther# pwd
/usr/src
esther# cd ..
esther# rm -rf src
esther# /usr/bin/time -p git clone anongit@git.freebsd.org:src.git src
Cloning into 'src'...
The authenticity of host 'git.freebsd.org (96.47.72.109)' can't be established.
ED25519 key fingerprint is SHA256:y1ljKrKMD3lDObRUG3xJ9gXwEIuqnh306tSyFd1tuZE.
Matching host key fingerprint found in DNS.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'git.freebsd.org' (ED25519) to the list of known
hosts.
remote: Enumerating objects: 4015024, done.
remote: Counting objects: 100% (379021/379021), done.
remote: Compressing objects: 100% (27310/27310), done.
remote: Total 4015024 (delta 373279), reused 351711 (delta 351711), pack-reused
3636003
Receiving objects: 100% (4015024/4015024), 1.34 GiB | 692.00 KiB/s, done.
Resolving deltas: 100% (3179795/3179795), done.
Checking objects: 100% (8388608/8388608), done.
Updating files: 100% (87898/87898), done.
real 10272.67
user 8911.64
sys 904.85
esther#


esther# cat /root/sys_dev_random_nehemiah.patch 
--- sys/dev/random/nehemiah.c.orig      2021-10-18 02:07:54.279416000 +0000
+++ sys/dev/random/nehemiah.c   2021-10-21 00:28:09.571500000 +0000
@@ -68,7 +68,7 @@
 #ifdef __GNUCLIKE_ASM
        __asm __volatile(
                "movl   $0,%%edx\n\t"
-               "xstore"
+               ".byte 0x0f, 0xa7, 0xc0"
                        : "=a" (retval), "+d" (rate), "+D" (buf)
                        :
                        : "memory"
esther#

I figure the buildworld will run until sometime in November. Still a bit
faster than QEMU and RISC-V emulation.

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