[Bug 205445] [bhyve] PCI passthru pci_intr_map: bad interrupt line 20, OpenBSD guest couldn't map interrupt

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 12 02:11:42 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205445

borisboris at gmx.net <borisboris at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |borisboris at gmx.net

--- Comment #4 from borisboris at gmx.net <borisboris at gmx.net> ---
I've got the same Issue under OpenBSD 5.9 and -current. 

The Interfaces:

Aug 12 03:27:07 gefjon kernel: [1] em0: <Intel(R) PRO/1000 Network Connection
7.6.1-k> port 0xf080-0xf09f mem 0xf7f00000-0xf7f1ffff,0xf7f38000-0xf7f38fff irq
20 at device 25.0 on pci0
Aug 12 03:27:07 gefjon kernel: [1] em0: Using an MSI interrupt
Aug 12 03:27:07 gefjon kernel: [1] em0: Ethernet address: 40:8d:5c:b7:ca:41
Aug 12 03:27:07 gefjon kernel: [1] em0: netmap queues/slots: TX 1/1024, RX
1/1024
Aug 12 03:27:07 gefjon kernel: [1] ahciem0: <AHCI enclosure management bridge>
on ahci0

Aug 12 03:27:07 gefjon kernel: [1] re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G
PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem
0xf7d00000-0xf7d00fff,0xf0000000-0xf0003fff irq 19 at device 0.0 on pci3
Aug 12 03:27:07 gefjon kernel: [1] re0: Using 1 MSI-X message
Aug 12 03:27:07 gefjon kernel: [1] re0: ASPM disabled
Aug 12 03:27:07 gefjon kernel: [1] re0: Chip rev. 0x4c000000
Aug 12 03:27:07 gefjon kernel: [1] re0: MAC rev. 0x00000000
Aug 12 03:27:07 gefjon kernel: [1] miibus0: <MII bus> on re0

For both interfaces under PPTDEVS and vmm loaded with bhyve:

Aug 12 02:31:20 aphrodite /bsd: em0 at pci0 dev 5 function 0 "Intel I217-V" rev
0x00pci_intr_map: bad interrupt line 20

Aug 12 03:44:15 aphrodite /bsd: re0 at pci0 dev 5 function 0 "Realtek 8168" rev
0x0cpci_intr_map: bad interrupt line 19

The CPU:

CPU: Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz (2893.36-MHz K8-class CPU)
Origin="GenuineIntel"  Id=0x306c3  Family=0x6  Model=0x3c  Stepping=3
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG>
XSAVE Features=0x1<XSAVEOPT>
VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
TSC: P-state invariant, performance statistics

I also tried it on an actual iwm card:

iwm0 at pci0 dev 6 function 0 "Intel Dual Band Wireless AC 7260" rev
0xbbpci_intr_map: bad interrupt line 16
iwm0: can't map interrupt

The OS is 11.0-beta4 (but the same on 10.3).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list