Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2015 03:00:48 -0700
From:      Jonathan Wong <jon.the.wong@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   PCI passthrough help
Message-ID:  <CAO8hVionT8wC6NqeGBddn-YjKsooWiU0x_mKU=ybgCkrZ--KcQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi I've been trying to get PCI-passthrough to work with bhyve, but seem to
have run into some trouble. I've been following this
https://wiki.freebsd.org/bhyve/pci_passthru and have tried to pass through
a few devices: a VGA Nvidia GK106 card by itself, and also an integrated
Atheros card AR9485 network adapter. I've checked that I have iommu and
that the pci devices I want to passthrough aren't being used and are in
pptdevs in loader.conf.

I tried unsuccessfully in 10.1-Release and I've just upgraded to
11-Current, but so far not much luck with PCI-passthrough. The VM I'm
booting is Ubuntu 14.04. I can see the devices in lspci, but nouveau driver
doesn't load because lspci can't enumerate a BAR1 line correctly. In both
cases I'm getting some routing errors, and I want to know if it'll help
debug the situation. It seems there are some successful cases for PCI
passthrough and I'd like to find out in which cases it'll work currently.
http://0xfeedface.org/2014/12/11/FreeBSD-Intel-wifi-via-bhyve.html

The errors in dmesg look like the following (ath9k):
[    4.451908] ath9k 0000:00:09.0: can't derive routing for PCI INT A
[    4.451910] ath9k 0000:00:09.0: PCI INT A: no GSI
[    4.451997] ath9k 0000:00:09.0: request_irq failed
[    4.452459] ath9k 0000:00:09.0: can't derive routing for PCI INT A
[    4.452462] ath9k: probe of 0000:00:09.0 failed with error -22

Any suggestions and tips would be great in getting either device to work.
Thanks,
Jon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO8hVionT8wC6NqeGBddn-YjKsooWiU0x_mKU=ybgCkrZ--KcQ>