Intel Pro 1000 (em0) - sched_ithd: stray interrupt 22 on cpuX

Sepherosa Ziehau sepherosa at gmail.com
Tue Oct 30 18:18:44 PDT 2018


Looks like em0's interrupts are broadcasted to all CPUs.  Please add
following to /boot/loader.conf:
dev.em.0.msi.enable=1
Hopefully it should fix your issue.  Though there is an erratum for
enabling MSI on 82571, it should work for normal use.

What do you mean by "stops responding for several dozen seconds in the
loop"?  Do you mean polling does not work?  Or something else?

Thanks,
sephe

On Tue, Oct 30, 2018 at 7:46 PM Jacek 'Szumak' Kotlarski
<szumak at virthost.pl> wrote:
>
> Hello, I create a small host to monitor the network. Asrock J3455B-ITX
> motherboard, Intel Pro 1000 PT Dual Port PCI-E network card. After
> starting the system, I receive messages on the console:
>
> sched_ithd: 10 stray interrupts 22 on cpuXX
>
> What can be a problem in this case and is it possible to solve it?
> In the case when I turn on the polling mode for em0, the system stops responding for several dozen seconds in the loop.
>
> Earlier I set options:
> hw.tsc_cputimer_force="-1" <- hangs on boot in default configuration
>
> dmesg:
> Copyright (c) 2003-2018 The DragonFly Project.
> Copyright (c) 1992-2003 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>      The Regents of the University of California. All rights reserved.
> DragonFly v5.2.2-RELEASE #5: Sun Jun 17 19:38:07 EDT 2018
>      root at www.shiningsilence.com:/usr/obj/home/justin/release/5_2/sys/X86_64_GENERIC
> acpi_hpet: frequency 19200000
> Using cputimer HPET for TSC calibration
> Timer latency (in TSC ticks): 7020 min=6932 max=7158
> TSC invariant clock: 1497599881 Hz
> CPU: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz (1497.60-MHz K8-class CPU)
>    Origin = "GenuineIntel"  Id = 0x506c9  Stepping = 9
>    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=0x47f8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,RDRND>
>    AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
>    AMD Features2=0x101<LAHF,Prefetch>
>    Structured Extended Features=0x2294e283<GSFSBASE,TSCADJ,SMEP,ENHMOVSB,RDSEED,SMAP>
>    Thermal and PM Features=0x57<SENSOR,TURBO,ARAT,PLN,PTM>
>    MONITOR/MWAIT Features=0x3<CST,INTBRK>
> real memory  = 3931019264 (3748 MB)
> avail memory = 3521867776 (3358 MB)
> lapic: TSC Deadline Mode: shift 0, frequency 1497599881 Hz
> srat_probe: can't locate SRAT
> Initialize MI interrupts
> TSC MP synchronization test is disabled
> machdep.spectre_mitigation=-1: IBRS=NOSUPPORT, IBPB=NOSUPPORT
> VMM: available, disabled by default
> machdep.meltdown_mitigation enabled to protect against (mostly Intel) meltdown bug
> system call performance will be impacted
> wdog: In-kernel automatic watchdog reset enabled
> kbd1 at kbdmux0
> md0: Malloc disk
> interrupt uses mplock: swi_taskq
> ACPI: RSDP 0x00000000000F05B0 000024 (v02 ALASKA)
> ACPI: XSDT 0x000000006D99F0C0 0000DC (v01 ALASKA A M I    01072009 AMI  00010013)
> ACPI: FACP 0x000000006D9A8460 000114 (v06 ALASKA A M I    01072009 AMI  00010013)
> ACPI: DSDT 0x000000006D99F240 00921E (v02 ALASKA A M I    01072009 INTL 20120913)
> ACPI: FACS 0x000000006D9BB080 000040
> ACPI: FPDT 0x000000006D9A8580 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
> ACPI: FIDT 0x000000006D9A85D0 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
> ACPI: MCFG 0x000000006D9A8670 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
> ACPI: DBG2 0x000000006D9A86B0 000072 (v00 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: DBGP 0x000000006D9A8730 000034 (v01 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: HPET 0x000000006D9A8770 000038 (v01 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: LPIT 0x000000006D9A87B0 00005C (v01 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: APIC 0x000000006D9A8810 000084 (v03 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: NPKT 0x000000006D9A88A0 000065 (v01 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: PRAM 0x000000006D9A8910 000030 (v01 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: WSMT 0x000000006D9A8940 000028 (v00 INTEL  EDK2     00000003 BRXT 0100000D)
> ACPI: SSDT 0x000000006D9A8970 000B53 (v02 INTEL  UsbCTabl 00000003 BRXT 0100000D)
> ACPI: SSDT 0x000000006D9A94D0 0016E9 (v01 Intel_ Platform 00001000 INTL 20120913)
> ACPI: AAFT 0x000000006D9AABC0 0002AE (v01 ALASKA OEMAAFT  01072009 MSFT 00000097)
> ACPI: SSDT 0x000000006D9AAE70 000442 (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
> ACPI: SSDT 0x000000006D9AB2C0 00072B (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
> ACPI: SSDT 0x000000006D9AB9F0 00032D (v02 PmRef  Cpu0Tst  00003000 INTL 20120913)
> ACPI: SSDT 0x000000006D9ABD20 00017C (v02 PmRef  ApTst    00003000 INTL 20120913)
> ACPI: SSDT 0x000000006D9ABEA0 002760 (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
> ACPI: UEFI 0x000000006D9AE600 000042 (v01 ALASKA A M I    00000000      00000000)
> ACPI: TPM2 0x000000006D9AE650 000034 (v03        Tpm2Tabl 00000001 AMI  00000000)
> ACPI: WDAT 0x000000006D9AE690 000104 (v01                 00000000      00000000)
> sc0: <System console> on motherboard
> sc0: VGA <16 virtual consoles, flags=0x300>
> cryptosoft0: <software crypto> on motherboard
> acpi0: <ALASKA A M I > on motherboard
> ACPI: Executed 2 blocks of module-level executable AML code
> ACPI: Executed 1 blocks of module-level executable AML code
> ACPI: 8 ACPI AML tables successfully acquired and loaded
> ACPI FADT: SCI testing interrupt mode ...
> ACPI FADT: SCI select level/low
> can't fetch resources for \\_SB_.PCI0.SDIO.BRC2 - AE_AML_INVALID_RESOURCE_TYPE
> acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
> acpi_timer0 on acpi0
> cpu0: <ACPI CPU> on acpi0
> ACPI: Dynamic OEM Table Load:
> ACPI: SSDT 0xFFFFF80053AB7F40 000102 (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
> cpu_cst0: <ACPI CPU C-State> on cpu0
> cpu_pst0: <ACPI CPU P-State> on cpu0
> clockmod0: <CPU clock modulation> on cpu0
> coretemp0: <CPU On-Die Thermal Sensors> on cpu0
> cpu1: <ACPI CPU> on acpi0
> ACPI: Dynamic OEM Table Load:
> ACPI: SSDT 0xFFFFF80053AE0E60 00015F (v02 PmRef  ApIst    00003000 INTL 20120913)
> ACPI: Dynamic OEM Table Load:
> ACPI: SSDT 0xFFFFF80053A08BE0 00008D (v02 PmRef  ApCst    00003000 INTL 20120913)
> cpu_cst1: <ACPI CPU C-State> on cpu1
> cpu_pst1: <ACPI CPU P-State> on cpu1
> clockmod1: <CPU clock modulation> on cpu1
> coretemp1: <CPU On-Die Thermal Sensors> on cpu1
> cpu2: <ACPI CPU> on acpi0
> cpu_cst2: <ACPI CPU C-State> on cpu2
> cpu_pst2: <ACPI CPU P-State> on cpu2
> clockmod2: <CPU clock modulation> on cpu2
> coretemp2: <CPU On-Die Thermal Sensors> on cpu2
> cpu3: <ACPI CPU> on acpi0
> cpu_cst3: <ACPI CPU C-State> on cpu3
> cpu_pst3: <ACPI CPU P-State> on cpu3
> clockmod3: <CPU clock modulation> on cpu3
> coretemp3: <CPU On-Die Thermal Sensors> on cpu3
> acpi_button0: <Power Button> on acpi0
> acpi_tz0: <Thermal Zone> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x70-0x77 on acpi0
> pci0: <ACPI PCI bus> on pcib0
> vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0x80000000-0x8fffffff,0x90000000-0x90ffffff irq 19 at device 2.0 on pci0
> vgapci0: Boot video device
> pci0: <simple comms> (vendor 0x8086, dev 0x5a9a) at device 15.0 irq 20
> ahci0: <AHCI-PCI-SATA> port 0xf060-0xf07f,0xf080-0xf083,0xf090-0xf097 mem 0x91113000-0x911137ff,0x91114000-0x911140ff,0x91110000-0x91111fff irq 19 at device 18.0 on pci0
> ahci0: AE did not auto-clear!
> ahci0: Intel hocus pocus
> ahci0: AHCI 1.3.1 cap 0xe136ff01<S64A,NCQ,SSNTF,SCLO,SAM,SPM,PMD,SSC,PSC> cap2 0x3c<DESO,SADM,SDS,APST>, 2 ports, 32 tags/port, gen 3 (6Gbps)
> ahci0.1: PMPROBE(1) No Port Multiplier was found.
> ahci0.1: PMPROBE(1) No Port Multiplier was found.
> ahci0.0: PMPROBE(2) No Port Multiplier was found.
> ahci0.0: PMPROBE(2) No Port Multiplier was found.
> ahci0.0: Found DISK "WDC WD5000AAKX-08ERMA0 19.01H19" serial="WD-WCC2ECK79356"
> ahci0.0: tags=32/32 satacap=1d0e satacap2=0006 satafea=0044 NCQ=YES capacity=476940.02MB
> ahci0.0: f85=3469 f86=bc01 f87=6123 WC=enabled RA=enabled SEC=frozen
> ahci0.1: PHY offline
> pcib1: <ACPI PCI-PCI bridge> at device 19.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> em0: <Intel(R) PRO/1000 Network Connection 82571EB_COPPER 7.6.2> port 0xe020-0xe03f mem 0x91080000-0x9109ffff,0x910a0000-0x910bffff irq 22 at device 0.0 on pci1
> em0: MAC address: 68:05:ca:08:75:74
> em1: <Intel(R) PRO/1000 Network Connection 82571EB_COPPER 7.6.2> port 0xe000-0xe01f mem 0x91020000-0x9103ffff,0x91040000-0x9105ffff irq 23 at device 0.1 on pci1
> em1: MAC address: 68:05:ca:08:75:75
> xhci0: <XHCI (generic) USB 3.0 controller> mem 0x91100000-0x9110ffff irq 17 at device 21.0 on pci0
> xhci0: 32 bytes context size, 64-bit DMA
> usbus0 on xhci0
> usbus0: 5.0Gbps Super Speed USB v3.0
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> pci0: <serial bus, SMBus> (vendor 0x8086, dev 0x5ad4) at device 31.1
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> ugen0.1: <0x8086> at usbus0
> uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
> ACPI: Enabled 7 GPEs in block 00 to 7F
> aesni0: <AES-CBC,AES-XTS> on motherboard
> padlock0: No ACE support.
> rdrand0: <RdRand RNG> on motherboard
> Freeing low dma reserve @ 0xfffff80109840000
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> lm0: <Winbond W83627DHG Hardware Monitor> at port 0x290-0x297 on isa0
> sio0: can't drain, serial port might not exist, disabling
> sio1: can't drain, serial port might not exist, disabling
> hpt27xx: no controller detected.
> CAM: Configuring 2 busses
> CAM: finished configuring all busses
> da0 at ahci0 bus 0 target 0 lun 0
> da0: <SATA WDC WD5000AAKX-0 19.0> Fixed Direct Access SCSI-4 device
> da0: Serial Number WD-WCC2ECK79356
> da0: 600.000MB/s transfers
> da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)
> uhub0: 15 ports with 15 removable, self powered
> Mounting root from hammer:serno/WD-WCC2ECK79356.s1d
> HAMMER(ROOT) recovery check seqno=002825d3
> HAMMER(ROOT) recovery range 300000000c072758-300000000c072758
> HAMMER(ROOT) recovery nexto 300000000c072758 endseqno=002825d4
> HAMMER(ROOT) mounted clean, no recovery needed
> DMA space used: 5152k, remaining available: 131072k
> Mounting devfs
> HAMMER(BUILD) recovery check seqno=0010eb1d
> HAMMER(BUILD) recovery range 30000000019c1e78-30000000019c1e78
> HAMMER(BUILD) recovery nexto 30000000019c1e78 endseqno=0010eb1e
> HAMMER(BUILD) mounted clean, no recovery needed
> swap low/high-water marks set to 41940/62910
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu1
> sched_ithd: stray interrupt 22 on cpu3
> sched_ithd: stray interrupt 22 on cpu0
> sched_ithd: 10 stray interrupts 22 on cpu0 - there will be no further reports
> sched_ithd: 10 stray interrupts 22 on cpu3 - there will be no further reports
> sched_ithd: 10 stray interrupts 22 on cpu1 - there will be no further reports
>
> % vmstat -vi
> interrupt                                total       rate
> irq9     0: acpi0                            0          0
> irq17    0: ahci0                         7574          1
> irq22    0:                               5736          1
> irq196   0: swi_vm                           0          0
> irq1     1: atkbd0                           0          0
> irq16    1: xhci0                            0          0
> irq22    1:                               5741          1
> irq197   1: swi_mp_taskq/swi_taskq         425          0
> irq22    2: em0                           5741          1
> irq22    3:                               5741          1
> irq23    3: em1                              0          0
> irq195   3: swi_cambio                    7651          2
> Total                                    38609         10
>
> greetings,
> --
> Jacek Kotlarski
>


-- 
Tomorrow Will Never Die



More information about the Users mailing list