Ubuntu 内核更新后冻结

Ubuntu 内核更新后冻结

我的设置细节:硬件:Thinkpad T14-Gen 2、AMD Ryzen 7 Pro 显卡、16G Ram。软件(当前):新安装的 Ubuntu 22.04.3LTS、Gnome 42.9。

问题描述:我已经在当前机器上完美地使用了 Ubuntu(单启动)一个月。4 天前,我在计算机上安装了 Wine,还进行了内核升级,这两个中的任何一个都彻底搞砸了计算机(我敢打赌第二个)。Firefox、Thunderbird、Nautilus、Terminal 在使用大约 1-5 分钟后会冻结,然后在 10 秒内屏幕也会冻结,然后在 5 秒内一切都会冻结。如果我不打开其中任何一个,例如使用 Chrome 进行浏览,计算机持续的时间会更长一些,但最多 15 分钟后仍会冻结。

我的尝试:Xorg 和 Wayland 上都出现了这个问题。我尝试更新我的驱动程序。我尝试安装几个 Ubuntu 版本(23.04、22.04、20.04)并使用多个内核运行它们。这些都无法解决问题。我运行了 memteset,它没有给出错误。在恢复模式下运行时,上述应用程序仍然会每隔 5-15 分钟崩溃一次,但系统不会崩溃。在日志文件中,我看到以下事情再次出现(见下文):窗口管理器警告:覆盖 keysym 38 的现有绑定,无法加载模块“canberra-gtk-module”,gnome-shell 因 sigsegv 崩溃,GNOME Shell 因信号 11 崩溃。

问题:我如何确定问题是否与内核、硬件或其他东西有关?

有关日志文件的更多详细信息请参见下文。

代码示例: 在 Firefox 崩溃之前

Started Application launched by gsd-media-keys.
Sep 15 11:19:50 some1-ThinkPad-T14-Gen-2a systemd[1858]: Started VTE child process 8040 launched by gnome-terminal-server process 4180.
Sep 15 11:20:22 some1-ThinkPad-T14-Gen-2a rtkit-daemon[1335]: Supervising 0 threads of 0 processes of 0 users.
Sep 15 11:21:08 some1-ThinkPad-T14-Gen-2a rtkit-daemon[1335]: message repeated 13 times: [ Supervising 0 threads of 0 processes of 0 users.]
Sep 15 11:21:11 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-72 noise=9999 txrate=309700
Sep 15 11:21:20 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=344100
Sep 15 11:21:22 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-72 noise=9999 txrate=263200
Sep 15 11:21:31 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=344100
Sep 15 11:21:34 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-73 noise=9999 txrate=344100
Sep 15 11:21:43 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=344100
Sep 15 11:21:46 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-72 noise=9999 txrate=344100
Sep 15 11:21:55 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=344100
Sep 15 11:21:58 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-72 noise=9999 txrate=344100
Sep 15 11:22:07 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=344100
Sep 15 11:22:09 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-73 noise=9999 txrate=344100
Sep 15 11:22:19 some1-ThinkPad-T14-Gen-2a wpa_supplicant[1028]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=309700
Sep 15 11:23:22 some1-ThinkPad-T14-Gen-2a rtkit-daemon[1335]: Supervising 0 threads of 0 processes of 0 users.
Sep 15 11:23:25 some1-ThinkPad-T14-Gen-2a rtkit-daemon[1335]: message repeated 3 times: [ Supervising 0 threads of 0 processes of 0 users.]
Sep 15 11:23:36 some1-ThinkPad-T14-Gen-2a firefox_firefox.desktop[4276]: ExceptionHandler::GenerateDump cloned child 8514
Sep 15 11:23:36 some1-ThinkPad-T14-Gen-2a firefox_firefox.desktop[4276]: ExceptionHandler::SendContinueSignalToChild sent continue signal to child
Sep 15 11:23:36 some1-ThinkPad-T14-Gen-2a firefox_firefox.desktop[8514]: ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Sep 15 11:23:36 some1-ThinkPad-T14-Gen-2a kernel: [ 1517.420251] audit: type=1400 audit(1694773416.764:75): apparmor="DENIED" operation="open" profile="snap.firefox.firefox" name="/proc/4519/environ" pid=8514 comm="WRScene~ilder#1" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Sep 15 11:23:36 some1-ThinkPad-T14-Gen-2a crashreporter[8515]: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Sep 15 11:23:36 some1-ThinkPad-T14-Gen-2a firefox_firefox.desktop[8343]: Exiting due to channel error.
Sep 15 11:23:36 some1-ThinkPad-T14-Gen-2a firefox_firefox.desktop[5223]: Exiting due to channel error.

崩溃时发生的其他事情

Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Sep 15 10:59:10 some1-ThinkPad-T14-Gen-2a gnome-shell[2226]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).

免责声明:我不是 Linux 专家,但我已经使用 Ubuntu 大约 7 年了,我能够通过 askUbunutu 上看到的有用问题和一些有限的编程经验解决我的所有问题。我知道 askUbunut 上已经有很多这类问题,但我试图跟进它们,但没有成功。(参见这里这里这里这里甚至可能数不清更多)

相关内容