Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2016 02:11:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-virtualization@FreeBSD.org
Subject:   [Bug 205445] [bhyve] PCI passthru pci_intr_map: bad interrupt line 20, OpenBSD guest couldn't map interrupt
Message-ID:  <bug-205445-27103-BgzBZ212G8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205445-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205445-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205445

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

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

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

The Interfaces:

Aug 12 03:27:07 gefjon kernel: [1] em0: <Intel(R) PRO/1000 Network Connecti=
on
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 brid=
ge>
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=3D"GenuineIntel"  Id=3D0x306c3  Family=3D0x6  Model=3D0x3c  Stepping=
=3D3
Features=3D0xbfebfbff<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=3D0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSS=
E3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AE=
SNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
Features=3D0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG>
XSAVE Features=3D0x1<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).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205445-27103-BgzBZ212G8>