[Bug 203643] [bhyve] NetBSD causes bhyve to exit on AMD processors

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Mar 2025 02:34:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203643

--- Comment #12 from NAKAJI Hiroyuki <nakaji@kankyo-u.ac.jp> ---
(In reply to Mark Peek from comment #11)

Exactly, I had wrong vmm.ko loaded. Thanks for finding my mistake.

$ kldstat -v | grep vmm
26    1 0xffffffff83400000   33e438 vmm.ko (/boot/kernel/vmm.ko)

I reloaded vmm.ko and got the message of NetBSD's installer!!

$ sudo kldunload vmm
$ sudo kldload /boot/modules/vmm.ko
$ kldstat -v | grep vmm
26    1 0xffffffff83400000   33c0a8 vmm.ko (/boot/modules/vmm.ko)
$ sudo vm install -f netbsd-10 NetBSD-10.99.22-amd64.iso
...
[   3.1743834] entropy: best effort
Created tmpfs /dev (1835008 byte, 3552 inodes)


You are using a serial console, we do not know your terminal emulation.
Please select one, typical values are:

        vt100
        ansi
        xterm

Terminal type (just hit ENTER for 'vt220'):

My code change was so ad-hoc, and I'm not sure about the better way.

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