no network on I217 / Haswell
orangecms opened this issue · 4 comments
Expected behavior
network working :)
Actual behavior
network not working :(
Harvey is logging a bad EEPROM checksum
Steps to reproduce
boot Harvey on a Haswell laptop, e.g., ThinkPad T440 or LIFEBOOK E734 (logs here)
logs etc
Could it be related to PCI, IRQs etc?
From /dev/kmesg
:
Could not find an IOAPIC for global irq 62!
Unable to build IOAPIC route for irq 62
intrenable: couldn't enable irq 62, tbdf 0x5ffff00 for #IPI
apicinit0: nvlt 7 > max (6)
and:
Non-ISA IRQ 11 not found in MADT, aborting
Set todo[0x0] to valid
Unable to build IOAPIC route for irq 11
intrenable: couldn't enable irq 11, tbdf 0xc00d000 for usbehci
sizeof(Itd) 120
sizeof(Sitd) 64
- similarly for IRQ 10, just with
tdbf 0xc00e800
when ignoring the EEPROM checksum error:
#I0: i217: 1000Mbps ports 0xfffffffff0600000 irq 11 tu 1514: 000000000000
So what is IRQ 11 now? First it says audio, later it is the ethernet adapter... and Linux says it's audio, actually; am I understanding something wrong?
Some more warnings:
irq 3: warning: process exceeds 100 file descriptors
irq 3: warning: process exceeds 200 file descriptors
More in IRQs:
bus_irq_setup: c00e800: multiple irq bus 0 dev 116
From lspci
on Linux:
-[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04]
+-02.0 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416]
+-03.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c]
+-14.0 Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31]
+-16.0 Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a]
+-19.0 Intel Corporation Ethernet Connection I217-V [8086:153b]
+-1a.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d]
+-1b.0 Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20]
+-1c.0-[01]--
+-1c.5-[02]----00.0 Intel Corporation Wireless 7260 [8086:08b1]
+-1c.7-[03]----00.0 Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227]
+-1d.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26]
+-1f.0 Intel Corporation HM86 Express LPC Controller [8086:8c49]
+-1f.2 Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03]
\-1f.3 Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22]
There are two USB EHCIs listed, #1
and #2
, with the same device ID; can that cause trouble?
IRQs:
$ ag '(^[0..9]|IRQ)' logs/lspci.log
1:00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
9:00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
14: Interrupt: pin A routed to IRQ 30
31:00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
36: Interrupt: pin A routed to IRQ 11
51:00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04) (prog-if 30 [XHCI])
56: Interrupt: pin A routed to IRQ 25
65:00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
70: Interrupt: pin A routed to IRQ 26
80:00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-V [8086:153b] (rev 04)
85: Interrupt: pin A routed to IRQ 27
101:00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04) (prog-if 20 [EHCI])
106: Interrupt: pin A routed to IRQ 18
118:00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
123: Interrupt: pin A routed to IRQ 10
151:00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4) (prog-if 00 [Normal decode])
155: Interrupt: pin A routed to IRQ 16
196:00:1c.5 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 [8086:8c1a] (rev d4) (prog-if 00 [Normal decode])
200: Interrupt: pin B routed to IRQ 17
247:00:1c.7 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 [8086:8c1e] (rev d4) (prog-if 00 [Normal decode])
251: Interrupt: pin D routed to IRQ 19
298:00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04) (prog-if 20 [EHCI])
303: Interrupt: pin A routed to IRQ 23
315:00:1f.0 ISA bridge [0601]: Intel Corporation HM86 Express LPC Controller [8086:8c49] (rev 04)
324:00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 04) (prog-if 01 [AHCI 1.0])
329: Interrupt: pin B routed to IRQ 24
344:00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
348: Interrupt: pin C routed to IRQ 18
354:02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73)
359: Interrupt: pin A routed to IRQ 29
404:03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
409: Interrupt: pin A routed to IRQ 28
@orangecms From ThinkPad T440p:
# lspci -tvnn
-[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04]
+-02.0 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416]
+-03.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c]
+-14.0 Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31]
+-16.0 Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a]
+-16.3 Intel Corporation 8 Series/C220 Series Chipset Family KT Controller [8086:8c3d]
+-19.0 Intel Corporation Ethernet Connection I217-LM [8086:153a]
+-1a.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d]
+-1b.0 Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20]
+-1c.0-[02]----00.0 Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227]
+-1c.1-[03]----00.0 Intel Corporation Wireless 7260 [8086:08b2]
+-1d.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26]
+-1f.0 Intel Corporation QM87 Express LPC Controller [8086:8c4f]
+-1f.2 Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03]
\-1f.3 Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22]
# lspci -vvnn|egrep -n '(^[0..9]|IRQ)'
1:00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
9:00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
14: Interrupt: pin A routed to IRQ 35
31:00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
36: Interrupt: pin A routed to IRQ 33
53:00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04) (prog-if 30 [XHCI])
58: Interrupt: pin A routed to IRQ 30
68:00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
73: Interrupt: pin A routed to IRQ 31
83:00:16.3 Serial controller [0700]: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller [8086:8c3d] (rev 04) (prog-if 02 [16550])
88: Interrupt: pin D routed to IRQ 17
98:00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
103: Interrupt: pin A routed to IRQ 43
119:00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04) (prog-if 20 [EHCI])
124: Interrupt: pin A routed to IRQ 16
137:00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
142: Interrupt: pin A routed to IRQ 32
172:00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4) (prog-if 00 [Normal decode])
176: Interrupt: pin A routed to IRQ 26
227:00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d4) (prog-if 00 [Normal decode])
231: Interrupt: pin B routed to IRQ 27
282:00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04) (prog-if 20 [EHCI])
287: Interrupt: pin A routed to IRQ 23
300:00:1f.0 ISA bridge [0601]: Intel Corporation QM87 Express LPC Controller [8086:8c4f] (rev 04)
309:00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 04) (prog-if 01 [AHCI 1.0])
314: Interrupt: pin B routed to IRQ 29
330:00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
334: Interrupt: pin C routed to IRQ 18
340:02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
345: Interrupt: pin A routed to IRQ 28
400:03:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 83)
405: Interrupt: pin A routed to IRQ 34
Some debug help - thanks @rminnich :)
For convenience:
% /boot/bind /boot /bin
Now bind mount '#P'
:
% bind -a '#P' /dev
=> /dev/acpiio
will be available; indeed, ls /dev
confirms
Now ask irq
:
% irq -s -v
Which yields:
irq: acpi/irq
FIND RSD
PA OF rsd is f0120
irq 26: warning: process exceeds 100 file descriptors
irq 26: warning: process exceeds 200 file descriptors
irq: init tables
irq: loaded ACPI tables
irq: enabled subsystem
read fault fail, no segment, pid 26 addr 0x18 pc 0x468a13
irq 26: suicide: sys: trap: fault read addr=0x18 pc=0x468a13
:(
Issue is outdated