Ubuntu 20.04 冻结与联想 Thinkpad t14

金斧

我查看了日志并看到了这一点: 在此处输入图片说明

如果我理解这一点,系统是否尝试交换到加密交换文件?我的硬盘是加密的,我设置了一个常规的交换文件......

# /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>
/dev/mapper/vgubuntu-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/nvme0n1p2 during installation
UUID=ebdb51fe-2271-4425-951a-825066ef4e7b /boot           ext4    defaults        0       2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=0441-297F  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/vgubuntu-swap_1 none            swap    sw              0       0
/swapfile swap swap defaults 0 0

我刚刚又一次随机冻结(第一次冻结后 7 天),我不得不重置我的笔记本电脑,并显示以下日志:

18:52:30 kernel: sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
18:52:30 gdm-session-wor: gkr-pam: unable to locate daemon control file
18:52:20 wpa_supplicant: nl80211: Failed to create a P2P Device interface p2p-dev-wlp0s20f3
18:52:20 kernel: iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
18:52:19 systemd: Failed to start Cryptography Setup for cryptswap.
18:52:19 systemd-cryptse: crypt_init() failed: Block device required
18:52:19 kernel: sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
18:52:19 systemd: Failed to start Cryptography Setup for cryptswap.
18:52:19 systemd-cryptse: crypt_init() failed: Block device required
18:52:18 systemd: Failed to start Cryptography Setup for cryptswap.
18:52:18 systemd-cryptse: crypt_init() failed: Block device required
18:52:18 kernel: ACPI Error: Aborting method \_SB.HIDD._DSM due to previous error (AE_AML_OPERAND_TYPE) (20190816/psparse-529)
18:52:18 kernel: crypt_init() failed: Block device required
18:52:18 kernel: Device /cryptswap doesn't exist or access denied.
18:52:18 kernel: Failed to start Cryptography Setup for cryptswap.
18:52:18 kernel: Initramfs unpacking failed: Decoding failed

# /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>
/dev/mapper/vgubuntu-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/nvme0n1p2 during installation
UUID=ebdb51fe-2271-4425-951a-825066ef4e7b /boot           ext4    defaults        0       2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=0441-297F  /boot/efi       vfat    umask=0077      0       1
/swapfile swap swap defaults 0 0

添加 /etc/crypttab:

nvme0n1p3_crypt UUID=bca86e55-cc12-4b54-ba1e-61856cc8db55 none luks,discard
cryptswap /cryptswap /dev/urandom swap
金斧

由于我的交换没有加密,我删除了以下行:

cryptswap /cryptswap /dev/urandom 从 /etc/crypttab 文件交换。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章