刚刚安装了 Ubuntu 20.04。系统一直冻结,我必须使用电源按钮将其关闭并重新打开。有人可以帮我分析这个日志文件,如果我不知道有什么问题吗?
11:42:46 gdm-session-wor: gkr-pam: unable to locate daemon control file
11:42:45 logger: /usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2: cannot open shared object file: No such file or directory
11:42:37 kernel: snd_hda_intel 0000:03:00.6: No response from codec, resetting bus: last cmd=0x0143a000
11:42:35 systemd: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.
11:42:35 systemd-backlig: amdgpu_bl0: Failed to write system 'brightness' attribute: No such device or address
11:42:35 systemd: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
11:42:35 systemd: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
11:42:35 systemd-backlig: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
11:42:34 kernel: snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 1
11:42:33 kernel: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
11:42:33 kernel: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
11:42:33 kernel: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
11:42:33 kernel: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
11:42:33 kernel: integrity: Problem loading X.509 certificate -65
ar@Aruntu:~$ sudo lshw -C memory [sudo] ar 的密码:
*-memory
description: System Memory
physical id: 1
slot: System board or motherboard
size: 12GiB
*-bank:0
description: Row of chips DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: 8ATF1G64HZ-2G3B1
vendor: Micron Technology
physical id: 0
serial: 14D7D62B
slot: DIMM 0
size: 8GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-bank:1
description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: 4ATF51264HZ-2G6E1
vendor: Micron Technology
physical id: 1
serial: 00000000
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-cache:0
description: L1 cache
physical id: 3
slot: L1 - Cache
size: 192KiB
capacity: 192KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 4
slot: L2 - Cache
size: 1MiB
capacity: 1MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 5
slot: L3 - Cache
size: 4MiB
capacity: 4MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=3
*-firmware
description: BIOS
vendor: LENOVO
physical id: d
version: E8CN25WW
date: 10/13/2020
size: 128KiB
capacity: 8MiB
capabilities: pci upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification netboot uefi
ar@Aruntu:~$ sudo dmidecode -s bios-version E8CN25WW ar@Aruntu:~$ free -h
total used free shared buff/cache available
Mem: 9.7Gi 2.0Gi 2.4Gi 122Mi 5.3Gi 7.3Gi
Swap: 2.0Gi 14Mi 2.0Gi
ar@Aruntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=0cf09152-a222-487d-a43e-6d12f148d8bc / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B346-574B /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
ar@Aruntu:~$
您的 /etc/fstab 不正确。
它显示了 /swapfile 的三个条目...
使用应用程序编辑您的 /etc/fstab
terminal
,使用命令sudo -H gedit /etc/fstab
,删除前两个 /swapfile 行,保留第三个 /swapfile 行,保存编辑的文件,然后重新启动。额外说明:不要使用
badblocks
或e2fsck
损坏 SSD/nvme。更新#1:
BIOS
联想 V14-ADA
您有版本 E8CN25WW,日期为 2020 年 10 月 13 日。有更新的 BIOS,版本 E8CN27WW,日期为 2021 年 2 月 5 日,可在此处下载。
注意:确认我有适合您的型号的正确网页#。
注意:在更新 BIOS 之前做好备份。
交换
你的 2G /swapfile 太小了。我们将它增加到4G...
注意
rm
:和命令的错误使用dd
会导致数据丢失。建议复制/粘贴。在
terminal
...编辑 /etc/fstab,使用
sudo -H gedit /etc/fstab
或sudo pico /etc/fstab
。在 /etc/fstab 中确认此 /swapfile 行...并确认没有其他“交换”行...在此行中使用空格...确认 NO TABS...
更新#2:
这台计算机在 Ubuntu 和 Fedora 34 上死机。现在切换回 Windows。