mini-ITX 上的 Ubuntu 22.04 经常挂起

mini-ITX 上的 Ubuntu 22.04 经常挂起

我的 mini-ITX 装有 Ubuntu 22.04,经常挂起。通过 HDMI 连接的显示器上没有图像。也无法再通过 SSH 访问。此问题通常在开机几小时后不定期发生。

我已经检查过的内容:

  • 到目前为止,硬盘的 SMART 值都很好。

  • CPU的温度曲线目前也还好,下图是风扇转速,正常,半夜就停了。

    CPU 温度

  • 这里是auth.log

    Jun 20 15:15:02 simon-itx CRON[3143350]: pam_unix(cron:session): session closed for user simon
    Jun 20 15:15:03 simon-itx CRON[3143351]: pam_unix(cron:session): session closed for user simon
    Jun 20 15:15:03 simon-itx CRON[3143352]: pam_unix(cron:session): session closed for user www-data
    Jun 24 14:08:15 simon-itx CRON[11610]: pam_unix(cron:session): session opened for user simon(uid=1000) by (uid=0)
    Jun 24 14:08:19 simon-itx sshd[11992]: Server listening on 0.0.0.0 port 22.
    Jun 24 14:08:19 simon-itx sshd[11992]: Server listening on :: port 22.
    Jun 24 14:08:27 simon-itx systemd-logind[11653]: New seat seat0.
    Jun 24 14:08:27 simon-itx systemd-logind[11653]: Watching system buttons on /dev/input/event0 (Power Button)
    Jun 24 14:08:27 simon-itx systemd-logind[11653]: Watching system buttons on /dev/input/event2 (Logitech K400)
    Jun 24 14:08:27 simon-itx gdm-autologin]: gkr-pam: no password is available for user
    Jun 24 14:08:27 simon-itx gdm-autologin]: pam_unix(gdm-autologin:session): session opened for user simon(uid=1000) by (uid=0)
    Jun 24 14:08:27 simon-itx systemd-logind[11653]: New session 2 of user simon.
    Jun 24 14:08:27 simon-itx systemd: pam_unix(systemd-user:session): session opened for user simon(uid=1000) by (uid=0)
    Jun 24 14:08:30 simon-itx gdm-autologin]: gkr-pam: gnome-keyring-daemon started properly
    Jun 24 14:08:32 simon-itx gnome-keyring-daemon[12695]: The PKCS#11 component was already initialized
    Jun 24 14:08:32 simon-itx gnome-keyring-daemon[12695]: The SSH agent was already initialized
    Jun 24 14:08:32 simon-itx gnome-keyring-daemon[12695]: The Secret Service was already initialized
    Jun 24 14:08:37 simon-itx polkitd(authority=local): Registered Authentication Agent for unix-session:2 (system bus name :1.44 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8)
    Jun 24 14:09:01 simon-itx CRON[18254]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
    Jun 24 14:09:01 simon-itx CRON[18255]: pam_unix(cron:session): session opened for user simon(uid=1000) by (uid=0)
    Jun 24 14:09:01 simon-itx CRON[18256]: pam_unix(cron:session): session opened for user simon(uid=1000) by (uid=0)
    Jun 24 14:09:01 simon-itx CRON[18254]: pam_unix(cron:session): session closed for user root
    Jun 24 14:09:01 simon-itx CRON[18255]: pam_unix(cron:session): session closed for user simon
    Jun 24 14:09:01 simon-itx CRON[18257]: pam_unix(cron:session): session opened for user simon(uid=1000) by (uid=0)
    Jun 24 14:09:03 simon-itx CRON[18256]: pam_unix(cron:session): session closed for user simon
    
  • 以下是syslog

    Jun 20 15:15:06 simon-itx sanoid[3002246]: INFO: waiting for cache update lock held by another sanoid process.
    Jun 20 15:15:37 simon-itx sanoid[3002246]: message repeated 3 times: [ INFO: waiting for cache update lock held by another sanoid process.]
    Jun 20 15:15:37 simon-itx systemd[1]: sanoid.service: Deactivated successfully.
    Jun 20 15:15:37 simon-itx systemd[1]: Finished Snapshot ZFS filesystems.
    Jun 20 15:15:37 simon-itx systemd[1]: sanoid.service: Consumed 11min 5.519s CPU time.
    Jun 20 15:15:37 simon-itx systemd[1]: Starting Snapshot ZFS filesystems...
    Jun 20 15:15:39 simon-itx sanoid[3002246]: INFO: removing destroyed snapshots from cache.
    Jun 20 15:15:39 simon-itx systemd[1]: sanoid-prune.service: Deactivated successfully.
    Jun 20 15:15:39 simon-itx systemd[1]: Finished Prune ZFS snapshots.
    Jun 20 15:15:39 simon-itx systemd[1]: sanoid-prune.service: Consumed 29min 26.581s CPU time.
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] microcode: microcode updated early to revision 0x48, date = 2021-11-16
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] Linux version 5.19.0-43-generic (buildd@lcy02-amd64-028) (x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #44~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon May 22 13:39:36 UTC 2 (Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17)
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] Command line: BOOT_IMAGE=/BOOT/ubuntu_58zi8x@/vmlinuz-5.19.0-43-generic root=ZFS=rpool/ROOT/ubuntu_58zi8x ro quiet splash vt.handoff=1
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] KERNEL supported cpus:
    Jun 24 14:08:15 simon-itx kernel: [    0.000000]   Intel GenuineIntel
    Jun 24 14:08:15 simon-itx kernel: [    0.000000]   AMD AuthenticAMD
    Jun 24 14:08:15 simon-itx kernel: [    0.000000]   Hygon HygonGenuine
    Jun 24 14:08:15 simon-itx kernel: [    0.000000]   Centaur CentaurHauls
    Jun 24 14:08:15 simon-itx kernel: [    0.000000]   zhaoxin   Shanghai  
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
    Jun 24 14:08:15 simon-itx kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
    

我还能检查什么?可能是电源问题,但我该如何读取呢?

相关内容