Auto-cpufreq is spamming me, does not seem to work

Hi all,

My journalctl is filled with the following:

Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:51 griffin auto-cpufreq[682275]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument
Feb 01 22:07:58 griffin auto-cpufreq[682473]: /usr/bin/cpufreqctl.auto-cpufreq: line 267: echo: write error: Invalid argument

This continues without end, to the point where it is actually very difficult to look into my logs for other issues.

I looked at this script and that specific line and around it, and there is nothing jumping out at me that looks wrong or missing. pacman -Qi auto-cpufreq is showing my particular auto-cpufreq package as version 1.5.3.r196.3e6d131-1. At first I thought that it is an unstable version from AUR that somehow replaced the official one, but there is no other version than chaotic-aur/auto-cpufreq-git 1.5.3.r196.3e6d131-1 [installed] as per pacman -Ss auto-cpufreq.

If anyone could help resolve this, I would greatly appreciate it!

I am running Garuda Dragonized on a Dell XPS 15 laptop with an Intel Core i9 processor. More system info follows.

Details: inxi -Fxxxza output
System:    Kernel: 5.10.10-115-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq 
           root=UUID=11307471-7a07-4854-9463-3e497bf967d4 rw [email protected] quiet splash rd.udev.log_priority=3 
           vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=f06c00ae-c5d0-42f8-b4c2-5cb66f6534ee 
           loglevel=3 
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux 
Machine:   Type: Laptop System: Dell product: XPS 15 7590 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 0T8KGX v: A00 serial: <filter> UEFI: Dell v: 1.9.1 date: 12/14/2020 
Battery:   ID-1: BAT0 charge: 87.4 Wh condition: 87.4/97.0 Wh (90%) volts: 12.6/11.4 model: SMP DELL GPM0365 type: Li-ion 
           serial: <filter> status: Full 
           Device-1: hid-0003:256F:C652.0008-battery model: 3Dconnexion Universal Receiver serial: N/A charge: N/A status: N/A 
CPU:       Info: 8-Core model: Intel Core i9-9980HK bits: 64 type: MT MCP arch: Kaby Lake note: check family: 6 
           model-id: 9E (158) stepping: D (13) microcode: DE L2 cache: 16 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 76869 
           Speed: 4437 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 4437 2: 4382 3: 4446 4: 4415 5: 4411 6: 4456 7: 4401 
           8: 4376 9: 4358 10: 4326 11: 4463 12: 4466 13: 4406 14: 4444 15: 4456 16: 4449 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds mitigation: TSX disabled 
           Type: tsx_async_abort mitigation: TSX disabled 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Hewlett-Packard driver: nvidia v: 460.32.03 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1f91 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-12:4 chip ID: 0c45:6723 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: modesetting,nvidia 
           alternate: fbdev,intel,nouveau,nv,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 5120x1440 s-dpi: 96 s-size: 1353x380mm (53.3x15.0") s-diag: 1405mm (55.3") 
           Monitor-1: DP-1-1 res: 2560x1440 hz: 60 dpi: 108 size: 600x340mm (23.6x13.4") diag: 690mm (27.2") 
           Monitor-2: DP-1-2 res: 2560x1440 hz: 60 dpi: 108 size: 600x340mm (23.6x13.4") diag: 690mm (27.2") 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.3 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:a348 
           Device-2: Focusrite-Novation Scarlett 2i2 Camera type: USB driver: snd-usb-audio,usb-storage bus ID: 3-2.1:3 
           chip ID: 1235:8210 serial: <filter> 
           Device-3: Realtek USB Audio type: USB driver: snd-usb-audio bus ID: 3-2.3.4:9 chip ID: 0bda:402e serial: <filter> 
           Device-4: Microsoft LifeCam Studio type: USB driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus ID: 3-2.3.3.1:11 
           chip ID: 045e:0772 
           Sound Server: ALSA v: k5.10.10-115-tkg-bmq 
Network:   Device-1: Intel Wi-Fi 6 AX200 vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 3000 bus ID: 3b:00.0 
           chip ID: 8086:2723 
           IF: wlp59s0 state: down mac: <filter> 
           Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus ID: 4-2.4:7 chip ID: 0bda:8153 
           serial: <filter> 
           IF: enp7s0u2u4 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.05 TiB used: 91.13 GiB (8.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KXG60ZNV1T02 NVMe 1024GB size: 953.87 GiB block size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 10604106 temp: 40.9 C 
           ID-2: /dev/sda maj-min: 8:0 type: USB model: Scarlett Welcome Disk size: 192 KiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: 0.10 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
           ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Samsung model: Flash Drive size: 119.5 GiB block size: 
           physical: 512 B logical: 512 B serial: <filter> rev: 1100 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) used: 560 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 
           maj-min: 259:1 
           ID-3: /home raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-4: /var/log raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-5: /var/tmp raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100) 
           ID-1: swap-1 type: partition size: 34.1 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 
           ID-2: swap-2 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0 
           ID-3: swap-3 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1 
           ID-4: swap-4 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2 
           ID-5: swap-5 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3 
           ID-6: swap-6 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram4 
           ID-7: swap-7 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram5 
           ID-8: swap-8 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram6 
           ID-9: swap-9 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram7 
           ID-10: swap-10 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram8 
           ID-11: swap-11 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram9 
           ID-12: swap-12 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram10 
           ID-13: swap-13 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram11 
           ID-14: swap-14 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram12 
           ID-15: swap-15 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram13 
           ID-16: swap-16 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram14 
           ID-17: swap-17 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram15 
Sensors:   System Temperatures: cpu: 60.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2403 fan-2: 2406 
Info:      Processes: 398 Uptime: 1h 32m wakeups: 9 Memory: 31 GiB used: 7.55 GiB (24.4%) Init: systemd v: 247 Compilers: 
           gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1575 lib: 359 Shell: fish v: 3.1.2 running in: alacritty inxi: 3.2.02 

There is currently a bug in the service. The best solution until it is resolved is to mask the service. If you are unsure how to "mask a service" a quick search of those terms should easily provide the required info.

2 Likes

Gotcha.... Thanks! Service cannot be started anymore.

1 Like