bhyve: Unsupported MSI-X configuration: 2/0/0
akgupt3 at gmail.com
Sat Nov 29 05:02:10 UTC 2014
>> bge0 at pci0:2:0:0: class=0x020000 card=0x06471025 chip=0x16b514e4 rev=0x10 hdr=0x00
>> sdhci_pci0 at pci0:2:0:1: class=0x080501 card=0x06471025 chip=0x16bc14e4 rev=0x10 hdr=0x00
>> none2 at pci0:2:0:2: class=0x088000 card=0x06471025 chip=0x16be14e4 rev=0x10 hdr=0x00
>> none3 at pci0:2:0:3: class=0x088000 card=0x06471025 chip=0x16bf14e4 rev=0x10 hdr=0x00
Passthrough stub driver is part of vmm.ko and if it was present early in boot, you should see ppt at pciD:B:S:F[Domain:Bus:Slot:Function] in pciocnf list above. Given that bge driver claimed 2/0/0, most likely vmm.ko failed to load or probably was not present. Do you have vmm_load=“YES” in /boot/loader.conf as mentioned in https://wiki.freebsd.org/bhyve/pci_passthru? <https://wiki.freebsd.org/bhyve/pci_passthru?>
If you already have loader.conf configured correctly, you can try to manually load vmm.ko once system is booted and see dmesg for any problem in loading it like kernel mismatch, missing symbol[One common I usually encounter is KTRACE define in sys/modules/vmm/Makefile but kernel config is missing “option KTRACE”] etc.
> On Nov 28, 2014, at 5:05 PM, Craig Rodrigues <rodrigc at FreeBSD.org> wrote:
> On Fri, Nov 28, 2014 at 1:10 PM, Nikos Vassiliadis <nvass at gmx.com> wrote:
>> 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
>> could try?
> Did you read this: https://wiki.freebsd.org/bhyve/pci_passthru ?
> After following those instructions, what is the output of pciconf -l -v
> before and after enabling PCI passthru?
> On the host and in the guest?
> freebsd-virtualization at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"
More information about the freebsd-virtualization