From owner-freebsd-virtualization@freebsd.org Mon Apr 30 22:05:38 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D04EFB7FD7 for ; Mon, 30 Apr 2018 22:05:38 +0000 (UTC) (envelope-from list+org.freebsd.virtualization@io7m.com) Received: from mail.io7m.com (mail.io7m.com [IPv6:2001:19f0:5:752:f000::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.io7m.com", Issuer "arc7 CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E0682744B2 for ; Mon, 30 Apr 2018 22:05:37 +0000 (UTC) (envelope-from list+org.freebsd.virtualization@io7m.com) Received: from almond.int.arc7.info (unknown [IPv6:2a02:390:7502:2:0:2:4:0]) by mail.io7m.com (Postfix) with ESMTPSA id AB5C33C33 for ; Mon, 30 Apr 2018 22:05:36 +0000 (UTC) Date: Mon, 30 Apr 2018 23:05:24 +0100 From: Mark Raynsford To: freebsd-virtualization@freebsd.org Subject: Segmentation fault in grub-bhyve when trying to boot a Linux guest Message-ID: <20180430230524.6c957e6c@almond.int.arc7.info> Organization: io7m.com OpenPGP: id=B84E17747616C6174C68D5E55C1A7B712812CC05; url=http://io7m.com/pgp/B84E_1774_7616_C617_4C68_D5E5_5C1A_7B71_2812_CC05.key MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/POxrmaW+QVIShIIXoAdNzp6"; protocol="application/pgp-signature" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 22:05:38 -0000 --Sig_/POxrmaW+QVIShIIXoAdNzp6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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...=20 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=3D/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). --=20 Mark Raynsford | http://www.io7m.com --Sig_/POxrmaW+QVIShIIXoAdNzp6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQS4Thd0dhbGF0xo1eVcGntxKBLMBQUCWueTJAAKCRBcGntxKBLM BUJjAQDCxkzofFbyA2lI/f867ZIEWoeqEpcRtrQ1aZsCahTpLQD+LDKmwUBDCmOG 9vClHd6aL+r431zsTF6YlxOYqlYQnQk= =2+k/ -----END PGP SIGNATURE----- --Sig_/POxrmaW+QVIShIIXoAdNzp6--