You are not logged in.

#1 2013-08-25 00:37:33

shadeless
Member
Registered: 2013-05-26
Posts: 83

Laptop Mode Tools causes frequency scaling governor error on shut down

Hi guys,
When I have the laptop mode tools service enabled, I get some errors whenever I shut down my computer. I can't catch the errors because they move by pretty quickly, and I can't find the error anywhere in /var/log directory. But I think it says something along the lines of KERNEL ERROR blah/freq_scaling_governor.

The error does not occur when I disable laptop mode tools. I have also tried uninstalling and reinstalling laptop-mode-tools and acpid, but that didn't change the error.

How can I log the errors that occur on shutdown so that I can have the exact error?

What can I do to remove this error?

Thank you for any help you may give me

Offline

#2 2013-08-25 01:21:28

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Laptop Mode Tools causes frequency scaling governor error on shut down

Do you by any chance use intel graphics?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-08-25 01:25:34

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: Laptop Mode Tools causes frequency scaling governor error on shut down

Yes, I'm using the Intel HD 4000.

Offline

#4 2013-08-25 01:36:53

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Laptop Mode Tools causes frequency scaling governor error on shut down

So probably you are not using the cpufreq module any more. What does cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver give? If it says intel_pstate then you could eliminate the errors by disabling laptop-mode-tools attempts to control cpu frequency governors (/etc/laptop-mode/conf.d/cpufreq.conf) although the errors are harmless as far as I know.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2013-08-25 01:48:51

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: Laptop Mode Tools causes frequency scaling governor error on shut down

Running cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver did give me intel_pstate.

Disabling laptop-mode-tools cpu frequency governors seems to have gotten rid of the error messages.

For future reference, where can I find all my error logs and a log of messages that occur when I log out? I still seem to get some errors, but I can never read what they are.

Offline

#6 2013-08-25 01:51:45

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Laptop Mode Tools causes frequency scaling governor error on shut down

journalctl will give you a lot. For example, I can see the acpi_cpufreq error there on my system. (I have not eliminated it in case I boot the LTS kernel which needs it.) The very last messages cannot be logged, of course, because the log files are not available once the file system has been unmounted.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2013-08-25 01:51:57

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Laptop Mode Tools causes frequency scaling governor error on shut down

Use the journal, which is controlled by journalctl.  They live in /var/log/journal, but they are binary so they must be read with the journalctl tool.

Edit: Damit it!  12s too slow!

Last edited by WonderWoofy (2013-08-25 01:52:25)

Offline

Board footer

Powered by FluxBB