2023 年 3 月开始在这个设备上安装 tw,作为局域网内 pg 服务器使用,最近一次重装是在去年 12 月,经常长时间不关机,一周一升。近两周触发两次系统崩溃,桌面图标变成缺省图标,xfce 小插件消失。第一次开机后自动进入 bios(没有 uefi 引导项),第二次有线键盘无反应,xfceterm 显示文件不存在。
初步怀疑是 m2 固态坏了。
我应该如何排查硬件问题?
eaton@eaton
-----------
OS: openSUSE Tumbleweed x86_64
Host: G1618-04
Kernel: 6.8.6-1-default
Uptime: 11 mins
Packages: 3265 (rpm)
Shell: bash 5.2.26
Resolution: 2560x1440
DE: Xfce 4.18
WM: Xfwm4
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: xfce4-terminal
Terminal Font: Monospace 12
CPU: AMD Ryzen 7 6800U with Radeon Graphics (16) @ 4.768GHz
GPU: AMD ATI Radeon 680M
Memory: 2093MiB / 20272MiB
eaton:/home/eaton # smartctl -l selftest /dev/nvme0
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.6-1-default] (SUSE RPM)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF SMART DATA SECTION ===
Self-test Log (NVMe Log 0x06)
Self-test status: No self-test in progress
Num Test_Description Status Power_on_Hours Failing_LBA NSID Seg SCT Code
0 Extended Completed without error 244 - - - - -
eaton:/home/eaton # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 0B 0 disk
sdb 8:16 1 0B 0 disk
sdc 8:32 0 0B 0 disk
zram0 254:0 0 4G 0 disk [SWAP]
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
├─nvme0n1p2 259:2 0 240G 0 part /var
│ /srv
│ /root
│ /opt
│ /boot/grub2/x86_64-efi
│ /boot/grub2/i386-pc
│ /
├─nvme0n1p3 259:3 0 512G 0 part /usr/local
└─nvme0n1p4 259:4 0 1.1T 0 part /home
eaton:/home/eaton # df -Th
文件系统 类型 大小 已用 可用 已用% 挂载点
/dev/nvme0n1p2 btrfs 240G 53G 187G 23% /
devtmpfs devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs tmpfs 9.9G 13M 9.9G 1% /dev/shm
efivarfs efivarfs 128K 21K 103K 18% /sys/firmware/efi/efivars
tmpfs tmpfs 4.0G 2.1M 4.0G 1% /run
tmpfs tmpfs 9.9G 3.2M 9.9G 1% /tmp
/dev/nvme0n1p2 btrfs 240G 53G 187G 23% /boot/grub2/i386-pc
/dev/nvme0n1p2 btrfs 240G 53G 187G 23% /boot/grub2/x86_64-efi
/dev/nvme0n1p2 btrfs 240G 53G 187G 23% /opt
/dev/nvme0n1p2 btrfs 240G 53G 187G 23% /root
/dev/nvme0n1p2 btrfs 240G 53G 187G 23% /srv
/dev/nvme0n1p2 btrfs 240G 53G 187G 23% /var
/dev/nvme0n1p3 btrfs 512G 195G 317G 39% /usr/local
/dev/nvme0n1p4 xfs 1.1T 168G 943G 16% /home
/dev/nvme0n1p1 vfat 511M 214M 298M 42% /boot/efi
tmpfs tmpfs 2.0G 92K 2.0G 1% /run/user/1000