I have a Hewlett-Packard HP EliteBook 840 G1 amd64 machine exhibiting strange bouts of acpi0 interrupt storms. Depending on some undetermined factor after a reboot the machine may come up with acpi0 interrupts firing 5k times per second. This boggles the machine down. There's a sure fire way to avoid the problem by disabling acpi in UKC. Naturally this makes the machine unable to sleep. I tried to collect some obvious things, but happy to produce more upon request.
The contents of cp -R /var/db/acpi /tmp && iasl -d /tmp/acpi/* are here: https://blackgnezdo.github.io/hp-elitebook-840.tgz systat views: 2 users Load 1.31 1.49 1.40 hippy.nest.cx 10:13:13 memory totals (in KB) PAGING SWAPPING Interrupts real virtual free in out in out 5128 total Active 426904 426904 14395076 ops 100 clock All 1751896 1751896 31016684 pages ipi 5016 acpi0 Proc:r d s w Csw Trp Sys Int Sof Flt forks inteldrm 2 152 10051 1103 142 5027 1051 79 fkppw xhci0 fksvm 1 em0 18.6%Int 0.3%Spn 3.6%Sys 0.1%Usr 77.3%Idle pwait azalia1 | | | | | | | | | | | relck 11 iwm0 |||||||||== rlkok ehci0 noram ahci0 Namei Sys-cache Proc-cache No-cache 19 ndcpy pckbc0 Calls hits % hits % miss % 2 fltcp pckbc0 101 101 100 11 zfod 1 cow Disks sd0 134558 fmin seeks 179410 ftarg xfers 1 itarg speed 13K 12145 wired sec 0.0 pdfre pdscn 1 IPKTS pzidl 1 OPKTS 2 users Load 1.38 1.48 1.40 hippy.nest.cx 10:14:29 PID USER NAME CPU 20\ 40\ 60\ 80\ 100\ <idle> 74.80 ############################ 20461 root acpi0 14.79 ##### 56548 _x11 Xorg 12.55 #### 58356 greg chrome 3.27 # 11548 greg emacs-26.3 2.64 59152 greg xmobar 2.10 48669 greg xmonad-x86_64-op 2.05 92413 greg xterm 1.42 dmesg: OpenBSD 6.6 (GENERIC.MP) #370: Fri Oct 11 13:32:44 MDT 2019 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17055608832 (16265MB) avail mem = 16526012416 (15760MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbbe3f000 (33 entries) bios0: vendor Hewlett-Packard version "L71 Ver. 01.20" date 07/28/2014 bios0: Hewlett-Packard HP EliteBook 840 G1 acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG TCPA SSDT SSDT FPDT BGRT SSDT SSDT SSDT SSDT SSDT ASF! DMAR acpi0: wakeup devices LANC(S5) EHC1(S3) XHC_(S3) PCIB(S5) NIC_(S5) RP04(S5) WNIC(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.71 MHz, 06-45-01 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache tsc_timecounter_init: TSC skew=0 observed drift=0 cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 1 (application processor) TSC skew=-41 cpu1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz, 06-45-01 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache tsc_timecounter_init: TSC skew=-41 observed drift=0 cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) TSC skew=0 cpu2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.39 MHz, 06-45-01 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache tsc_timecounter_init: TSC skew=0 observed drift=0 cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) TSC skew=-8 cpu3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz, 06-45-01 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache tsc_timecounter_init: TSC skew=-8 observed drift=0 cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 40 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEGP) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP04) acpiprt4 at acpi0: bus 3 (RP06) acpiprt5 at acpi0: bus -1 (RP07) acpiprt6 at acpi0: bus -1 (RP08) acpiec0 at acpi0 acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: APPR, resource for HDEF acpipwrres1 at acpi0: COMP, resource for COM1 acpipwrres2 at acpi0: LPP_, resource for LPT0 acpipwrres3 at acpi0: PXP6, resource for RP06 acpitz0 at acpi0: critical temperature is 128 degC acpitz1 at acpi0: critical temperature is 128 degC acpitz2 at acpi0: critical temperature is 128 degC acpitz3 at acpi0: critical temperature is 128 degC acpitz4 at acpi0: critical temperature is 128 degC acpitz5 at acpi0: critical temperature is 128 degC acpitz6 at acpi0: critical temperature is 128 degC acpitz7 at acpi0: critical temperature is 128 degC "HPQ6001" at acpi0 not configured acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 acpicmos0 at acpi0 "PNP0A06" at acpi0 not configured "SYN3003" at acpi0 not configured "HPQ6007" at acpi0 not configured acpibat0 at acpi0: BAT0 model "Primary" serial 41076 2014/09/16 type LIon oem "Hewlett-Packard" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ "PNP0C14" at acpi0 not configured tpm0 at acpi0: GTPM, can't find address "INT33A0" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD01 cpu0: using VERW MDS workaround (except on vmm entry) cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2701, 2700, 2600, 2400, 2300, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1100, 1000, 800, 756 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x0b inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b drm0 at inteldrm0 inteldrm0: msi azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x0b: msi azalia0: No codecs found xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured em0 at pci0 dev 25 function 0 "Intel I218-LM" rev 0x04: msi, address 34:64:a9:xx:xx:xx azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi azalia1: codecs: IDT/0x76e0 audio0 at azalia1 ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi pci2 at ppb1 bus 2 iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev 0x73, msi ppb2 at pci0 dev 28 function 5 "Intel 8 Series PCIE" rev 0xe4: msi pci3 at ppb2 bus 3 ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 0 int 17 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 0: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSC2BF18, LH6i> naa.xxxxxxxxx sd0: 171705MB, 512 bytes/sector, 351651888 sectors, thin ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 0 int 18 iic0 at ichiic0 iic0: addr 0x2c 80=04 81=04 82=04 83=04 84=04 85=04 86=04 87=04 fd=01 words 00=ffff 01=ffff 02=ffff 03=ffff 04=ffff 05=ffff 06=ffff 07=ffff spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800 SO-DIMM spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-12800 SO-DIMM isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT uhub2 at uhub0 port 3 configuration 1 interface 0 "SMSC USB2134B" rev 2.10/50.00 addr 2 ugen0 at uhub2 port 2 "Intel product 0x07dc" rev 2.00/0.01 addr 3 uhidev0 at uhub2 port 3 configuration 1 interface 0 "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 4 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse1 at ums0 mux 0 uhub3 at uhub2 port 4 configuration 1 interface 0 "PI Engineering Kinesis Keyboard Hub" rev 1.10/3.20 addr 5 uhidev1 at uhub3 port 2 configuration 1 interface 0 "P.I. Engineering product 0x0007" rev 1.10/3.20 addr 6 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes, country code 33 wskbd1 at ukbd0 mux 1 uhidev2 at uhub3 port 2 configuration 1 interface 1 "P.I. Engineering product 0x0007" rev 1.10/3.20 addr 6 uhidev2: iclass 3/0, 3 report ids uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0 uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0 ugen1 at uhub0 port 5 "Validity Sensors product 0x003f" rev 1.10/1.04 addr 7 uvideo0 at uhub0 port 7 configuration 1 interface 0 "Chicony Electronics Co.,Ltd. HP HD Webcam" rev 2.00/66.63 addr 8 video0 at uvideo0 uhub4 at uhub0 port 12 configuration 1 interface 0 "SMSC USB5534B" rev 3.00/50.00 addr 9 uhub5 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (86a971afbc66ee3f.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted inteldrm0: 1920x1080, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) iwm0: hw rev 0x140, fw ver 16.242414.0, address 80:19:34:xx:xx:xx I compared dmesg between the two "modes" (storm/quiet) and they didn't seem to differ in any substantial way. diff acpi-interrupts-dmesg no-acpi-storm.dmesg: 4c4 < avail mem = 16526012416 (15760MB) --- > avail mem = 16526000128 (15760MB) 19c19 < cpu0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.71 MHz, 06-45-01 --- > cpu0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.67 MHz, 06-45-01 28,29c28,29 < TSC skew=-41 < cpu1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz, 06-45-01 --- > TSC skew=-33 > cpu1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.39 MHz, 06-45-01 32c32 < tsc_timecounter_init: TSC skew=-41 observed drift=0 --- > tsc_timecounter_init: TSC skew=-33 observed drift=0 35,36c35,36 < TSC skew=0 < cpu2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.39 MHz, 06-45-01 --- > TSC skew=-2 > cpu2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.40 MHz, 06-45-01 39c39 < tsc_timecounter_init: TSC skew=0 observed drift=0 --- > tsc_timecounter_init: TSC skew=-2 observed drift=0 42,43c42,43 < TSC skew=-8 < cpu3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.38 MHz, 06-45-01 --- > TSC skew=2 > cpu3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 1995.39 MHz, 06-45-01 46c46 < tsc_timecounter_init: TSC skew=-8 observed drift=0 --- > tsc_timecounter_init: TSC skew=2 observed drift=0 -- nest.cx is Gmail hosted, use PGP: https://pgp.key-server.io/0x0B1542BD8DF5A1B0 Fingerprint: 5E2B 2D0E 1E03 2046 BEC3 4D50 0B15 42BD 8DF5 A1B0

