system freeze (cpu fan goes high)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-hwe-5.19 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
More than once a day the system totally freeze.
CPU fan then goes higher and higher.
Does not seem to be related to system load as yesterday it happend during lunch break.
Today's journalctl -b -1 last message is
mai 24 11:50:06 ThinkPad-P14s kernel: watchdog: BUG: soft lockup - CPU#9 stuck for 167s! [opt ax7ixzwwoey:158586]
There are many more of the same kind just before
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy linux-image-
linux-image-
Installé : 5.19.0-
Candidat : 5.19.0-
Table de version :
*** 5.19.0-
500 http://
500 http://
100 /var/lib/
Note this problem was present before last kernel updates
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.19.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed May 24 12:00:08 2023
InstallationDate: Installed on 2023-03-25 (59 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
ProcEnviron:
TERM=alacritty
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
Digging the Internet I reached some posts/bugs that talked about a problem with some amd cpu that hard time getting out of C6 power state.
So I applied one of the suggested workaround that is: prevent cpu to enter C6 state so it won't have problem to exit ^^
For this purpose is used cpupower, more precisely I used this command: cpupower idle-set --disable- by-latency 350
before I ran this command, cpupower moniter résulted in:
| Mperf || Idle_Stats
CPU| C0 | Cx | Freq || POLL | C1 | C2 | C3
0| 0,07| 99,93| 1429|| 0,00| 0,00| 0,00| 99,86
nearly the same for other cores
I guess it means that all cores can sleep down as much as possible…
after the command, cpupower moniter résulted in:
| Mperf || Idle_Stats
CPU| C0 | Cx | Freq || POLL | C1 | C2 | C3
0| 0,07| 99,93| 1429|| 0,00| 0,00| 99,91| 0,00
nearly the same for other cores
It seems cores can't sleep as much as before.
I've not really understood what the C6 state is and what the mapping with those Cx shown by cpupower is (max for cpupower is C4). by-latency 350 seems to do a good job preventing the cpu to go to far in sleeping state.
So far, cpupower idle-set --disable-
Nearly one full day without a freeze makes my computer usable.
Some questions please:
- any help to understand the C6/Cx mapping?
- is it a software problem (bug in the kernel like I'm guessing and I can hope for a fix) or a hardware problem and I should send the computer back to the manufacturer?
- I'm on laptop, how to evaluate the impact on the battery usage?
Many thanks