在过去一个月左右的时间里,我每天都会收到一个非常奇怪的问题。
我会像往常一样使用我的系统,屏幕会突然冻结。
如果有音频播放,它的最后一秒左右就会开始不停地循环。
键盘和鼠标会变得没有反应。我不能访问TTY或SysRq。
不久之后,键盘上的明灯就会关闭。
一两分钟后,我的光学鼠标也会关闭。
拔掉鼠标和键盘的插头,然后把它们插回电脑里,并不能完成任何事情。
屏幕并没有关闭,可能是因为它有自己的独立电源。
在这一点上,我唯一能做的就是执行一个艰难的关闭。
这个问题似乎与CPU或内存的使用无关。
通常,当Firefox打开时会发生这种情况,但我不确定这是否仅仅是因为我总是打开Firefox。
奇怪的是,回到最新的LTS 5.4.89-1内核似乎解决了这个问题。
我想深入研究这个问题,并理解5.10内核中触发问题的确切原因。
我试着阅读内核和xorg日志,但是我找不到任何感兴趣的东西,可能是因为我不知道如何准确地读取它们并隔离重要的东西。
如果有必要,我将尝试使用5.4到5.10之间内核的每个版本来隔离问题开始的版本,但这需要一些时间,因为它几乎是随机发生的。
编辑:这个问题也发生在内核5.9.16-1中.在查看journalctl的输出时,我发现在计算机冻结之前输出的最后几行来自rtkit-daemon,因此我怀疑它与它有某种关系:
Feb 07 11:15:24 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:24 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Successfully made thread 9011 of process 8922 owned by '1000' RT at priority 10.
Feb 07 11:15:32 glorious-manjaro rtkit-daemon[1131]: Supervising 5 threads of 3 processes of 1 users.
Feb 07 11:15:47 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.
Feb 07 11:15:47 glorious-manjaro rtkit-daemon[1131]: Supervising 4 threads of 2 processes of 1 users.而且,这一次我没有打开firefox。
我正在使用:
操作系统: Manjaro Linux和KDE等离子5.20.5 (Xorg)
内核版本: 5.10.7-3
操作系统类型:64位
处理器:4×Intel Core™i5-4590 CPU @ 3.30GHz
内存:3.8RAM GiB
图形处理器: Mesa DRI Intel HD Graphics 4600
发布于 2021-02-04 12:56:55
我和你完全一样有错误。似乎这是内核问题,我想唯一的方法是获得更新的一个或使用lts。
从日记中可以看到确切的原因。
tpm0:固件错误
https://unix.stackexchange.com/questions/632518
复制相似问题