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 驅動器,我將 Kubuntu 安裝在 /dev/sda3 (root) 和 /dev/sda4 (/home) 上

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命令來監控交換used。如果接近3G,則需要新增/swapfile,或增加/dev/sda5交換分割區。

鎧俠 EXCERIA 480

將韌體更新至2021年3月15日版本。還得到SSD Utility Management Software.抓住他們這裡

三星 MZALQ256HAJD-000L2

錯誤:備份 GPT 表已損壞,但主表顯示正常,因此將使用該表。

重建 GPT 表。KDE Partition Manager也許能夠做到。檢查韌體。取得Samsung Magician軟體這裡

相關內容