From owner-freebsd-virtualization@freebsd.org Fri Oct 16 16:39:56 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D884DA16F72 for ; Fri, 16 Oct 2015 16:39:56 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id E53EB131E; Fri, 16 Oct 2015 16:39:55 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA25892; Fri, 16 Oct 2015 19:39:53 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Zn82r-000O8x-E1; Fri, 16 Oct 2015 19:39:53 +0300 Subject: Re: Illumos boot To: Peter Grehan , Matt Churchyard , Tycho Nightingale References: <17936712-FB88-4017-8C0D-BEC4926D698E@pluribusnetworks.com> <568ad0b2decf4537bff8f310a703c40b@SERVER.ad.usd-group.com> <83C11159-D5DE-4E02-972C-A66A80155EB8@pluribusnetworks.com> <051593da46cc417fa3e3b8fef3018746@SERVER.ad.usd-group.com> <561FDAD6.4030006@freebsd.org> Cc: "freebsd-virtualization@freebsd.org" From: Andriy Gapon Message-ID: <56212820.1010008@FreeBSD.org> Date: Fri, 16 Oct 2015 18:38:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <561FDAD6.4030006@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 16 Oct 2015 16:39:56 -0000 On 15/10/2015 18:56, Peter Grehan wrote: > Hi Matt, > >>> -s 0,hostbridge > > Things should work if you leave out the hostbridge. The PCIe capability > that is tacked on to this will make Illumos use MSI/MSIx for the virtio > adapter which apparently hits a bug in the driver. Without it, the > virtio driver will fall back to legacy interrupts. This also means that > the virtio adapter will be confined to slots 3/4/5/6. > > [root@smartos ~]# echo ::interrupts | mdb -k > IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# ISR(s) > 1 0x40 5 ISA Edg Fixed 0 1 0x0/0x1 i8042_intr > 3 0xb1 12 ISA Edg Fixed 0 1 0x0/0x3 asyintr > 4 0xb0 12 ISA Edg Fixed 0 1 0x0/0x4 asyintr > 9 0x81 9 PCI Lvl Fixed 1 1 0x0/0x9 acpi_wrapper_isr > 12 0x41 5 ISA Edg Fixed 1 1 0x0/0xc i8042_intr > 16 0x42 5 PCI Lvl Fixed 1 1 0x0/0x10 ahci_intr > 17 0x43 5 PCI Lvl Fixed 0 1 0x0/0x11 ahci_intr > 18 0x60 6 PCI Lvl Fixed 1 1 0x0/0x12 virtio_intx_dispatch > 160 0xa0 0 Edg IPI all 0 - poke_cpu > 208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr > 209 0xd1 14 Edg IPI all 1 - cbe_fire > 210 0xd3 14 Edg IPI all 1 - cbe_fire > 240 0xe0 15 Edg IPI all 1 - xc_serv > 241 0xe1 15 Edg IPI all 1 - apic_error_intr > > > (I believe Andriy Gapon (cc'd) has a fix for this in Illumos) Yes, it's here https://www.illumos.org/rb/r/86/ I plan to RTI that change soon-ish. -- Andriy Gapon