Last active
June 24, 2023 09:08
-
-
Save StefanoBelli/0aab46b858a797c4eedb90e8799dffa2 to your computer and use it in GitHub Desktop.
Temporary fix for ACPI (GPE iinterrupts) failure , disable GPE6f interrupts, probably motherboard faulty ACPI implementation (reflash/update BIOS) [[!!You should take action!!]]. Install this in /usr/lib/systemd/system and run systemctl enable disable_gpe6F
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Disable GPE6F interrupts | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/bash -c "echo disable > /sys/firmware/acpi/interrupts/gpe6F" | |
[Install] | |
WantedBy=multi-user.target | |
Additional helpful note for potential future readers: if BIOS update does not solve issue, you can either keep this systemd service or add acpi_mask_gpe=0x6F
as kernel boot parameter.
In my experience, this issue is reflected in 20-30% of CPU usage for the Linux kworker
process or for the System
process on a Windows machine.
Also, this approach is useful for any interrupts that might be hogging your CPU, use grep . -r /sys/firmware/acpi/interrupts/
to find out.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Definitively solved
I am using an Asrock B150M PRO4
Solved this issue with ACPI GPE (GPE stands for General Purpose Event) 0x6F interrupts just flashing the latest BIOS/UEFI version.
I reccomend trying this way as my previous BIOS/UEFI version was too old and probably something mismatched with the Linux kernel.
BE CAREFUL WHILE UPDATING THE BIOS/UEFI , IF EVERYTHING IS WORKING FINE, NO REASON TO UPDATE THE BIOS/UEFI
After you update the BIOS/UEFI, you should disable this systemd service, reboot the system, check dmesg, see the content of /sys/firmware/acpi/interrupts/gpe6F
you should get:
You can read this as:
If the number of interrupts received from ACPI is 0, and the operating system is not blocking interrupts (so, it is enabled), everything is fine, you fix'd 👍
What to do
if no ACPI ERROR or ACPI EXCEPTION or ACPI FAILURE, then everything is fine
Now your system is working :) Bye