From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 11 11:06:54 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8AF8D2F4 for ; Mon, 11 Feb 2013 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7CBFA1BE5 for ; Mon, 11 Feb 2013 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1BB6s4P081468 for ; Mon, 11 Feb 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1BB6sbw081466 for freebsd-virtualization@FreeBSD.org; Mon, 11 Feb 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Feb 2013 11:06:54 GMT Message-Id: <201302111106.r1BB6sbw081466@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 11 Feb 2013 11:06:54 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/170096 virtualization[vimage] Dynamically-attached network interface will c o kern/169991 virtualization[run] [vimage] panic after device plugged in o kern/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF/IPFilter + VIMAGE k a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail a kern/141696 virtualization[rum] [vimage] [panic] rum(4)+ vimage = kernel panic 10 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 11 12:33:58 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 231CA320 for ; Mon, 11 Feb 2013 12:33:58 +0000 (UTC) (envelope-from hawara@Hawara.com) Received: from hawara.com (hawara.com [188.123.234.55]) by mx1.freebsd.org (Postfix) with ESMTP id 874CD3ED for ; Mon, 11 Feb 2013 12:33:56 +0000 (UTC) Received: from hawara.office.masterhost.ru ([87.242.97.4]) (AUTH: CRAM-MD5 hawara@hawara.com, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by hawara.com with ESMTPSA; Mon, 11 Feb 2013 16:30:51 +0400 id 000DBB27.5118E47B.000151F8 Message-ID: <5118E47B.9020807@Hawara.com> Date: Mon, 11 Feb 2013 16:30:51 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130111 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: vtnet cannot allocate interrupts Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 11 Feb 2013 12:33:58 -0000 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: port 0x2000-0x201f mem 0x40000000-0x40001fff at device 1.0 on pci0 vtnet0: on virtio_pci0 virtio_pci0: host features: 0x18020 virtio_pci0: negotiated features: 0x18020 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? Thanks. From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 11 12:36:26 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 17AE63B5 for ; Mon, 11 Feb 2013 12:36:26 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5A7616 for ; Mon, 11 Feb 2013 12:36:25 +0000 (UTC) Received: from mailout-eu.gmx.com ([10.1.101.215]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MZRZ5-1ULaWT2txt-00LBDc for ; Mon, 11 Feb 2013 13:36:24 +0100 Received: (qmail invoked by alias); 11 Feb 2013 12:36:24 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-eu015) with SMTP; 11 Feb 2013 13:36:24 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18FccdkR34Feby/2XtCB1wXK5oEplYK7JqzQ/0cCs 28QKcnxOMgFBNF Message-ID: <5118E5C1.2000809@gmx.com> Date: Mon, 11 Feb 2013 14:36:17 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: lagg panic Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 11 Feb 2013 12:36:26 -0000 Hi, I just noticed this is not committed. Could somebody commit it? http://lists.freebsd.org/pipermail/freebsd-net/2011-November/030526.html Thanks, Nikos From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 11 18:40:42 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 18D077E2 for ; Mon, 11 Feb 2013 18:40:42 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (ip-static-94-242-209-234.as5577.net [94.242.209.234]) by mx1.freebsd.org (Postfix) with ESMTP id D4966662 for ; Mon, 11 Feb 2013 18:40:40 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.209.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sage.daemoninthecloset.org", Issuer "daemoninthecloset.org" (verified OK)) by torment.daemoninthecloset.org (Postfix) with ESMTPS id 901F042C25BF; Mon, 11 Feb 2013 19:34:39 +0100 (CET) X-Virus-Scanned: amavisd-new at daemoninthecloset.org X-Virus-Scanned: amavisd-new at daemoninthecloset.org Date: Mon, 11 Feb 2013 12:34:29 -0600 (CST) From: Bryan Venteicher To: Marat Bakeev Message-ID: <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> In-Reply-To: <5118E47B.9020807@Hawara.com> References: <5118E47B.9020807@Hawara.com> Subject: Re: vtnet cannot allocate interrupts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.51.1.14] X-Mailer: Zimbra 8.0.2_GA_5569 (ZimbraWebClient - GC24 (Mac)/8.0.2_GA_5569) Thread-Topic: vtnet cannot allocate interrupts Thread-Index: Nfgi/jm9phW+FAcBZ9wsFmks5kio9A== Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 11 Feb 2013 18:40:42 -0000 Hi, ----- Original Message ----- > From: "Marat Bakeev" > 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: port 0x2000-0x201f mem > 0x40000000-0x40001fff at device 1.0 on pci0 > vtnet0: on virtio_pci0 > virtio_pci0: host features: 0x18020 > virtio_pci0: negotiated features: 0x18020 > 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" > From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 11 18:56:55 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B3223F48 for ; Mon, 11 Feb 2013 18:56:55 +0000 (UTC) (envelope-from hawara@hawara.com) Received: from hawara.com (hawara.com [188.123.234.55]) by mx1.freebsd.org (Postfix) with ESMTP id D9B1F76A for ; Mon, 11 Feb 2013 18:56:54 +0000 (UTC) Received: from [192.168.1.10] ([192.168.1.1]) (AUTH: CRAM-MD5 hawara@hawara.com, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by hawara.com with ESMTPSA; Mon, 11 Feb 2013 22:56:50 +0400 id 000DBB27.51193EF2.00015AF0 Message-ID: <51193EED.2070004@hawara.com> Date: Mon, 11 Feb 2013 22:56:45 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Bryan Venteicher Subject: Re: vtnet cannot allocate interrupts References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> In-Reply-To: <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 11 Feb 2013 18:56:55 -0000 11.02.2013 22:34, Bryan Venteicher пишет: > 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? > No, it won`t work, but it seems i had msix disabled in loader.conf, as in example from here - http://www.emulsoft.com/bhyve-ufs.txt. I enabled msix, and the vtnet device is now loading fine. Do I need other options in loader.conf, like these?: smbios.bios.vendor="BHYVE" console="userboot" hw.pci.honor_msi_blacklist="0" From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 12 01:21:35 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E5E29C0 for ; Tue, 12 Feb 2013 01:21:35 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ia0-x22d.google.com (mail-ia0-x22d.google.com [IPv6:2607:f8b0:4001:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 1C15CAEC for ; Tue, 12 Feb 2013 01:21:35 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id h37so7009345iak.32 for ; Mon, 11 Feb 2013 17:21:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=ccqIHXkHe46VgebgAQkAjTUlYGGoTdFu8EWDzblLVmw=; b=tG/T/1qaUSLdrE9dfB1NQ5afbmHVhVDHdjWhMhqSb1VYdG2MbrmkAMX5oRXTJG1pG7 zECPm2tvHd+Ud+rOAIYfYd1DlEQT+d6d9yhJDNAzpTeumH8g9DtxDA3rs8xgdF0P2PMu DreRmbmqaMKztvvLD6i8dXAOyAWCVbcLnpNXNwOMajE1Q+C10TTdfupj7SYshfMq9vv1 xUWj/iW1SBKOZt3bQE2cNi0G7VkZ9Zc3ZkdG3F3vJZUFGNzI6uB2ec6tPr1t7G5oiwK5 qIcxurebkkNBIRiAwMX2Y/BcYjhiAuLKWypeqK09R1jOZIxFIOEUSV49rL80wAHnLY9L eU/w== MIME-Version: 1.0 X-Received: by 10.50.170.69 with SMTP id ak5mr15653270igc.56.1360632094292; Mon, 11 Feb 2013 17:21:34 -0800 (PST) Received: by 10.42.23.132 with HTTP; Mon, 11 Feb 2013 17:21:34 -0800 (PST) In-Reply-To: <51193EED.2070004@hawara.com> References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> Date: Mon, 11 Feb 2013 17:21:34 -0800 Message-ID: Subject: Re: vtnet cannot allocate interrupts From: Neel Natu To: Marat Bakeev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 12 Feb 2013 01:21:35 -0000 Hi Marat, On Mon, Feb 11, 2013 at 10:56 AM, Marat Bakeev wrote: > 11.02.2013 22:34, Bryan Venteicher =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> Recent bhyve changed to use MSIX instead of MSI. I wonder if that >> is causing this. If you do: >> >> $ BHYVE_USE_MSI=3Dtrue bhyve ... >> >> does it work? >> > > No, it won`t work, but it seems i had msix disabled in loader.conf, as in > example from here - http://www.emulsoft.com/bhyve-ufs.txt. > I enabled msix, and the vtnet device is now loading fine. > Glad to hear. > Do I need other options in loader.conf, like these?: > > smbios.bios.vendor=3D"BHYVE" > console=3D"userboot" > hw.pci.honor_msi_blacklist=3D"0" > No, you don't need these anymore. Here is a simple set of instructions that should get you started: http://people.freebsd.org/~neel/bhyve/bhyve_instructions.txt They do not have all the bells-and-whistles as some of the other HOWTOs but it should get you a working VM in a short amount of time. best Neel > > _______________________________________________ > 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" From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 12 09:35:27 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 87347EEE for ; Tue, 12 Feb 2013 09:35:27 +0000 (UTC) (envelope-from hawara@Hawara.com) Received: from hawara.com (hawara.com [188.123.234.55]) by mx1.freebsd.org (Postfix) with ESMTP id BC805FC2 for ; Tue, 12 Feb 2013 09:35:26 +0000 (UTC) Received: from hawara.office.masterhost.ru ([87.242.97.4]) (AUTH: CRAM-MD5 hawara@hawara.com, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by hawara.com with ESMTPSA; Tue, 12 Feb 2013 13:35:23 +0400 id 000DBB28.511A0CDB.00004325 Message-ID: <511A0CDB.7090309@Hawara.com> Date: Tue, 12 Feb 2013 13:35:23 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130111 Thunderbird/17.0.2 MIME-Version: 1.0 To: Neel Natu Subject: Re: vtnet cannot allocate interrupts References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 12 Feb 2013 09:35:27 -0000 On 12/02/2013 05:21, Neel Natu wrote: > Hi Marat, > > On Mon, Feb 11, 2013 at 10:56 AM, Marat Bakeev wrote: >> 11.02.2013 22:34, Bryan Venteicher пишет: >> >>> 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? >>> >> No, it won`t work, but it seems i had msix disabled in loader.conf, as in >> example from here - http://www.emulsoft.com/bhyve-ufs.txt. >> I enabled msix, and the vtnet device is now loading fine. >> > Glad to hear. > >> Do I need other options in loader.conf, like these?: >> >> smbios.bios.vendor="BHYVE" >> console="userboot" >> hw.pci.honor_msi_blacklist="0" >> > No, you don't need these anymore. > > Here is a simple set of instructions that should get you started: > http://people.freebsd.org/~neel/bhyve/bhyve_instructions.txt > > They do not have all the bells-and-whistles as some of the other > HOWTOs but it should get you a working VM in a short amount of time. > > best > Neel It seems it`s not really working :( I only tested 10-current guest, and only that it boots with vtnet device. The vtnet device appears, but i can`t get it to work - no packets come inside the guest. 10-CURRENT guest: root@vm2:~ # uname -a FreeBSD vm2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Dec 8 18:14:15 PST 2012 root@bhyve:/usr/obj/usr/src/sys/GENERIC amd64 root@vm2:~ # ifconfig vtnet0: flags=8943 metric 0 mtu 1500 options=80028 ether 00:a0:98:e0:a7:44 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::2a0:98ff:fee0:a744%vtnet0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet 1000baseT status: active Host system: [root@spark /usr/src]# ifconfig em0: flags=8943 metric 0 mtu 1500 options=42098 ether 08:60:6e:44:5f:17 inet x.x.x.2 netmask 0xffffffe0 broadcast x.x.x..31 inet6 fe80::a60:6eff:fe44:5f17%em0 prefixlen 64 scopeid 0x1 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active bridge0: flags=8802 metric 0 mtu 1500 ether 02:f3:6c:99:4a:00 nd6 options=29 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 member: tap3 flags=143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: em0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 20000 tap3: flags=8943 metric 0 mtu 1500 options=80000 ether 00:bd:8c:3f:30:03 nd6 options=29 media: Ethernet autoselect status: active Opened by PID 63225 [root@spark /usr/src]# ping 192.168.0.2 PING 192.168.0.2 (192.168.0.2): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down root@vm2:~ # ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1): 56 data bytes load: 0.00 cmd: ping 702 [select] 16.51r 0.00u 0.00s 0% 9888k 0/17 packets received (0.0%) After enabling msix - 9.1 guest won`t boot at all, it cannot attach vtblk: virtio_pci0: port 0x2000-0x201f mem 0x40000000-0x40001fff at device 1.0 on pci0 vtnet0: on virtio_pci0 virtio_pci0: host features: 0x18020 virtio_pci0: negotiated features: 0x18020 virtio_pci0: cannot allocate interrupts vtnet0: cannot allocate virtqueues device_attach: vtnet0 attach returned 6 virtio_pci1: port 0x2040-0x207f at device 2.0 on pci0 vtblk0: on virtio_pci1 virtio_pci1: host features: 0x10000004 virtio_pci1: negotiated features: 0x10000004 virtio_pci1: cannot allocate interrupts vtblk0: cannot allocate virtqueue device_attach: vtblk0 attach returned 6 If I run 9.1 with BHYVE_USE_MSI - vtblk works, but no vtnet device From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 12 20:17:44 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 09275737 for ; Tue, 12 Feb 2013 20:17:44 +0000 (UTC) (envelope-from lkchen@k-state.edu) Received: from ksu-out.merit.edu (ksu-out.merit.edu [207.75.117.132]) by mx1.freebsd.org (Postfix) with ESMTP id CACAAEC8 for ; Tue, 12 Feb 2013 20:17:43 +0000 (UTC) X-Merit-ExtLoop1: 1 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgEFAAKjGlHPS3TT/2dsb2JhbABBAxaGOLofFnOCHwEBBSNWDAINGgINGQIdLgENBhOIEgytCoJAhwOJDwSBH4wWgR2CHIETA4hmigSUDYMkgVQ1 X-IronPort-AV: E=Sophos;i="4.84,652,1355115600"; d="scan'208";a="31009320" X-MERIT-SOURCE: KSU Received: from ksu-sfpop-mailstore02.merit.edu ([207.75.116.211]) by sfpop-ironport03.merit.edu with ESMTP; 12 Feb 2013 15:17:37 -0500 Date: Tue, 12 Feb 2013 15:17:37 -0500 (EST) From: "Lawrence K. Chen, P.Eng." To: Leslie Jensen Message-ID: <1440893644.14488669.1360700257083.JavaMail.root@k-state.edu> In-Reply-To: <50EAA897.8020509@eskk.nu> Subject: Re: USB in Windows7 guest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [129.130.0.183] X-Mailer: Zimbra 7.2.2_GA_2852 (ZimbraWebClient - GC24 (Linux)/7.2.2_GA_2852) Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 12 Feb 2013 20:17:44 -0000 ----- Original Message ----- > > Hello. > > I have a Windows7 guest OS in Virtualbox on a FreeBSD 9.1-RELEASE > system. > > I've followed the instructions in the handbook for enabling > USB-support > in Virtualbox. > > In the machines settings I've ticked for activation of USB controller > but not for USB2 because it needs an extension pack that's not > available > for freebsd if I've understood it right. > > I have an Epson V500 scanner that is recognized as an unknown device > by > the host OS. > > ugen7.2: at usbus7 > Unknown USB device: vendor 0x04b8 product 0x0130 bus uhub7 > > > I cannot get it to appear in the guest OS. > > Is it possible and if so what do I need to do in order to make it > visible? > > Thanks > > /Leslie > Possibilities might be to hope that someday usbip is ported to FreeBSD? I played around briefly with it on one of my Ubuntu servers (at other end of condo), and I've also thought about building a small Ubuntu box...but having a hard time seeing why I'd want to actually do this (and less than buying a commercial USB over IP product, such as those made by Silex.) So, the other possibility is to just buy one of those commercial USB over IP products. Some are specifically sold for using USB devices inside of VMs. Meanwhile, I have an old Windows XP guest on my Ubuntu server that I used once or twice a week when I need USB something. But, I'm in the process of converting to FreeBSD 9.1 for my home servers. Oh, I had tried finding a USB 1.1 hub and plugging the desired device into that to see if I could make it work....it didn't. In fact, later my system would hang while booting though not sure if it was the USB hub or the memory card reader that was the problem (since I read later that some memory card readers can be problematic.) -- Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator For: Enterprise Server Technologies (EST) -- & SafeZone Ally Snail: Computing and Telecommunications Services (CTS) Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102 Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: lkchen@ksu.edu Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library From owner-freebsd-virtualization@FreeBSD.ORG Wed Feb 13 03:34:13 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C15BC02 for ; Wed, 13 Feb 2013 03:34:13 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ia0-x231.google.com (ia-in-x0231.1e100.net [IPv6:2607:f8b0:4001:c02::231]) by mx1.freebsd.org (Postfix) with ESMTP id 03122828 for ; Wed, 13 Feb 2013 03:34:12 +0000 (UTC) Received: by mail-ia0-f177.google.com with SMTP id k38so751322iah.8 for ; Tue, 12 Feb 2013 19:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=uusS2SfMfrXs1G0atfaebMPoM7D/NSXR4R5RzE66MlY=; b=qGcDQR0LdQjNxRN64wNx+JOYYVrCOXe+FxSiAPEx7ZGqiksb4Kt2HLRT2HLNH/8fMM iqZcshHNYQPjSYTBKg+AxlHf1ACCUzAQQKxSjAVjh1D6SXiPpisk/rPeqZKiU6gtetKD TezoCmKPyebKHhaaJXO+3RHg9hQD52kvWE5Aft1WhrPo3u0NKRVsujQVQzjfRMiw5I19 l+YOtkl1K+laeR5mzF/eQGmu7oSMoQpYsH8vYNXymw8rARRvxO3q2128e84GJQydEXDn cUxGWxqHWFxh0Y91BhPHVWO3G70ytSyo4g1Pdw5T5aaEey/uULNjqC8GGZUh28fMT3yb 4ojA== MIME-Version: 1.0 X-Received: by 10.50.161.135 with SMTP id xs7mr8347195igb.3.1360726452410; Tue, 12 Feb 2013 19:34:12 -0800 (PST) Received: by 10.42.23.132 with HTTP; Tue, 12 Feb 2013 19:34:12 -0800 (PST) In-Reply-To: <511A0CDB.7090309@Hawara.com> References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> <511A0CDB.7090309@Hawara.com> Date: Tue, 12 Feb 2013 19:34:12 -0800 Message-ID: Subject: Re: vtnet cannot allocate interrupts From: Neel Natu To: Marat Bakeev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 13 Feb 2013 03:34:13 -0000 Hi Marat, On Tue, Feb 12, 2013 at 1:35 AM, Marat Bakeev wrote: > On 12/02/2013 05:21, Neel Natu wrote: >> Hi Marat, >> >> On Mon, Feb 11, 2013 at 10:56 AM, Marat Bakeev wrote= : >>> 11.02.2013 22:34, Bryan Venteicher =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> >>>> Recent bhyve changed to use MSIX instead of MSI. I wonder if that >>>> is causing this. If you do: >>>> >>>> $ BHYVE_USE_MSI=3Dtrue bhyve ... >>>> >>>> does it work? >>>> >>> No, it won`t work, but it seems i had msix disabled in loader.conf, as = in >>> example from here - http://www.emulsoft.com/bhyve-ufs.txt. >>> I enabled msix, and the vtnet device is now loading fine. >>> >> Glad to hear. >> >>> Do I need other options in loader.conf, like these?: >>> >>> smbios.bios.vendor=3D"BHYVE" >>> console=3D"userboot" >>> hw.pci.honor_msi_blacklist=3D"0" >>> >> No, you don't need these anymore. >> >> Here is a simple set of instructions that should get you started: >> http://people.freebsd.org/~neel/bhyve/bhyve_instructions.txt >> >> They do not have all the bells-and-whistles as some of the other >> HOWTOs but it should get you a working VM in a short amount of time. >> >> best >> Neel > > > It seems it`s not really working :( I only tested 10-current guest, and > only that it boots with vtnet device. > The vtnet device appears, but i can`t get it to work - no packets come > inside the guest. > > 10-CURRENT guest: > > root@vm2:~ # uname -a > FreeBSD vm2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Dec 8 18:14:15 > PST 2012 root@bhyve:/usr/obj/usr/src/sys/GENERIC amd64 > root@vm2:~ # ifconfig > vtnet0: flags=3D8943 > metric 0 mtu 1500 > options=3D80028 > ether 00:a0:98:e0:a7:44 > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80::2a0:98ff:fee0:a744%vtnet0 prefixlen 64 scopeid 0x1 > nd6 options=3D29 > media: Ethernet 1000baseT > status: active > > Host system: > [root@spark /usr/src]# ifconfig > em0: flags=3D8943 metric = 0 > mtu 1500 > > options=3D42098 > ether 08:60:6e:44:5f:17 > inet x.x.x.2 netmask 0xffffffe0 broadcast x.x.x..31 > inet6 fe80::a60:6eff:fe44:5f17%em0 prefixlen 64 scopeid 0x1 > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > nd6 options=3D29 > media: Ethernet autoselect (1000baseT ) > status: active > > bridge0: flags=3D8802 metric 0 mtu 1500 > ether 02:f3:6c:99:4a:00 > nd6 options=3D29 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 > member: tap3 flags=3D143 > ifmaxaddr 0 port 4 priority 128 path cost 2000000 > member: em0 flags=3D143 > ifmaxaddr 0 port 1 priority 128 path cost 20000 'bridge0' needs to be 'up'. Try doing 'ifconfig bridge0 up' and that should get the packets flowing to the guest. best Neel > tap3: flags=3D8943 metric > 0 mtu 1500 > options=3D80000 > ether 00:bd:8c:3f:30:03 > nd6 options=3D29 > media: Ethernet autoselect > status: active > Opened by PID 63225 > > [root@spark /usr/src]# ping 192.168.0.2 > PING 192.168.0.2 (192.168.0.2): 56 data bytes > ping: sendto: Host is down > ping: sendto: Host is down > ping: sendto: Host is down > ping: sendto: Host is down > > root@vm2:~ # ping 192.168.0.1 > PING 192.168.0.1 (192.168.0.1): 56 data bytes > load: 0.00 cmd: ping 702 [select] 16.51r 0.00u 0.00s 0% 9888k > 0/17 packets received (0.0%) > > > > After enabling msix - 9.1 guest won`t boot at all, it cannot attach vtblk= : > > virtio_pci0: port 0x2000-0x201f mem > 0x40000000-0x40001fff at device 1.0 on pci0 > vtnet0: on virtio_pci0 > virtio_pci0: host features: 0x18020 > virtio_pci0: negotiated features: 0x18020 > virtio_pci0: cannot allocate interrupts > vtnet0: cannot allocate virtqueues > device_attach: vtnet0 attach returned 6 > virtio_pci1: port 0x2040-0x207f at device 2.0 > on pci0 > vtblk0: on virtio_pci1 > virtio_pci1: host features: 0x10000004 > virtio_pci1: negotiated features: 0x10000004 > virtio_pci1: cannot allocate interrupts > vtblk0: cannot allocate virtqueue > device_attach: vtblk0 attach returned 6 > > If I run 9.1 with BHYVE_USE_MSI - vtblk works, but no vtnet device From owner-freebsd-virtualization@FreeBSD.ORG Wed Feb 13 07:45:25 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C6C37C04 for ; Wed, 13 Feb 2013 07:45:25 +0000 (UTC) (envelope-from mbakeev@masterhost.ru) Received: from mail.corp.masterhost.ru (wincas02.mail.corp.masterhost.ru [90.156.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 507D870 for ; Wed, 13 Feb 2013 07:45:24 +0000 (UTC) Received: from hawara.office.masterhost.ru (87.242.97.4) by mail.corp.masterhost.ru (90.156.219.210) with Microsoft SMTP Server (TLS) id 14.2.309.2; Wed, 13 Feb 2013 11:44:11 +0400 Message-ID: <511B444A.60003@masterhost.ru> Date: Wed, 13 Feb 2013 11:44:10 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130111 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: Re: vtnet cannot allocate interrupts References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> <511A0CDB.7090309@Hawara.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [87.242.97.4] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 13 Feb 2013 07:45:25 -0000 On 13/02/2013 07:34, Neel Natu wrote: > 'bridge0' needs to be 'up'. Try doing 'ifconfig bridge0 up' and that > should get the packets flowing to the guest. > > best > Neel Oh, my mistake, that really helped 10-CURRENT guest. But still, i can`t get 9.1-RELEASE to work inside guest. If i disable msix - i can boot the guest, but the vtnet device won`t work. If I enable msix - both vtnet and vtblk drivers won`t work. Can I do something with this? -- Marat Bakeev .masterhost From owner-freebsd-virtualization@FreeBSD.ORG Wed Feb 13 08:06:23 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8C334F4 for ; Wed, 13 Feb 2013 08:06:23 +0000 (UTC) (envelope-from hawara@Hawara.com) Received: from hawara.com (hawara.com [188.123.234.55]) by mx1.freebsd.org (Postfix) with ESMTP id 00E02159 for ; Wed, 13 Feb 2013 08:06:22 +0000 (UTC) Received: from hawara.office.masterhost.ru ([87.242.97.4]) (AUTH: CRAM-MD5 hawara@hawara.com, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by hawara.com with ESMTPSA; Wed, 13 Feb 2013 12:06:15 +0400 id 000DBB28.511B4977.00015AA8 Message-ID: <511B4976.1070105@Hawara.com> Date: Wed, 13 Feb 2013 12:06:14 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130111 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: vtnet cannot allocate interrupts References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> <511A0CDB.7090309@Hawara.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 13 Feb 2013 08:06:23 -0000 On 13/02/2013 07:34, Neel Natu wrote: > Hi Marat, > > On Tue, Feb 12, 2013 at 1:35 AM, Marat Bakeev wrote: > 'bridge0' needs to be 'up'. Try doing 'ifconfig bridge0 up' and that > should get the packets flowing to the guest. best Neel Oh, my mistake, that really helped 10-CURRENT guest. But still, i can`t get 9.1-RELEASE to work inside guest. If i disable msix - i can boot the guest, but the vtnet device won`t work. If I enable msix - both vtnet and vtblk drivers won`t work. Can I do something with this? From owner-freebsd-virtualization@FreeBSD.ORG Thu Feb 14 02:20:18 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 229EC4DA for ; Thu, 14 Feb 2013 02:20:18 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ia0-x234.google.com (ia-in-x0234.1e100.net [IPv6:2607:f8b0:4001:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id C40E4E56 for ; Thu, 14 Feb 2013 02:20:17 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f27so1813692iae.39 for ; Wed, 13 Feb 2013 18:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=zc+474mRafOhCjoooYAl0btDYsp7rwA+DJy8YMVMW5c=; b=UMIkpSUEAUvqY/O8hb/ZOlSmVDl8LRYA1FzWF1P5Ap/+cN3/R7B8t7fJfyQRVb55Nz eqzl4imV2aYeOm/yiFjmkoFriUONs8tC8gaZnfnoff1bLR2uoAXUKFgjAB0YxYSX688s aCUHFJFO6hKdHsDh2rOHqezrgFPYPuKpJ7k0HBP+71hfHFCjMXe4XP9HuWSrIrkbEtiW EpuRyi7/BhY2i80prgyicG+7RXSfB/PF4aTh6CUbCKUV95sqCshlP46fEuyd0E2x+z7p I2RyclRUT5IOPL7iHH1WI00rPjT6lNkBzZ3BOAw6jRgUMseBHZNjYpNFO8XDHfvKiktK jcPw== MIME-Version: 1.0 X-Received: by 10.43.17.199 with SMTP id qd7mr821996icb.52.1360808417105; Wed, 13 Feb 2013 18:20:17 -0800 (PST) Received: by 10.42.23.132 with HTTP; Wed, 13 Feb 2013 18:20:16 -0800 (PST) In-Reply-To: <511B444A.60003@masterhost.ru> References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> <511A0CDB.7090309@Hawara.com> <511B444A.60003@masterhost.ru> Date: Wed, 13 Feb 2013 18:20:16 -0800 Message-ID: Subject: Re: vtnet cannot allocate interrupts From: Neel Natu To: Marat Bakeev Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 14 Feb 2013 02:20:18 -0000 Hi Marat, On Tue, Feb 12, 2013 at 11:44 PM, Marat Bakeev wrote: > On 13/02/2013 07:34, Neel Natu wrote: >> 'bridge0' needs to be 'up'. Try doing 'ifconfig bridge0 up' and that >> should get the packets flowing to the guest. >> >> best >> Neel > Oh, my mistake, that really helped 10-CURRENT guest. > No problem. > But still, i can`t get 9.1-RELEASE to work inside guest. > If i disable msix - i can boot the guest, but the vtnet device won`t work. > If I enable msix - both vtnet and vtblk drivers won`t work. > Can I do something with this? > You'll need to set 'hw.pci.honor_msi_blacklist' to '0' at the loader prompt or in /boot/loader.conf. I am working on a fix to bhyve that should let you boot the guest without needing the workaround. I hope to submit it in a day or two. best Neel > -- > Marat Bakeev > .masterhost > > _______________________________________________ > 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" From owner-freebsd-virtualization@FreeBSD.ORG Thu Feb 14 02:39:58 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0810A72C for ; Thu, 14 Feb 2013 02:39:58 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-da0-f53.google.com (mail-da0-f53.google.com [209.85.210.53]) by mx1.freebsd.org (Postfix) with ESMTP id D2506EC1 for ; Thu, 14 Feb 2013 02:39:57 +0000 (UTC) Received: by mail-da0-f53.google.com with SMTP id w3so820577dad.12 for ; Wed, 13 Feb 2013 18:39:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=Xlvx9QyZId5s85zSflCrG+YbSDiGM9BRDMRo+eZLdkk=; b=h2Pe15SQ5iTMX5PxhNTWbXPuJ83kMlMLfQREeupowYcpnEEr03spHDCGJOtf9/cTFo bwq5SEeuODh0Lk3G5Z4pUphcrfs1vrboNjIhTp+2NYSZLgXaRjkj6j/MpQ0h6LgqfNix o9XMnlzSG66BmWksfGIAfmDXOkoanW15I+rS2LzZj1aHmUebBkb7EhRIYPEI/+PuCu00 SQ2o7qfp1ZwT69e0YkUoOibZWRb4cZ5wYXQTv/r5nixk2O0RzTHfRE/oueRe/kyVVTca HMnHnCNyihNSod6a1lUw8+8RW8R9yH8qOXOMbQNY4x4hHffXywehjM2ZiEj1ycjLjouw TMrg== X-Received: by 10.66.88.37 with SMTP id bd5mr69935467pab.75.1360809596575; Wed, 13 Feb 2013 18:39:56 -0800 (PST) Received: from MacBook-4.local (c-98-246-202-204.hsd1.or.comcast.net. [98.246.202.204]) by mx.google.com with ESMTPS id f9sm88037005paz.12.2013.02.13.18.39.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 18:39:55 -0800 (PST) Message-ID: <511C4E7A.8040104@callfortesting.org> Date: Wed, 13 Feb 2013 18:39:54 -0800 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: vtnet cannot allocate interrupts References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> <511A0CDB.7090309@Hawara.com> <511B444A.60003@masterhost.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmX7fB9CiwsgS5r6poGZ4rFIKRzj5VeXoKzQvmROQoPPaXqX5PRpY37eJIT8PZE8xVhI5VQ X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 14 Feb 2013 02:39:58 -0000 On 2/13/13 6:20 PM, Neel Natu wrote: > You'll need to set 'hw.pci.honor_msi_blacklist' to '0' at the loader > prompt or in /boot/loader.conf. I am having these same issues with an 8.3-stable NanoBSD kernel I built. I tried it with and without all of the "depreciated" loader.conf variables like 'hw.pci.honor_msi_blacklist' Strangely, even copying in the kernel and virtio drivers from a known good system will not work. I still get the errors below. Suggestions on what else in the configuration might have an impact? Michael pcib0: no PRT entry for 0.31.INTA virtio_pci0: port 0x2000-0x201f at device 1.0 on pc i0 vtnet0: on virtio_pci0 virtio_pci0: host features: 0x18020 virtio_pci0: negotiated features: 0x18020 virtio_pci0: cannot allocate interrupts vtnet0: cannot allocate virtqueues device_attach: vtnet0 attach returned 6 virtio_pci1: port 0x2040-0x207f at device 2.0 on pci0 vtblk0: on virtio_pci1 virtio_pci1: host features: 0x10000004 virtio_pci1: negotiated features: 0x10000004 virtio_pci1: cannot allocate interrupts vtblk0: cannot allocate virtqueue device_attach: vtblk0 attach returned 6 uart2: <16550 or compatible> port 0x3f8-0x3ff irq 4 at device 31.0 on pci0 From owner-freebsd-virtualization@FreeBSD.ORG Thu Feb 14 09:03:41 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 247F6863 for ; Thu, 14 Feb 2013 09:03:41 +0000 (UTC) (envelope-from hawara@Hawara.com) Received: from hawara.com (hawara.com [188.123.234.55]) by mx1.freebsd.org (Postfix) with ESMTP id 805C4F2C for ; Thu, 14 Feb 2013 09:03:39 +0000 (UTC) Received: from hawara.office.masterhost.ru ([87.242.97.4]) (AUTH: CRAM-MD5 hawara@hawara.com, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by hawara.com with ESMTPSA; Thu, 14 Feb 2013 13:03:31 +0400 id 000DBB28.511CA863.0001799F Message-ID: <511CA865.50104@Hawara.com> Date: Thu, 14 Feb 2013 13:03:33 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130111 Thunderbird/17.0.2 MIME-Version: 1.0 To: Neel Natu Subject: Re: vtnet cannot allocate interrupts References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> <511A0CDB.7090309@Hawara.com> <511B444A.60003@masterhost.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 14 Feb 2013 09:03:41 -0000 On 14/02/2013 06:20, Neel Natu wrote: > You'll need to set 'hw.pci.honor_msi_blacklist' to '0' at the loader > prompt or in /boot/loader.conf. Great! This fixes the 9.1-release guest! Thank you. > > I am working on a fix to bhyve that should let you boot the guest > without needing the workaround. I hope to submit it in a day or two. > > best > Neel From owner-freebsd-virtualization@FreeBSD.ORG Fri Feb 15 18:43:28 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4267398A for ; Fri, 15 Feb 2013 18:43:28 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id E820DE33 for ; Fri, 15 Feb 2013 18:43:27 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id 13so5313631iea.0 for ; Fri, 15 Feb 2013 10:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=PiNCXDMp2/HTLq7b4ZSq8Ql2phpzc4stfxByC2JhQ1g=; b=ZJ+CoDXS5f3AEMoxUzD8C1GF8+0iMERU70WrlDlG8WlGzt6S400et3kNLOWTe2nUe9 BoK6VizK7Om0vv3G+a7PLDgzu1JJ312Ra2KXSggfGLOuL0EfHH2XGWHzHirNmg+U9dn3 ac3lC+WazuwTZK+YhQDUkGmCQb7kyTUJHUkdyrKqLFCnHI/+zdX9FtV/OMmHQQamWz7k HeJNu72J8nMdxgMtiM23l82ado5KBN/HrNi9Q4/p38jEIUu39lK7EdlR7xs2MGOfPVCy EbG7GMTIPuFst50Frw+aXVhvYxujulSILe8qPyNFUFDfyDiaqgrrGrofE0VdSWPmQuc9 Jw8g== MIME-Version: 1.0 X-Received: by 10.50.161.135 with SMTP id xs7mr2610549igb.3.1360953807699; Fri, 15 Feb 2013 10:43:27 -0800 (PST) Received: by 10.42.23.132 with HTTP; Fri, 15 Feb 2013 10:43:27 -0800 (PST) In-Reply-To: <511CA865.50104@Hawara.com> References: <5118E47B.9020807@Hawara.com> <1399173350.4891.1360607669873.JavaMail.root@daemoninthecloset.org> <51193EED.2070004@hawara.com> <511A0CDB.7090309@Hawara.com> <511B444A.60003@masterhost.ru> <511CA865.50104@Hawara.com> Date: Fri, 15 Feb 2013 10:43:27 -0800 Message-ID: Subject: Re: vtnet cannot allocate interrupts From: Neel Natu To: Marat Bakeev Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 15 Feb 2013 18:43:28 -0000 Hi Marat, On Thu, Feb 14, 2013 at 1:03 AM, Marat Bakeev wrote: > On 14/02/2013 06:20, Neel Natu wrote: >> You'll need to set 'hw.pci.honor_msi_blacklist' to '0' at the loader >> prompt or in /boot/loader.conf. > Great! This fixes the 9.1-release guest! Thank you. > Once you update your host to r246846 you won't need to set the loader variable. http://svnweb.freebsd.org/base?view=revision&revision=246846 best Neel >> >> I am working on a fix to bhyve that should let you boot the guest >> without needing the workaround. I hope to submit it in a day or two. >> >> best >> Neel