Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2024 16:59:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 240037] emulators/qemu-user-static: READ_SPECIALREG(ID_AA64ISAR0_EL1) crashes qemu on aarch64
Message-ID:  <bug-240037-4077-7xoU29VsgB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240037-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240037-4077@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=3D240037

Jesper Schmitz Mouridsen <jsm@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm@FreeBSD.org

--- Comment #8 from Jesper Schmitz Mouridsen <jsm@FreeBSD.org> ---
(In reply to Jan Beich from comment #2)
I ended up in work/nss-3.102/nss/lib/freebl/blinit.c :248=20

 #elif defined(__FreeBSD__)
    /* qemu-user does not support register access from userspace */
    if (PR_GetEnvSecure("QEMU_EMULATING") =3D=3D NULL) {
        uint64_t isar0 =3D READ_SPECIALREG(id_aa64isar0_el1);

 The qemu_*.core dumps are still randomly invalid and off size 64 only I am=
 on
FreeBSD-14.1 as well as 14.0=20
so setting QEMU_EMULATING works around it, does poudriere set that?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240037-4077-7xoU29VsgB>