ath0 (wlan0) not working in virtulised guest with bhyve
neelnatu at gmail.com
Sun Feb 28 22:36:31 UTC 2016
On Sun, Feb 28, 2016 at 7:17 AM, richard bader
<richard at bader-muenchen.de> wrote:
> Hey Neel,
>> I suspect that the ath0 controller does not support MSI/MSI-x
>> interrupts. The output of 'pciconf -lvbc' on the host will confirm if
>> this is the case.
> thanks for the hint. The controller should support MSI interrupts.
> root at test10:/usr/src/sys # pciconf -lvbc
> ath0 at pci0:5:0:0: class=0x028000 card=0x30a4168c chip=0x002e168c
> rev=0x01 hdr=0x00
> vendor = 'Atheros Communications Inc.'
> device = 'AR9287 Wireless Network Adapter (PCI-Express)'
> class = network
> bar  = type Memory, range 64, base 0xf7100000, size 65536, enabled
> cap 01 = powerspec 3 supports D0 D1 D3 current D0
> cap 05 = MSI supports 1 message
> cap 10 = PCI-Express 2 legacy endpoint max data 128(128) link x1(x1)
> speed 2.5(2.5) ASPM L0s/L1(L0s/L1)
> ecap 0001 = AER 1 0 fatal 0 non-fatal 1 corrected
> ecap 0002 = VC 1 max VC0
> ecap 0003 = Serial 1 001517ffff241412
> ecap 0004 = Power Budgeting 1
> But as I read in https://wiki.freebsd.org/dev/ath_hal%284%29/AR9300, MSI
> interrupts are not supported before AR9300 HAL.
> So i'll buy an other card and try again.
> But it would be a good idea to add the check for supported MSI/MSI-x
> interrupts to the https://wiki.freebsd.org/bhyve/pci_passthru .
Done, thanks for the suggestion.
More information about the freebsd-virtualization