Hello Forum.
Wonder if one could give me a hit howto successful pass a atheros mini-pci card on pci-to-mini-pci 4x to a vm.
Only the atheros card ist an the pci-to-mini-pci 4x.
Ohter pcie devices work all right.
Host:
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z77X-UD5H
# lspci -t
-[0000:00]-+-00.0
...
+-1c.5-[05-07]----00.0-[06-07]----00.0-[07]----08.0
...
# lspci -k
05:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 30)
06:00.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 15)
07:08.0 Network controller: Qualcomm Atheros AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn] (rev 01)
Subsystem: Qualcomm Atheros Device 2071
The KVM-Host does pass through the device
[ 366.426966] pci-stub 0000:00:1f.2: claimed by stub
On the VM, ath9k driver:
[ 4705.053730] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040
[ 4705.054203] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
On the VM, ath5k driver:
Sep 7 19:03:14 gate kernel: [ 10.707233] irq 11: nobody cared (try booting with the "irqpoll" option)
Sep 7 19:03:14 gate kernel: [ 10.707626] Pid: 2325, comm: irqstats Not tainted 3.2.0-4-amd64 #1 Debian 3.2.46-1+deb7u1
Sep 7 19:03:14 gate kernel: [ 10.708014] Call Trace:
Sep 7 19:03:14 gate kernel: [ 10.708014] <IRQ> [<ffffffff810926f9>] ? __report_bad_irq+0x2c/0xb5
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff81092ab6>] ? note_interrupt+0x170/0x1f2
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff81090e6c>] ? handle_irq_event_percpu+0x15f/0x17d
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8104c231>] ? __do_softirq+0x13e/0x177
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff81090ebe>] ? handle_irq_event+0x34/0x52
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8109322d>] ? handle_fasteoi_irq+0x7c/0xaf
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8100f88d>] ? handle_irq+0x1d/0x21
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8100f5bd>] ? do_IRQ+0x42/0x98
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8134ee6e>] ? common_interrupt+0x6e/0x6e
Sep 7 19:03:14 gate kernel: [ 10.708014] <EOI>
Sep 7 19:03:14 gate kernel: [ 10.708014] handlers:
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffffa000c069>] usb_hcd_irq
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffffa0263a8f>] ath5k_intr
Sep 7 19:03:14 gate kernel: [ 10.708014] Disabling IRQ #11
Any hope get this card working?
thx, Axel
Wonder if one could give me a hit howto successful pass a atheros mini-pci card on pci-to-mini-pci 4x to a vm.
Only the atheros card ist an the pci-to-mini-pci 4x.
Ohter pcie devices work all right.
Host:
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z77X-UD5H
# lspci -t
-[0000:00]-+-00.0
...
+-1c.5-[05-07]----00.0-[06-07]----00.0-[07]----08.0
...
# lspci -k
05:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 30)
06:00.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 15)
07:08.0 Network controller: Qualcomm Atheros AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn] (rev 01)
Subsystem: Qualcomm Atheros Device 2071
The KVM-Host does pass through the device
[ 366.426966] pci-stub 0000:00:1f.2: claimed by stub
On the VM, ath9k driver:
[ 4705.053730] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040
[ 4705.054203] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
On the VM, ath5k driver:
Sep 7 19:03:14 gate kernel: [ 10.707233] irq 11: nobody cared (try booting with the "irqpoll" option)
Sep 7 19:03:14 gate kernel: [ 10.707626] Pid: 2325, comm: irqstats Not tainted 3.2.0-4-amd64 #1 Debian 3.2.46-1+deb7u1
Sep 7 19:03:14 gate kernel: [ 10.708014] Call Trace:
Sep 7 19:03:14 gate kernel: [ 10.708014] <IRQ> [<ffffffff810926f9>] ? __report_bad_irq+0x2c/0xb5
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff81092ab6>] ? note_interrupt+0x170/0x1f2
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff81090e6c>] ? handle_irq_event_percpu+0x15f/0x17d
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8104c231>] ? __do_softirq+0x13e/0x177
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff81090ebe>] ? handle_irq_event+0x34/0x52
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8109322d>] ? handle_fasteoi_irq+0x7c/0xaf
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8100f88d>] ? handle_irq+0x1d/0x21
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8100f5bd>] ? do_IRQ+0x42/0x98
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffff8134ee6e>] ? common_interrupt+0x6e/0x6e
Sep 7 19:03:14 gate kernel: [ 10.708014] <EOI>
Sep 7 19:03:14 gate kernel: [ 10.708014] handlers:
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffffa000c069>] usb_hcd_irq
Sep 7 19:03:14 gate kernel: [ 10.708014] [<ffffffffa0263a8f>] ath5k_intr
Sep 7 19:03:14 gate kernel: [ 10.708014] Disabling IRQ #11
Any hope get this card working?
thx, Axel