Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 12:34:29 -0600 (CST)
From:      Bryan Venteicher <bryanv@daemoninthecloset.org>
To:        Marat Bakeev <hawara@Hawara.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: vtnet cannot allocate interrupts
Message-ID:  <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org>
In-Reply-To: <5118E47B.9020807@Hawara.com>
References:  <5118E47B.9020807@Hawara.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

----- Original Message -----
> From: "Marat Bakeev" <hawara@Hawara.com>
> To: freebsd-virtualization@freebsd.org
> Sent: Monday, February 11, 2013 6:30:51 AM
> Subject: vtnet cannot allocate interrupts
> 
> Hello.
> 
> After updating from http://svn.freebsd.org/base/projects/bhyve to
> http://svn.freebsd.org/base/head i cannot use vtnet device inside bhyve
> guests, both 10 and 9 freebsd.
> 
> I`m getting these errors at boot, and no vtnet device:
> 
> guest 9.1-RELEASE + virtio
> virtio_pci0: cannot allocate interrupts
> vtnet0: cannot allocate virtqueues
> (guest system boots, but no vtnet device)
> 
> guest 10.0-CURRENT
> virtio_pci0: <VirtIO PCI Network adapter> port 0x2000-0x201f mem
> 0x40000000-0x40001fff at device 1.0 on pci0
> vtnet0: <VirtIO Networking Adapter> on virtio_pci0
> virtio_pci0: host features: 0x18020 <Status,MrgRxBuf,MacAddress>
> virtio_pci0: negotiated features: 0x18020 <Status,MrgRxBuf,MacAddress>
> vtnet0: Ethernet address: 00:a0:98:e0:a7:44
> virtio_pci0: exhausted all interrupt allocation attempts
> vtnet0: cannot setup virtqueue interrupts
> (guest system hangs)
> 
> How to fix these errors?
> 

Recent bhyve changed to use MSIX instead of MSI. I wonder if that
is causing this. If you do:

$ BHYVE_USE_MSI=true bhyve ... 

does it work?

> Thanks.
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to
> "freebsd-virtualization-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1399173350.4891.1360607669873.JavaMail.root>