![Ubuntu 20.04 崩溃](https://linux22.com/image/1183320/Ubuntu%2020.04%20%E5%B4%A9%E6%BA%83.png)
我最近买了一台电脑。安装 ubuntu 后,大约 1 小时后它就会不断崩溃。屏幕一直冻结。有时电脑不会重新启动、关闭或启动。主要是 GUI 仍然卡住。然后电脑需要硬重置。我再次全新安装了 Ubuntu,但问题仍然存在。在重新安装过程中,安装程序也崩溃了一次。
我正在使用带有 HDMI 转 VGA 转换器的旧显示器。
Installation Info:
I used GPT partition scheme to install ubuntu by enabling uefi from the bios.
我的电脑配置:
处理器:Ryzen 3 3200G
主板:MSI A320M pro max
内存:16 GB(2x8GB Gskill Ripjaws 2400 MHZ)
SSD:120 GB
HDD:500 GB(这是一个旧 HDD)
以及我之前的台式机上的旧华硕光驱。
free -h:
total used free shared buff/cache available
Mem: 13Gi 1.5Gi 10Gi 46Mi 1.4Gi 11Gi
Swap: 2.0Gi 0B 2.0Gi
sysctl vm.swappiness
vm.swappiness = 60
swapon -s
Filename Type Size Used Priority
/swapfile file 2097148 0 -2
sudo lshw -C memory
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 2.80
date: 12/07/2020
size: 64KiB
capacity: 16MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: f
slot: System board or motherboard
size: 16GiB
*-bank:0
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: F4-2400C15-8GVR
vendor: Unknown
physical id: 0
serial: 00000000
slot: DIMM 0
size: 8GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-bank:1
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: F4-2400C15-8GVR
vendor: Unknown
physical id: 1
serial: 00000000
slot: DIMM 0
size: 8GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-cache:0
description: L1 cache
physical id: 11
slot: L1 - Cache
size: 384KiB
capacity: 384KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 12
slot: L2 - Cache
size: 2MiB
capacity: 2MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 13
slot: L3 - Cache
size: 4MiB
capacity: 4MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=3
sudo dmidecode -s bios-version
2.80
sudo journalctl -b -1 -e
Sep 08 17:08:02 my-pc kernel: loop1: detected capacity change from 0 to 133320
Sep 08 17:08:02 my-pc kernel: loop2: detected capacity change from 0 to 66152
Sep 08 17:08:02 my-pc kernel: loop3: detected capacity change from 0 to 113536
Sep 08 17:08:02 my-pc kernel: loop4: detected capacity change from 0 to 104360
Sep 08 17:08:02 my-pc systemd[1]: Finished Flush Journal to Persistent Storage.
Sep 08 17:08:02 my-pc systemd[1]: Started udev Kernel Device Manager.
Sep 08 17:08:02 my-pc systemd[1]: Starting Show Plymouth Boot Screen...
Sep 08 17:08:02 my-pc kernel: loop5: detected capacity change from 0 to 66144
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snapd, revision 12883.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for gnome-3-34-1804, revis>
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for gtk-common-themes, rev>
Sep 08 17:08:02 my-pc systemd[1]: Received SIGRTMIN+20 from PID 344 (plymouthd).
Sep 08 17:08:02 my-pc systemd[1]: Started Show Plymouth Boot Screen.
Sep 08 17:08:02 my-pc systemd[1]: Condition check resulted in Dispatch Password>
Sep 08 17:08:02 my-pc systemd[1]: Started Forward Password Requests to Plymouth>
Sep 08 17:08:02 my-pc systemd[1]: Reached target Local Encrypted Volumes.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snap-store, revision 5>
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for core18, revision 2128.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snapd, revision 12704.
Sep 08 17:08:10 my-pc systemd[1]: plymouth-start.service: Main process exited, >
Sep 08 17:08:10 my-pc systemd[1]: plymouth-start.service: Failed with result 's>
Sep 08 17:08:17 my-pc systemd[1]: Caught <ABRT>, dumped core as pid 353.
Sep 08 17:08:17 my-pc systemd[1]: Freezing execution.
lines 979-1001/1001 (END)
Sep 08 17:08:02 my-pc kernel: loop1: detected capacity change from 0 to 133320
Sep 08 17:08:02 my-pc kernel: loop2: detected capacity change from 0 to 66152
Sep 08 17:08:02 my-pc kernel: loop3: detected capacity change from 0 to 113536
Sep 08 17:08:02 my-pc kernel: loop4: detected capacity change from 0 to 104360
Sep 08 17:08:02 my-pc systemd[1]: Finished Flush Journal to Persistent Storage.
Sep 08 17:08:02 my-pc systemd[1]: Started udev Kernel Device Manager.
Sep 08 17:08:02 my-pc systemd[1]: Starting Show Plymouth Boot Screen...
Sep 08 17:08:02 my-pc kernel: loop5: detected capacity change from 0 to 66144
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snapd, revision 12883.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for gnome-3-34-1804, revision 72.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for gtk-common-themes, revision 1515.
Sep 08 17:08:02 my-pc systemd[1]: Received SIGRTMIN+20 from PID 344 (plymouthd).
Sep 08 17:08:02 my-pc systemd[1]: Started Show Plymouth Boot Screen.
Sep 08 17:08:02 my-pc systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped.
Sep 08 17:08:02 my-pc systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
Sep 08 17:08:02 my-pc systemd[1]: Reached target Local Encrypted Volumes.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snap-store, revision 547.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for core18, revision 2128.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snapd, revision 12704.
Sep 08 17:08:10 my-pc systemd[1]: plymouth-start.service: Main process exited, code=killed, status=11/SEGV
Sep 08 17:08:10 my-pc systemd[1]: plymouth-start.service: Failed with result 'signal'.
Sep 08 17:08:17 my-pc systemd[1]: Caught <ABRT>, dumped core as pid 353.
Sep 08 17:08:17 my-pc systemd[1]: Freezing execution.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 979-1001/1001 (END)
Sep 08 17:08:02 my-pc kernel: loop1: detected capacity change from 0 to 133320
Sep 08 17:08:02 my-pc kernel: loop2: detected capacity change from 0 to 66152
Sep 08 17:08:02 my-pc kernel: loop3: detected capacity change from 0 to 113536
Sep 08 17:08:02 my-pc kernel: loop4: detected capacity change from 0 to 104360
Sep 08 17:08:02 my-pc systemd[1]: Finished Flush Journal to Persistent Storage.
Sep 08 17:08:02 my-pc systemd[1]: Started udev Kernel Device Manager.
Sep 08 17:08:02 my-pc systemd[1]: Starting Show Plymouth Boot Screen...
Sep 08 17:08:02 my-pc kernel: loop5: detected capacity change from 0 to 66144
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snapd, revision 12883.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for gnome-3-34-1804, revision 72.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for gtk-common-themes, revision 1515.
Sep 08 17:08:02 my-pc systemd[1]: Received SIGRTMIN+20 from PID 344 (plymouthd).
Sep 08 17:08:02 my-pc systemd[1]: Started Show Plymouth Boot Screen.
Sep 08 17:08:02 my-pc systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped.
Sep 08 17:08:02 my-pc systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
Sep 08 17:08:02 my-pc systemd[1]: Reached target Local Encrypted Volumes.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snap-store, revision 547.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for core18, revision 2128.
Sep 08 17:08:02 my-pc systemd[1]: Mounted Mount unit for snapd, revision 12704.
Sep 08 17:08:10 my-pc systemd[1]: plymouth-start.service: Main process exited, code=killed, status=11/SEGV
Sep 08 17:08:10 my-pc systemd[1]: plymouth-start.service: Failed with result 'signal'.
Sep 08 17:08:17 my-pc systemd[1]: Caught <ABRT>, dumped core as pid 353.
Sep 08 17:08:17 my-pc systemd[1]: Freezing execution.
ls -al /var/crash
total 48192
drwxrwsrwt 2 root whoopsie 4096 Sep 8 17:23 .
drwxr-xr-x 14 root root 4096 Aug 19 16:47 ..
-rw-r----- 1 sdam1n whoopsie 6246907 Sep 8 17:23 _usr_bin_gedit.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 17:23 _usr_bin_gedit.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 17:23 _usr_bin_gedit.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 36534711 Sep 8 05:04 _usr_bin_gnome-shell.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_bin_gnome-shell.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_bin_gnome-shell.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 247402 Sep 8 04:47 _usr_bin_gnome-terminal.wrapper.1000.crash
-rw-rw-r-- 1 sdam1n whoopsie 0 Sep 8 04:47 _usr_bin_gnome-terminal.wrapper.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 04:47 _usr_bin_gnome-terminal.wrapper.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 942295 Sep 8 05:04 _usr_libexec_gnome-session-binary.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_gnome-session-binary.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_libexec_gnome-session-binary.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 2468649 Sep 8 05:04 _usr_libexec_gsd-media-keys.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_gsd-media-keys.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_libexec_gsd-media-keys.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 570130 Sep 8 05:04 _usr_libexec_gvfsd-trash.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_gvfsd-trash.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_libexec_gvfsd-trash.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 2026730 Sep 8 05:04 _usr_libexec_xdg-desktop-portal-gtk.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_xdg-desktop-portal-gtk.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:04 _usr_libexec_xdg-desktop-portal-gtk.1000.uploaded
-rw-r----- 1 root whoopsie 247580 Sep 8 04:51 _usr_sbin_update-mime.0.crash
-rw-r--r-- 1 root whoopsie 0 Sep 8 04:51 _usr_sbin_update-mime.0.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 04:51 _usr_sbin_update-mime.0.uploaded
答案1
多次崩溃...
ls-al / var /崩溃
total 48192
drwxrwsrwt 2 root whoopsie 4096 Sep 8 17:23 .
drwxr-xr-x 14 root root 4096 Aug 19 16:47 ..
-rw-r----- 1 sdam1n whoopsie 6246907 Sep 8 17:23 _usr_bin_gedit.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 17:23 _usr_bin_gedit.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 17:23 _usr_bin_gedit.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 36534711 Sep 8 05:04 _usr_bin_gnome-shell.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_bin_gnome-shell.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_bin_gnome-shell.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 247402 Sep 8 04:47 _usr_bin_gnome-terminal.wrapper.1000.crash
-rw-rw-r-- 1 sdam1n whoopsie 0 Sep 8 04:47 _usr_bin_gnome-terminal.wrapper.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 04:47 _usr_bin_gnome-terminal.wrapper.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 942295 Sep 8 05:04 _usr_libexec_gnome-session-binary.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_gnome-session-binary.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_libexec_gnome-session-binary.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 2468649 Sep 8 05:04 _usr_libexec_gsd-media-keys.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_gsd-media-keys.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_libexec_gsd-media-keys.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 570130 Sep 8 05:04 _usr_libexec_gvfsd-trash.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_gvfsd-trash.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:05 _usr_libexec_gvfsd-trash.1000.uploaded
-rw-r----- 1 sdam1n whoopsie 2026730 Sep 8 05:04 _usr_libexec_xdg-desktop-portal-gtk.1000.crash
-rw-r--r-- 1 sdam1n whoopsie 0 Sep 8 05:04 _usr_libexec_xdg-desktop-portal-gtk.1000.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 05:04 _usr_libexec_xdg-desktop-portal-gtk.1000.uploaded
-rw-r----- 1 root whoopsie 247580 Sep 8 04:51 _usr_sbin_update-mime.0.crash
-rw-r--r-- 1 root whoopsie 0 Sep 8 04:51 _usr_sbin_update-mime.0.upload
-rw------- 1 whoopsie whoopsie 37 Sep 8 04:51 _usr_sbin_update-mime.0.uploaded
你的记忆看上去很奇怪。
Ryzen 处理器可能存在 RAM 兼容性问题。
Processor: Ryzen 3 3200G
Mobo: MSI A320M pro max
Ram: 16 GB (2x8GB Gskill Ripjaws 2400 MHZ)
product: F4-2400C15-8GVR
您的 BIOS 当前版本为 2.80。
您的 RAM 不在兼容列表中,如下所示https://msi.com/Motherboard/support/A320M-A-PRO-MAX/#support-mem-18。
free -h
报告仅安装了 16G 中的 13G。
去https://www.memtest86.com/并免费下载/运行它们memtest
来测试你的记忆力。至少完成一次所有 4/4 测试以确认记忆力良好。这可能需要几个小时才能完成。
更新#1:
memtest
失败。移除一个 8G DIMM 并重新运行memtest
。然后测试另一个。可能是主板坏了,或者 DIMM 坏了(或不兼容)。
更新 #2:
一个 DIMM 已通过memtest
。一个 DIMM 发生故障memtest
。将尝试获得保修更换并重新运行memtest
。