Segmentation fault in grub-bhyve when trying to boot a Linux guest
Mark Raynsford
list+org.freebsd.virtualization at io7m.com
Mon Apr 30 22:05:38 UTC 2018
Hello.
I've recently attempted to install a Debian 9.4.0 x86_64 guest. The
installer ran to completion without issue, and I then rebooted into the
installed system, again without issue.
I then shut the system down and tried to bring it up...
pid 71802 (grub-bhyve), uid 0: exited on signal 11 (core dumped)
The exact commands I'm using to start the VM are:
/usr/local/sbin/grub-bhyve \
-m /storage/vm/rosemary/device.map \
-r host \
-d /storage/vm/rosemary \
-c /dev/nmdm56A \
-M 512M \
rosemary
/sbin/ifconfig tap56 create || true
/sbin/ifconfig bridge0 addm tap56 || true
exec /usr/sbin/bhyve \
-A \
-H \
-P \
-c 1 \
-U a3ca8efb-7a3b-4ad7-b059-85ef739d72f3 \
-m 512M \
-s 0,hostbridge \
-s 4,ahci-hd,/dev/zvol/storage/vm/rosemary/disk0 \
-s 5,virtio-net,tap56 \
-s 31,lpc \
-l com1,/dev/nmdm56A \
rosemary
The device.map looks like:
(hd0) /dev/zvol/storage/vm/rosemary/disk0
(cd0) /storage/images/debian-9.4.0-amd64-netinst.iso
The grub.cfg looks like:
linux (hd0,msdos1)/vmlinuz root=/dev/sda1
initrd (hd0,msdos1)/initrd.img
boot
I see no output after the boot command, the crash occurs seemingly
immediately.
If there's any information that would be helpful, let me know. I can
probably provide the /storage/vm/rosemary/disk0 volume as a compressed
"zfs send" if necessary. I'm on a fresh install of FreeBSD
11.1-RELEASE-p9 and am using grub-bhyve (GRUB-BHYVE) 2.00:0.40. I've
not had trouble with any other guests (running a mix of FreeBSD and
OpenBSD guests without issue).
--
Mark Raynsford | http://www.io7m.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20180430/4429f07a/attachment.sig>
More information about the freebsd-virtualization
mailing list