Arch-Linux

作業系統完全凍結

  • February 4, 2021

從昨天開始,我的作業系統 archlinux 經常完全凍結,沒有明確的原因。

我唯一要做的就是在它發生時用 Firefox 瀏覽網際網路。

在這些凍結期間,音頻、藍牙仍在工作,但我無法與系統互動……

我試圖在系統日誌中找到一些有用的東西:

$ sudo journalctl -b -1 -k -xe
...
Jan 14 10:22:45 flexywhale kernel: INFO: task kworker/0:1H:213 blocked for more than 122 seconds.
Jan 14 10:22:45 flexywhale kernel:       Tainted: G        W         5.10.6-arch1-1 #1
Jan 14 10:22:45 flexywhale kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 14 10:22:45 flexywhale kernel: task:kworker/0:1H    state:D stack:    0 pid:  213 ppid:     2 flags:0x00004000
Jan 14 10:22:45 flexywhale kernel: Workqueue: events_highpri intel_atomic_cleanup_work [i915]
Jan 14 10:22:45 flexywhale kernel: Call Trace:
Jan 14 10:22:45 flexywhale kernel:  __schedule+0x295/0x810
Jan 14 10:22:45 flexywhale kernel:  schedule+0x5b/0xc0
Jan 14 10:22:45 flexywhale kernel:  schedule_preempt_disabled+0x11/0x20
Jan 14 10:22:45 flexywhale kernel:  __ww_mutex_lock.constprop.0+0x4bd/0x810
Jan 14 10:22:45 flexywhale kernel:  ? dequeue_entity+0xc6/0x460
Jan 14 10:22:45 flexywhale kernel:  intel_unpin_fb_vma+0x25/0xa0 [i915]
Jan 14 10:22:45 flexywhale kernel:  drm_atomic_helper_cleanup_planes+0x52/0x70 [drm_kms_helper]
Jan 14 10:22:45 flexywhale kernel:  intel_atomic_cleanup_work+0x67/0x110 [i915]
Jan 14 10:22:45 flexywhale kernel:  process_one_work+0x1d6/0x3a0
Jan 14 10:22:45 flexywhale kernel:  worker_thread+0x4d/0x3d0
Jan 14 10:22:45 flexywhale kernel:  ? rescuer_thread+0x410/0x410
Jan 14 10:22:45 flexywhale kernel:  kthread+0x133/0x150
Jan 14 10:22:45 flexywhale kernel:  ? __kthread_bind_mask+0x60/0x60
Jan 14 10:22:45 flexywhale kernel:  ret_from_fork+0x1f/0x30
Jan 14 10:24:48 flexywhale kernel: INFO: task kworker/0:1H:213 blocked for more than 245 seconds.
Jan 14 10:24:48 flexywhale kernel:       Tainted: G        W         5.10.6-arch1-1 #1
Jan 14 10:24:48 flexywhale kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 14 10:24:48 flexywhale kernel: task:kworker/0:1H    state:D stack:    0 pid:  213 ppid:     2 flags:0x00004000
Jan 14 10:24:48 flexywhale kernel: Workqueue: events_highpri intel_atomic_cleanup_work [i915]
Jan 14 10:24:48 flexywhale kernel: Call Trace:
Jan 14 10:24:48 flexywhale kernel:  __schedule+0x295/0x810
Jan 14 10:24:48 flexywhale kernel:  schedule+0x5b/0xc0
Jan 14 10:24:48 flexywhale kernel:  schedule_preempt_disabled+0x11/0x20
Jan 14 10:24:48 flexywhale kernel:  __ww_mutex_lock.constprop.0+0x4bd/0x810
Jan 14 10:24:48 flexywhale kernel:  ? dequeue_entity+0xc6/0x460
Jan 14 10:24:48 flexywhale kernel:  intel_unpin_fb_vma+0x25/0xa0 [i915]
Jan 14 10:24:48 flexywhale kernel:  drm_atomic_helper_cleanup_planes+0x52/0x70 [drm_kms_helper]
Jan 14 10:24:48 flexywhale kernel:  intel_atomic_cleanup_work+0x67/0x110 [i915]
Jan 14 10:24:48 flexywhale kernel:  process_one_work+0x1d6/0x3a0
Jan 14 10:24:48 flexywhale kernel:  worker_thread+0x4d/0x3d0
Jan 14 10:24:48 flexywhale kernel:  ? rescuer_thread+0x410/0x410
Jan 14 10:24:48 flexywhale kernel:  kthread+0x133/0x150
Jan 14 10:24:48 flexywhale kernel:  ? __kthread_bind_mask+0x60/0x60
Jan 14 10:24:48 flexywhale kernel:  ret_from_fork+0x1f/0x30
...

這些凍結在系統更新後沒有發生(上次更新大約是一周前),我更新了我的系統,試圖修復它但沒有成功。

我可以做些什麼來診斷並嘗試解決這個問題?

謝謝 !

這可能與此處此處討論的問題相同。

一個短期解決方案(也適用於我)是解除安裝xf86-video-intel.

引用自:https://unix.stackexchange.com/questions/629128