Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2017 01:03:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219343] bhyve requires -w option to run FreeBSD guests on AMD A10 CPU
Message-ID:  <bug-219343-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 219343
           Summary: bhyve requires -w option to run FreeBSD guests on AMD
                    A10 CPU
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: freebsd-bugs@theory14.net

I must pass the "-w" option to bhyve in order for it to run FreeBSD guests =
on
my AMD 10-7860K CPU.  Since the man page indicates this option is intended =
for
debugging purposes, I assume I probably shouldn't need this to run.

- Without "-w", the FreeBSD install image loads the boot loader but hangs a=
fter
trying to boot the kernel.  CPU load goes to ~ 100%
- On the same machine, I've installed an OpenBSD 6.1 VM (grub2-bhyve) and d=
id
NOT need the "-w" option.
- Kernel:  FreeBSD XXXXXX 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue A=
pr
11 08:48:40 UTC 2017=20=20=20=20
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
- This happens with both 11.0-RELEASE images and 11.0-STABLE

To duplicate on a machine with an AMD A10 CPU (maybe other AMD CPU) Follow
steps on https://wiki.freebsd.org/action/show/bhyve?action=3Dshow&redirect=
=3DBHyVe
(Q: What is the easiest way to try bhyve?):

- Failure Condition
-- fetch
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-STABLE/amd64/Lat=
est/FreeBSD-11.0-STABLE-amd64.raw.xz
-- unxz FreeBSD-11.0-STABLE-amd64.raw.xz
-- sudo sh /usr/share/examples/bhyve/vmrun.sh -d FreeBSD-11.0-STABLE-amd64.=
raw
vm0
-- Observe hung systems
- "Fix"
-- Edit vmrun.sh to add "-w" to the bhyve options
-- sudo sh /usr/share/examples/bhyve/vmrun.sh -d FreeBSD-11.0-STABLE-amd64.=
raw
vm0
-- Observe nice and happy FreeBSD system.

If you need dmesg output or anything else, I'm happy to provide.

--=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-219343-8>