Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenBSD fails to boot on bhyve on AMD hardware #927

Open
akole opened this issue Apr 23, 2020 · 6 comments
Open

OpenBSD fails to boot on bhyve on AMD hardware #927

akole opened this issue Apr 23, 2020 · 6 comments

Comments

@akole
Copy link

akole commented Apr 23, 2020

When booting bhyve branded VM with OpenBSD 6.6 install iso the process fails with:

{"log":"vm exit[0]\n\treason\t\tSVM\n\trip\t\t0x00000000fffee1ec\n\tinst_length\t0\n\texitcode\t","stream":"stderr","time":"2020-04-23T17:27:36.533033000Z"}

SmartOS platform is joyent_20200408T231825Z
Server is a Proliant DL385 G6 with dual AMD Opterons

@sjorge
Copy link
Contributor

sjorge commented Apr 23, 2020

Have you tried adding vmadm update UUID bhyve_extra_opts="-w" it's needed on intel too to not make OpenBSD trip bhyve by accessing unsupported MSRs

@akole
Copy link
Author

akole commented Apr 23, 2020

Have you tried adding vmadm update UUID bhyve_extra_opts="-w" it's needed on intel too to not make OpenBSD trip bhyve by accessing unsupported MSRs

Yes, I set these in the spec json and both seem to be there when checking vmadm info:
"bootrom": "uefi",
"bhyve_extra_opts": "-w"

@sjorge
Copy link
Contributor

sjorge commented Apr 23, 2020

Ack, should work then... so it's probably a SVM vs VMX thing.

@akole
Copy link
Author

akole commented Apr 23, 2020

Ack, should work then... so it's probably a SVM vs VMX thing.

Anything I can do to help debug this issue?

FreeBSD host with NetBSD VM also seemed to have similar issues few years back if it's any help:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203643

@despair86
Copy link

oh hell i posted more info in TritonDataCenter/illumos-joyent#248

@despair86
Copy link

despair86 commented Sep 12, 2020

@akole this should be fixed in the latest platform image, got to a normal multi-user boot with multiple vcpus configured

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants