Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Nikos Vassiliadis
On 11/30/14 20:42, Neel Natu wrote: this CPU does not support VT-d, which is needed for PCI passthru. Indeed. Good catch, Neel should this be the case? Definitely! vmm.ko should probably not even attach the ppt driver to "pptdevs" if an IOMMU is absent. OK, the mystery is solved then. Tha

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Neel Natu
Hi Nikos, On Sun, Nov 30, 2014 at 7:37 AM, Nikos Vassiliadis wrote: > Hi, > > On 11/30/14 00:48, Craig Rodrigues wrote: >> >> I'm not sure, but according to this datasheet: >> >> >> http://ark.intel.com/products/65700/Intel-Core-i3-3110M-Processor-3M-Cache-2_40-GHz >> >> this CPU does not support

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Neel Natu
Hi Nikos, On Sun, Nov 30, 2014 at 7:50 AM, Nikos Vassiliadis wrote: > Hi, > > On 11/30/14 02:37, Neel Natu wrote: >> >> The "Unsupported MSI-X configuration" referred to here is that bhyve >> doesn't emulate the 'Pending Bit Array'. >> >> In most cases this is not relevant because the PBA and the

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Neel Natu
Hi Nikos, On Sun, Nov 30, 2014 at 7:58 AM, Nikos Vassiliadis wrote: > Hi, > > On 11/30/14 02:43, Neel Natu wrote: >> >> Can you provide the output of 'pciconf -lvbc pci0:3:0:0' on the FreeBSD >> host? >> >> This is assuming pci0:3:0:0 is the wlan device being passed through >> based on an earlier

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Nikos Vassiliadis
Hi, On 11/30/14 02:43, Neel Natu wrote: Can you provide the output of 'pciconf -lvbc pci0:3:0:0' on the FreeBSD host? This is assuming pci0:3:0:0 is the wlan device being passed through based on an earlier email. Yes, it is. Here is the output: none0@pci0:3:0:0: class=0x028000 card=0xe

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Nikos Vassiliadis
Hi, On 11/30/14 02:37, Neel Natu wrote: The "Unsupported MSI-X configuration" referred to here is that bhyve doesn't emulate the 'Pending Bit Array'. In most cases this is not relevant because the PBA and the MSI-X tables are in different page frames. In this case the MSI-X tables are emulated

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-30 Thread Nikos Vassiliadis
Hi, On 11/30/14 00:48, Craig Rodrigues wrote: I'm not sure, but according to this datasheet: http://ark.intel.com/products/65700/Intel-Core-i3-3110M-Processor-3M-Cache-2_40-GHz this CPU does not support VT-d, which is needed for PCI passthru. Indeed. Good catch, Neel should this be the case?

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Neel Natu
Hi Nikos, On Sat, Nov 29, 2014 at 10:45 AM, Nikos Vassiliadis wrote: > > > On 11/29/14 18:38, Anish Gupta wrote: >> >> >Another thing I should mention is that "acpidump -t | grep DMAR" >> reports nothing. It is mentioned in the documentation but I didn't see >> until now. >> >> DMAR/VT-d has bee

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Neel Natu
Hi Nikos, On Sat, Nov 29, 2014 at 6:01 AM, Nikos Vassiliadis wrote: > > > On 11/29/14 02:05, Craig Rodrigues wrote: >> >> On Fri, Nov 28, 2014 at 1:10 PM, Nikos Vassiliadis > > wrote: >> >> Hi, >> >> I am trying to use PCI passthrough to pass the bge device to a gues

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Craig Rodrigues
On Sat, Nov 29, 2014 at 10:45 AM, Nikos Vassiliadis wrote: > There are very few setting in the BIOS setup and nothing related to VT-d. > My CPU and CPU settings are these: > > CPU: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz (2394.61-MHz K8-class CPU) >> > I'm not sure, but according to this datas

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Nikos Vassiliadis
On 11/29/14 18:38, Anish Gupta wrote: >Another thing I should mention is that "acpidump -t | grep DMAR" reports nothing. It is mentioned in the documentation but I didn't see until now. DMAR/VT-d has been supported for sometime now by Intel chipset. You want to check your BIOS set-up to enabl

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Anish Gupta
>Another thing I should mention is that "acpidump -t | grep DMAR" reports nothing. It is mentioned in the documentation but I didn't see until now. DMAR/VT-d has been supported for sometime now by Intel chipset. You want to check your BIOS set-up to enable VT-d. >Actually my goal is to use the

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Nikos Vassiliadis
On 11/29/14 06:02, Anish Gupta wrote: bge0@pci0:2:0:0:class=0x02 card=0x06471025 chip=0x16b514e4 rev=0x10 hdr=0x00 sdhci_pci0@pci0:2:0:1: class=0x080501 card=0x06471025 chip=0x16bc14e4 rev=0x10 hdr=0x00 none2@pci0:2:0:2: class=0x088000 card=0x06471025 chip=0x16be14e4 rev=0x10

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Nikos Vassiliadis
On 11/29/14 02:05, Craig Rodrigues wrote: On Fri, Nov 28, 2014 at 1:10 PM, Nikos Vassiliadis mailto:nv...@gmx.com>> wrote: Hi, I am trying to use PCI passthrough to pass the bge device to a guest but I am doing something wrong. I have tried several combinations of pptdevs like

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-28 Thread Anish Gupta
>> bge0@pci0:2:0:0:class=0x02 card=0x06471025 chip=0x16b514e4 >> rev=0x10 hdr=0x00 >> sdhci_pci0@pci0:2:0:1: class=0x080501 card=0x06471025 chip=0x16bc14e4 >> rev=0x10 hdr=0x00 >> none2@pci0:2:0:2: class=0x088000 card=0x06471025 chip=0x16be14e4 >> rev=0x10 hdr=0x00 >> none3@pc

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-28 Thread Craig Rodrigues
On Fri, Nov 28, 2014 at 1:10 PM, Nikos Vassiliadis wrote: > Hi, > > I am trying to use PCI passthrough to pass the bge device to a guest but I > am doing something wrong. I have tried several combinations of pptdevs like > "2/0/0 2/0/1 2/0/2 2/0/3" but it always fails on 2/0/0. Any ideas what I >