[Bug 261284] bhyve emulation of 12.3 on 12.3 frequently crashes

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jan 2022 17:46:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261284

            Bug ID: 261284
           Summary: bhyve emulation of 12.3 on 12.3 frequently crashes
           Product: Base System
           Version: 12.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: d8zNeCFG@aon.at

Created attachment 231089
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231089&action=edit
core.txt.0, info.0

Scenario:
- Host system (hal) recently updated from 12.2 to 12.3 (amd64)
- Client system (v909) running 12.3 i386 off a ZFS volume
- /usr/src and /usr/obj are on hal and reachable by the client via NFS
- "cd /usr/src && make installkernel installworld DESTDIR=/usr/tmp/x ..."

Result:
- Normally, this setup works (mostly) o.k.
- But with this boot of the host (hal), the client (v909) always crashes
whenever doing the above install
- Crash info attached

Notes:
- In 12.3 there seems to be a regression in bhyve because quite often clients
running 13.0 just stop in the boot process (zero CPU in the host). They have to
be killed using bhyvectl, and in most cases after a restart they boot normally.
This seems to indicate some uninitialized data affecting 13.0 clients (amd64
clients more than i386).
- In the special case described in this PR, the 12.3 i386 client reliably
crashes (I have tried it three times so far without rebooting the host). I am
fairly sure that once I reboot the host the problem will have gone away. This
again seems to indicate some uninitialized data affecting, in this case, a 12.3
i386 client.
- In 12.2 (host) there were basically no bhyve problems for both 12.2 and 13.0
clients (amd64 and i386).

Summary: There seems to be a regression in bhyve from 12.2 to 12.3, most likely
with some uninitialized data structures, most likely in the host, but probably
also in the client.

-- Martin

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