Debian 10 随机(显然)冻结

Debian 10 随机(显然)冻结

我最近将 Debian 9 升级到 Debian 10,从那时起,我就一直遇到随机冻结的情况。屏幕冻结,键盘和鼠标也明显冻结(例如,CapsLock 灯不会打开/关闭)。

我注意到它在不使用、睡觉时不会冻结,但当我使用它时。有时它可以持续近一个小时而不冻结,其他时候自从我开始使用它以来只需要几分钟。

有一次它冻结了,我运行了 htop,并且没有 CPU 过载(所有内核都在 15% 以下工作)并且内存相当空闲。

我已经重装系统两次了,还是死机。

PC上只安装了一个系统,Debian 10。

lscpu输出:

$ lscpu
Arquitectura:                        x86_64
modo(s) de operación de las CPUs:    32-bit, 64-bit
Orden de los bytes:                  Little Endian
Tamaños de las direcciones:          48 bits physical, 48 bits virtual
CPU(s):                              6
Lista de la(s) CPU(s) en línea:      0-5
Hilo(s) de procesamiento por núcleo: 2
Núcleo(s) por «socket»:              3
«Socket(s)»                          1
Modo(s) NUMA:                        1
ID de fabricante:                    AuthenticAMD
Familia de CPU:                      21
Modelo:                              2
Nombre del modelo:                   AMD FX(tm)-6300 Six-Core Processor
Revisión:                            0
CPU MHz:                             1406.161
CPU MHz máx.:                        3500,0000
CPU MHz mín.:                        1400,0000
BogoMIPS:                            7031.50
Virtualización:                      AMD-V
Caché L1d:                           16K
Caché L1i:                           64K
Caché L2:                            2048K
Caché L3:                            8192K
CPU(s) del nodo NUMA 0:              0-5
Indicadores:                         fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_pstate ssbd vmmcall bmi1 arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold

lspci输出:

$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
02:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)

lsscsi输出:

$ lsscsi
[4:0:0:0]    disk    ATA      KINGSTON SHFS37A BBF0  /dev/sda 
[5:0:0:0]    disk    ATA      WDC WD5000AAKX-0 1H15  /dev/sdb 
[6:0:0:0]    disk    Kingston DataTraveler 2.0 PMAP  /dev/sdd 
[7:0:0:0]    disk    Multi    Flash Reader     1.00  /dev/sdc 

lsblk输出:

$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111,8G  0 disk 
├─sda1   8:1    0 107,2G  0 part /
├─sda2   8:2    0     1K  0 part 
└─sda5   8:5    0   4,6G  0 part [SWAP]
sdb      8:16   0 465,8G  0 disk 
└─sdb1   8:17   0 465,8G  0 part /home

任何帮助将不胜感激。

答案1

对于我的 UX 305,我决定重新安装 Buster,但它仍然冻结。所以我安装了intel-microcode和firmware-misc-nonfree。从那以后,我已经48小时没有看到冻结了,我非常有希望!

答案2

我在 Lenovo 系统上使用 Debian 10 时偶尔会遇到同样的问题,该系统太旧,无法支持任何 BIOS/UEFI 更新。基于https://wiki.debian.org/Microcode,我为我的系统做了以下操作:

  1. sudo nano /etc/apt/sources.list
  2. 添加contrib non-free到所有debdeb-src行。例如:
    deb http://security.debian.org/ stretch/updates main contrib non-free
    deb-src http://security.debian.org/ stretch/updates main contrib non-free
  3. sudo apt update
  4. sudo apt install intel-microcode 注意:amd64-microcode如果合适请使用
  5. 重新启动以激活微码更新

仅当内核或用户空间实用程序确定需要更新时才会应用微代码更新。微代码包必须保持安装状态,微代码更新才能保持活动状态。

相关内容