On 2018-05-01T18:06:38 -0700
Peter Grehan <gre...@freebsd.org> wrote:

> >    * rosemary_disk0.lzma (the LZMA compressed zvol)  
> 
>   I was able to boot this image on a 12-current Ryzen system. Debian 9.4 
> also installed fine with the netinstall ISO and could boot.

Bizarrely, I am also able to boot it without issue now. I worked
through this with someone in the #bhyve channel on Freenode.
Essentially:

I couldn't boot the image with the stripped grub-bhyve binary, this
would crash reliably. Restarting the hardware didn't make any
difference, and destroying the vm after each attempt didn't make any
difference either.

I couldn't boot the image with the debug grub-bhyve binary. The same
applied to that as above.

If I ran the debug binary in gdb 8, the program ran to completion
without crashing. After running it a few times without crashing in gdb,
both the stripped and debug grub-bhyve binaries would run to completion
*outside of the debugger* without crashing!

Both the stripped and debug grub-bhyve binaries reliably work now. I
can boot the VM, reboot it, whatever. I've restarted the hardware many
times and cannot reproduce the original crash.

I've never seen anything like this and have no theories as to why it
didn't work at all, and now works reliably despite nothing apparently
having changed anywhere.

-- 
Mark Raynsford | http://www.io7m.com

Attachment: pgplz2sNvB5QT.pgp
Description: OpenPGP digital signature

Reply via email to