Date: Fri, 08 Jul 2016 05:03:01 +0200 From: Jan Beich <jbeich@vfemail.net> To: Peter Grehan <public-grehan-h+KGxgPPiopAfugRpC6u6w@plane.gmane.org> Cc: "freebsd-virtualization-h+KGxgPPiopAfugRpC6u6w\@public.gmane.org" <public-freebsd-virtualization-h+KGxgPPiopAfugRpC6u6w@plane.gmane.org> Subject: Re: VirtIO Ethernet driver in DragonFlyBSD under FreeBSD bhyve Message-ID: <furk-hlwa-wny@vfemail.net> In-Reply-To: <d73a945c-ae20-c385-aa98-7fedd655981a@freebsd.org> (Peter Grehan's message of "Wed, 6 Jul 2016 21:46:03 -0700") References: <9893747.yFCcEWVR7f@gizmo.my.domain> <56ABFE12.4060805@freebsd.org> <60sv-b0so-wny@vfemail.net> <b790cba6-dc86-aa51-2058-33525a6b4bd6@freebsd.org> <ziq5-vuhz-wny@vfemail.net> <d73a945c-ae20-c385-aa98-7fedd655981a@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Grehan <grehan-h+KGxgPPiopAfugRpC6u6w@public.gmane.org> writes: > Hi Jan, > >>>> Any news since then? virtio-net and virtio-blk work fine if using Qemu + >>>> OVMF 20160418 (a8c39ba) on the same DragonFly disk image where Bhyve + >>>> BHYVE_UEFI_20160526.fd fails. >> >> VirtIO issue isn't specific to UEFI but also happens with Grub2. [...] >> $ bhyve -l com1,stdio -l bootrom,BHYVE_UEFI.fd -m 4G -s 0,hostbridge \ >> -s 31,lpc -s 4,virtio-blk,/dev/md0 -s 5,virtio-net,tap0 vm0 > > Dragonfly changed to allow single-vector MSI which fixes the issue: > > http://gitweb.dragonflybsd.org/dragonfly.git/commit/f41543e16b49e0294028d1f4bb5a5667694536f1 Tested v4.5.0.1295.gf41543 snapshot. It boots fine with virtio-blk and virtio-net. However, as soon one or more CPU is added together with AHCI enabled DragonFly hangs just before "Mounting root from ...". Try adding the following options to the quoted command line. -c 2 -s 3,ahci-cd,/dev/md0 -- Discovered with vm-bhyve which passes -s 3:0,ahci-cd,null.iso to UEFI VMs. ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?furk-hlwa-wny>