On Sat, Jul 15, 2023 at 04:34:20PM +0200, Julian Huhn wrote:
> Since I got many DMARC rejection mails and therefore don't know how many
> people this mail reached at all, once again with less restrictive DMARC
> settings.
>
> On Sat, Jul 15, 2023 at 02:28:56PM +0200, Julian Huhn wrote:
> > Moin!
> >
> > A few weeks ago, I put a new system into operation, where I notice a
> > permanently high CPU load. With the help of top it appears that
> > permanently the process acpi0 is executed.
> >
> > Is this a bug?
> >
> > I'm happy to help with more logs, if you tell me what you need.
> >
> > --Huhn
> >

This is a stuck GPE. This board in particular is a known issue; search
the lists.

mbuhl@ suggested a few months back that I get one of these machines to fix
the issue, but when I started looking at it, the simplest fix was to just
install a new bios.  Since this is likely one of these super cheap 4 port
igc(4) aliexpress "firewall PCs", you may need to search a bit to find a
compatible bios since most of these don't have a real brand site associated
with them.

FWIW, the machines with "techvision" bios (like yours) exhibit this issue.
Mine had techvision bios (and the same problem) before I flashed it to the
image described below.

You need to find this bios:

bios0: vendor American Megatrends International, LLC. version "JK4LV107" date 
04/17/2023

That one works on my machine, with exactly the same config as yours. No
more ACPI GPE storm.

I don't have the link anymore for where I found the BIOS image, but I
think it was on servethehome in one of the long threads about these
machines. You need to do some digging.

While the root cause may be due to us lacking some driver for the device
owning that GPE, or our lack of activating GPEs based on attached
hardware, the 5-minute bios update fix was a good enough fix for me and
I moved on to other things.

The other lesson I learned is that you get what you pay for; buying $100
PCs from aliexpress means you're just going to be paying for it somewhere
else. In this case, dealing with shoddy engineering and unsupported boards.

-ml

> > # top -S
> > load averages:  1.01,  0.99,  1.00    blech02.trust.dtm.huhn.dev
> > 14:08:31
> > 85 processes: 81 idle, 4 on processor  up 3 days 16:04:10
> > CPU0 states:  0.1% user,  0.0% nice, 16.3% sys,  0.5% spin, 75.6% intr,
> > 7.5% idle
> > CPU1 states:  0.1% user,  0.0% nice,  0.9% sys,  3.3% spin,  0.0% intr,
> > 95.7% idle
> > CPU2 states:  0.1% user,  0.0% nice,  0.9% sys,  3.3% spin,  0.0% intr,
> > 95.7% idle
> > CPU3 states:  0.1% user,  0.0% nice,  0.7% sys,  2.5% spin,  0.0% intr,
> > 96.7% idle
> > Memory: Real: 33M/10G act/tot Free: 21G Cache: 9303M Swap: 0K/32G
> >
> >  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU
> > COMMAND
> > 57981 root      34    0    0K 1976K onproc/0  -       832:27 15.48%
> > acpi0
> > 18343 root      28    0    0K 1976K onproc/3  -        85.2H  0.00%
> > idle3
> > 71885 root     -22    0    0K 1976K sleep/1   -        84.3H  0.00%
> > idle1
> > 6761 root      28    0    0K 1976K onproc/2  -        84.3H  0.00% idle2
> > 7152 root     -22    0    0K 1976K sleep/0   -        69.4H  0.00% idle0
> > 95844 root      18    0    0K 1976K sleep/2   syncer    0:48  0.00%
> > update
> > 92641 root      10    0    0K 1976K sleep/1   bored     0:40  0.00%
> > softnet
> > 10729 root      10    0    0K 1976K sleep/3   bored     0:31  0.00%
> > sensors
> > 31290 root      10    0    0K 1976K sleep/2   bored     0:22  0.00%
> > softnet
> > 23268 _pflogd    4    0  764K 1588K sleep/2   bpf       0:22  0.00%
> > pflogd
> > 7279 root      10    0    0K 1976K sleep/1   bored     0:21  0.00% srdis
> > 24604 jhuhn      2    0 1460K 3448K sleep/1   kqread    0:14  0.00% sshd
> > 9279 root     -22    0    0K 1976K sleep/0   bored     0:10  0.00%
> > softclock
> > 35785 root     105   20    0K 1976K sleep/2   pgzero    0:10  0.00%
> > zerothread
> > 21023 root      10    0  476K  972K sleep/2   nanoslp   0:06  0.00%
> > sensorsd
> > 82628 root      10    0    0K 1976K sleep/1   bored     0:05  0.00%
> > systqmp
> > 76212 root      10    0    0K 1976K sleep/2   bored     0:05  0.00%
> > softnet
> > 52512 root      10    0    0K 1976K sleep/1   bored     0:04  0.00%
> > systq
> >
> > # dmesg
> > OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023
> > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 34180132864 (32596MB)
> > avail mem = 33124827136 (31590MB)
> > random: good seed from bootblocks
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x78d77000 (116 entries)
> > bios0: vendor Techvision, LLC. version "5.19" date 09/16/2022
> > bios0: Techvision TVI7309X
> > efi0 at bios0: UEFI 2.7
> > efi0: American Megatrends rev 0x50013
> > acpi0 at bios0: ACPI 6.2
> > acpi0: sleep states S0 S3 S5
> > acpi0: tables DSDT FACP MCFG FIDT SSDT SSDT SSDT HPET APIC PRAM SSDT
> > SSDT NHLT LPIT SSDT SSDT DBGP DBG2 SSDT DMAR SSDT SPCR TPM2 WSMT FPDT
> > acpi0: wakeup devices PEGP(S3) PEGP(S3) PEGP(S3) PEGP(S3) PS2K(S3)
> > PS2M(S3) RP01(S3) PXSX(S3) RP02(S3) PXSX(S3) RP03(S3) PXSX(S3) RP04(S3)
> > PXSX(S3) RP05(S3) PXSX(S3) [...]
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpimcfg0 at acpi0
> > acpimcfg0: addr 0xc0000000, bus 0-255
> > acpihpet0 at acpi0: 19200000 Hz
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Celeron(R) N5105 @ 2.00GHz, 2893.74 MHz, 06-9c-00
> > 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,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,RDSEED,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> > 64b/line 12-way L2 cache, 4MB 64b/line 16-way L3 cache
> > cpu0: smt 0, core 0, package 0
> > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 38MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.0.2.2.1.1.1, IBE
> > cpu1 at mainbus0: apid 2 (application processor)
> > cpu1: Intel(R) Celeron(R) N5105 @ 2.00GHz, 2893.74 MHz, 06-9c-00
> > 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,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,RDSEED,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> > 64b/line 12-way L2 cache, 4MB 64b/line 16-way L3 cache
> > cpu1: smt 0, core 1, package 0
> > cpu2 at mainbus0: apid 4 (application processor)
> > cpu2: Intel(R) Celeron(R) N5105 @ 2.00GHz, 2793.96 MHz, 06-9c-00
> > 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,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,RDSEED,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> > cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> > 64b/line 12-way L2 cache, 4MB 64b/line 16-way L3 cache
> > cpu2: smt 0, core 2, package 0
> > cpu3 at mainbus0: apid 6 (application processor)
> > cpu3: Intel(R) Celeron(R) N5105 @ 2.00GHz, 2793.95 MHz, 06-9c-00
> > 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,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,RDSEED,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> > cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> > 64b/line 12-way L2 cache, 4MB 64b/line 16-way L3 cache
> > cpu3: smt 0, core 3, package 0
> > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> > acpiprt0 at acpi0: bus 0 (PC00)
> > acpiprt1 at acpi0: bus -1 (RP01)
> > acpiprt2 at acpi0: bus -1 (RP02)
> > acpiprt3 at acpi0: bus 1 (RP03)
> > acpiprt4 at acpi0: bus 2 (RP04)
> > acpiprt5 at acpi0: bus 3 (RP05)
> > acpiprt6 at acpi0: bus 4 (RP06)
> > acpiprt7 at acpi0: bus 5 (RP07)
> > acpiprt8 at acpi0: bus 6 (RP08)
> > acpiprt9 at acpi0: bus -1 (RP09)
> > acpiprt10 at acpi0: bus -1 (RP10)
> > acpiprt11 at acpi0: bus -1 (RP11)
> > acpiprt12 at acpi0: bus -1 (RP12)
> > acpiprt13 at acpi0: bus -1 (RP13)
> > acpiprt14 at acpi0: bus -1 (RP14)
> > acpiprt15 at acpi0: bus -1 (RP15)
> > acpiprt16 at acpi0: bus -1 (RP16)
> > acpiprt17 at acpi0: bus -1 (RP17)
> > acpiprt18 at acpi0: bus -1 (RP18)
> > acpiprt19 at acpi0: bus -1 (RP19)
> > acpiprt20 at acpi0: bus -1 (RP20)
> > acpiprt21 at acpi0: bus -1 (RP21)
> > acpiprt22 at acpi0: bus -1 (RP22)
> > acpiprt23 at acpi0: bus -1 (RP23)
> > acpiprt24 at acpi0: bus -1 (RP24)
> > acpiec0 at acpi0: not present
> > acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001
> > com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> > com0: console
> > com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
> > "ACPI000E" at acpi0 not configured
> > acpibtn0 at acpi0: SLPB
> > "PNP0C14" at acpi0 not configured
> > "PNP0C14" at acpi0 not configured
> > "INT33A1" at acpi0 not configured
> > acpibtn1 at acpi0: PWRB
> > tpm0 at acpi0 TPM_ 2.0 (CRB) addr 0xfed40000/0x5000, device 0x00000000
> > rev 0x0
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > "PNP0C0B" at acpi0 not configured
> > acpipwrres0 at acpi0: WRST
> > acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> > C1(1000@1 mwait.1), PSS
> > acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> > C1(1000@1 mwait.1), PSS
> > acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> > C1(1000@1 mwait.1), PSS
> > acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> > C1(1000@1 mwait.1), PSS
> > acpipwrres1 at acpi0: FN00, resource for FAN0
> > acpipwrres2 at acpi0: FN01, resource for FAN1
> > acpipwrres3 at acpi0: FN02, resource for FAN2
> > acpipwrres4 at acpi0: FN03, resource for FAN3
> > acpipwrres5 at acpi0: FN04, resource for FAN4
> > acpitz0 at acpi0: critical temperature is 119 degC
> > acpipwrres6 at acpi0: PIN_
> > acpivideo0 at acpi0: GFX0
> > acpivout0 at acpivideo0: DD1F
> > acpivout1 at acpivideo0: DD2F
> > cpu0: Enhanced SpeedStep 2893 MHz: speeds: 2001, 2000, 1900, 1800, 1700,
> > 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
> > pci0 at mainbus0 bus 0
> > 0:31:5: mem address conflict 0xfe010000/0x1000
> > pchb0 at pci0 dev 0 function 0 "Intel Jasper Lake Host" rev 0x00
> > inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics" rev 0x01
> > drm0 at inteldrm0
> > inteldrm0: msi, JASPERLAKE, gen 11
> > "Intel Jasper Lake DPTF" rev 0x00 at pci0 dev 4 function 0 not
> > configured
> > xhci0 at pci0 dev 20 function 0 "Intel Jasper Lake xHCI" rev 0x01: msi,
> > xHCI 1.10
> > 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 Jasper Lake Shared SRAM" rev 0x01 at pci0 dev 20 function 2 not
> > configured
> > "Intel Jasper Lake HECI" rev 0x01 at pci0 dev 22 function 0 not
> > configured
> > ahci0 at pci0 dev 23 function 0 "Intel Jasper Lake AHCI" rev 0x01: msi,
> > AHCI 1.3.1
> > ahci0: port 0: 6.0Gb/s
> > ahci0: port 1: 6.0Gb/s
> > scsibus1 at ahci0: 32 targets
> > sd0 at scsibus1 targ 0 lun 0: <ATA, TS1TMTS430S, 22Z4>
> > naa.57c354820c23898f
> > sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
> > sd1 at scsibus1 targ 1 lun 0: <ATA, TS1TMTS430S, 22Z4>
> > naa.57c354820c238971
> > sd1: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
> > ppb0 at pci0 dev 28 function 0 "Intel Jasper Lake PCIE" rev 0x01: msi
> > pci1 at ppb0 bus 1
> > igc0 at pci1 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues,
> > address 60:be:b4:06:c8:6c
> > ppb1 at pci0 dev 28 function 3 "Intel Jasper Lake PCIE" rev 0x01: msi
> > pci2 at ppb1 bus 2
> > igc1 at pci2 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues,
> > address 60:be:b4:06:c8:6d
> > ppb2 at pci0 dev 28 function 4 "Intel Jasper Lake PCIE" rev 0x01: msi
> > pci3 at ppb2 bus 3
> > igc2 at pci3 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues,
> > address 60:be:b4:06:c8:6e
> > ppb3 at pci0 dev 28 function 5 "Intel Jasper Lake PCIE" rev 0x01: msi
> > pci4 at ppb3 bus 4
> > igc3 at pci4 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues,
> > address 60:be:b4:06:c8:6f
> > ppb4 at pci0 dev 28 function 6 "Intel Jasper Lake PCIE" rev 0x01: msi
> > pci5 at ppb4 bus 5
> > igc4 at pci5 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues,
> > address 60:be:b4:06:c8:70
> > ppb5 at pci0 dev 28 function 7 "Intel Jasper Lake PCIE" rev 0x01: msi
> > pci6 at ppb5 bus 6
> > igc5 at pci6 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues,
> > address 60:be:b4:06:c8:71
> > pcib0 at pci0 dev 31 function 0 "Intel Jasper Lake eSPI" rev 0x01
> > azalia0 at pci0 dev 31 function 3 "Intel Jasper Lake HD Audio" rev 0x01:
> > msi
> > azalia0: no supported codecs
> > ichiic0 at pci0 dev 31 function 4 "Intel Jasper Lake SMBus" rev 0x01:
> > apic 2 int 16
> > iic0 at ichiic0
> > "Intel Jasper Lake SPI" rev 0x01 at pci0 dev 31 function 5 not
> > configured
> > isa0 at pcib0
> > isadma0 at isa0
> > pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> > pckbd0 at pckbc0 (kbd slot)
> > wskbd0 at pckbd0 mux 1
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > vmm0 at mainbus0: VMX/EPT
> > efifb at mainbus0 not configured
> > vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1C, 006>
> > sd2: 976502MB, 512 bytes/sector, 1999876159 sectors
> > root on sd2a (98c9b06ca6b6210c.a) swap on sd2b dump on sd2b
> > drm:pid0:ehl_vbt_ddi_d_present *ERROR* [drm] *ERROR* VBT claims to have
> > both internal and external displays on PHY A.  Configuring for internal.
> > drm:pid0:ehl_vbt_ddi_d_present *ERROR* [drm] *ERROR* VBT claims to have
> > both internal and external displays on PHY A.  Configuring for internal.
> > inteldrm0: 1024x768, 32bpp
> > wsdisplay0 at inteldrm0 mux 1
> > pckbd_enable: command error
> > wsdisplay0: screen 0-5 added (std, vt100 emulation)
> >
>

Reply via email to