Kubuntu 21.10 在 3-4 小时后冻结,无法成功重启

Kubuntu 21.10 在 3-4 小时后冻结,无法成功重启

我最近刚刚安装了 Kubuntu,使用大约 3-4 小时后它就冻结了。键盘事件仍然有效,但我无法点击任何东西。我唯一能做的就是按下电源按钮关机并重新启动,但重启后它仍然冻结。我能让它再次工作的唯一方法是打开 Live CD,运行sudo fsck -f我的 linux 根分区,在本例中是 /dev/sda3,重启后我的 Kubuntu 将再次成功工作。但是如果我使用它几个小时,问题就会再次出现。任何帮助都非常感谢,或者请告诉我什么命令可以显示您需要的日志来帮助诊断

我的笔记本电脑的规格:

  • AMD 锐龙 5 4600H
  • NVIDIA GeForce GTX 1650 4GB
  • 256GB nvme SSD 和 500GB SATA SSD 取代了我笔记本电脑的 DVD 驱动器,我在 /dev/sda3(根)和 /dev/sda4(/home)上安装了 Kubuntu

neofetch 的输出

sudo fsck -f /dev/sda3我运行的最后一次冻结的 日志https://pastebin.com/MyjNxQyc

我的磁盘布局,Kubuntu 系统在 /dev/sda3 中,其数据在 /dev/sda4 中

sudo fdisk -l
Disk /dev/loop0: 2.03 GiB, 2181812224 bytes, 4261352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZALQ256HAJD-000L2              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 041498D5-49B7-44D8-98CA-239A54676E5E

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048     34815     32768    16M Microsoft reserved
/dev/nvme0n1p2     34816 288102399 288067584 137.4G Microsoft basic data
/dev/nvme0n1p3 497819648 498024447    204800   100M EFI System
/dev/nvme0n1p4 498024448 499066879   1042432   509M Windows recovery environ
/dev/nvme0n1p5 499066880 500118158   1051279 513.3M EFI System
/dev/nvme0n1p6 288102400 392959999 104857600    50G Linux filesystem
/dev/nvme0n1p7 392960000 497819647 104859648    50G Linux filesystem

Partition table entries are not in disk order.
The backup GPT table is corrupt, but the primary appears OK, so that will be used.


Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: KIOXIA-EXCERIA S
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 93E9C9D7-F2AA-4C42-ACF1-E19830C5F4D0

Device         Start       End   Sectors   Size Type
/dev/sda1         34   1050623   1050590   513M EFI System
/dev/sda2  223315968 537888767 314572800   150G Microsoft basic data
/dev/sda3  537888768 689549311 151660544  72.3G Linux filesystem
/dev/sda4  689549312 929955839 240406528 114.6G Linux filesystem
/dev/sda5  929955840 937703054   7747215   3.7G Linux swap
/dev/sda6    1050624 223315967 222265344   106G Linux filesystem

Partition table entries are not in disk order.

free -h

               total        used        free      shared  buff/cache   available
Mem:           7,2Gi       3,2Gi       2,0Gi       206Mi       2,1Gi       3,6Gi
Swap:          3,7Gi          0B       3,7Gi

grep -i FPDMA /var/log/syslog* 沒有任何顯示

grep -i sda3 /var/log/syslog*

/var/log/syslog:Dec  5 10:17:28 le-IdeaPad-Gaming-3-15ARH05 kernel: [    1.927000]  sda: sda1 sda2 sda3 sda4 sda5 sda6
/var/log/syslog:Dec  5 10:17:28 le-IdeaPad-Gaming-3-15ARH05 kernel: [    2.922339] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
/var/log/syslog:Dec  5 10:17:28 le-IdeaPad-Gaming-3-15ARH05 kernel: [    3.251036] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro. Quota mode: none.
grep: /var/log/syslog: binary file matches
/var/log/syslog.1:Dec  1 16:19:55 le-IdeaPad-Gaming-3-15ARH05 kernel: [    1.809473]  sda: sda1 sda2 sda3 sda4 sda5 sda6
/var/log/syslog.1:Dec  1 16:19:55 le-IdeaPad-Gaming-3-15ARH05 kernel: [    2.531847] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
/var/log/syslog.1:Dec  1 16:19:55 le-IdeaPad-Gaming-3-15ARH05 kernel: [    2.839589] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro. Quota mode: none.
/var/log/syslog.1:Dec  1 17:07:09 le-IdeaPad-Gaming-3-15ARH05 kernel: [    2.000007]  sda: sda1 sda2 sda3 sda4 sda5 sda6
/var/log/syslog.1:Dec  1 17:07:09 le-IdeaPad-Gaming-3-15ARH05 kernel: [    2.766813] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
/var/log/syslog.1:Dec  1 17:07:09 le-IdeaPad-Gaming-3-15ARH05 kernel: [    3.079555] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro. Quota mode: none.
/var/log/syslog.1:Dec  2 07:25:29 le-IdeaPad-Gaming-3-15ARH05 kernel: [    1.976872]  sda: sda1 sda2 sda3 sda4 sda5 sda6
/var/log/syslog.1:Dec  2 07:25:29 le-IdeaPad-Gaming-3-15ARH05 kernel: [    2.657364] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
/var/log/syslog.1:Dec  2 07:25:29 le-IdeaPad-Gaming-3-15ARH05 kernel: [    3.016611] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro. Quota mode: none.

/dev/sda 的 SMART 状态

答案1

冷冻

使用free -h命令监控 swap used。如果接近 3G,则需要添加 /swapfile,或增加 /dev/sda5 交换分区。

铠侠 EXCERIA 480

将固件更新至 2021 年 3 月 15 日版本。同时获取SSD Utility Management Software。获取它们这里

三星 MZALQ256HAJD-000L2

错误:备份 GPT 表已损坏,但主表看起来正常,因此将会使用它。

重建 GPT 表。KDE Partition Manager也许可以做到。检查固件。获取Samsung Magician软件这里

相关内容