我使用的是联想 Thinkpad T540p。它在 Fedora 25 上运行良好。自从升级到 Fedora 26 后,每当我尝试从 tty 更改为 GUI 或尝试关闭(使用控制台和 GUI)时,系统都会冻结。我的系统是最新的。从 Live USB 记忆棒运行 Fedora 26 时不会发生这种情况。
今天,笔记本电脑也突然开始崩溃(即突然关闭),日志中没有留下任何信息。笔记本电脑没有过热,电池电量充足。但是,我无法重现这一点。
journalctl -b -p err
这是两次此类冻结之间的完整会话的输出:
Jul 29 17:39:36 lappy kernel: Error parsing PCC subspaces from PCCT
Jul 29 17:39:36 lappy kernel: ACPI Error: Needed type [Reference], found [Integer] ffff998eb44e0168 (20170119/exresop-103)
Jul 29 17:39:36 lappy kernel: ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20170119/dswexec-461)
Jul 29 17:39:36 lappy kernel: ACPI Error: Method parse/execution failed [\_PR.CPU0._PDC] (Node ffff998eb5cf1a78), AE_AML_OPERAND_TYPE (20170119/psparse-543)
Jul 29 17:39:36 lappy systemd-modules-load[252]: Failed to find module 'vboxdrv'
Jul 29 17:39:36 lappy systemd-modules-load[252]: Failed to find module 'vboxnetflt'
Jul 29 17:39:36 lappy systemd-modules-load[252]: Failed to find module 'vboxnetadp'
Jul 29 17:39:36 lappy systemd-modules-load[252]: Failed to find module 'vboxpci'
Jul 29 17:39:37 lappy kernel: nouveau 0000:01:00.0: priv: HUB0: 085014 ffffffff (1d70820b)
Jul 29 17:39:37 lappy kernel: nouveau 0000:01:00.0: priv: GPC0: 4188ac 00000001 (1870822e)
Jul 29 17:39:37 lappy kernel: nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
Jul 29 17:39:37 lappy kernel: nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid
Jul 29 17:39:53 lappy kernel: tpm tpm0: A TPM error (6) occurred attempting to read a pcr value
Jul 29 17:40:00 lappy avahi-daemon[1001]: chroot.c: open() failed: No such file or directory
Jul 29 17:40:20 lappy libvirtd[1149]: Could not find keytab file: /etc/libvirt/krb5.tab: No such file or directory
Jul 29 17:40:44 lappy spice-vdagent[1589]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
Jul 29 17:41:21 lappy spice-vdagent[2025]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
也许是 nouveau 驱动程序的问题?
有时,一旦记录了错误消息,我就可以在尝试关闭时捕获错误消息(其他时候未记录这些错误消息)
Jul 29 16:49:41 lappy kernel: nouveau 0000:01:00.0: DRM: failed to idle channel 0 [DRM]
Jul 29 17:25:34 lappy kernel: INFO: rcu_sched detected stalls on CPUs/tasks:
Jul 29 17:25:34 lappy kernel: 4-...: (1 GPs behind) idle=5f5/140000000000000/0 softirq=41973/41973 fqs=14341
Jul 29 17:25:34 lappy kernel: (detected by 6, t=60003 jiffies, g=61506, c=61505, q=0)
Jul 29 17:25:34 lappy kernel: NMI watchdog: Watchdog detected hard LOCKUP on cpu 4
Jul 29 17:27:38 lappy systemd[1]: systemd-logind.service: Watchdog timeout (limit 3min)!
Jul 29 17:28:34 lappy kernel: INFO: rcu_sched detected stalls on CPUs/tasks:
Jul 29 17:28:34 lappy kernel: 4-...: (1 GPs behind) idle=5f5/140000000000000/0 softirq=41973/41973 fqs=57419
Jul 29 17:28:34 lappy kernel: (detected by 2, t=240008 jiffies, g=61506, c=61505, q=0)
由于从实时介质运行时不会发生此错误,因此我认为更新出现了问题,而不是我的硬件一定已损坏。我如何进一步调查并希望解决这个问题?
第一个处理器来自cat /proc/cpuinfo
:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
stepping : 3
microcode : 0x22
cpu MHz : 1519.189
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
bugs :
bogomips : 4788.89
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
如有必要,我很乐意提供任何其他信息。
答案1
@Zollem 确实有问题nouveau
。我在尝试从 24 升级到 26 时遇到了完全相同的问题。您需要安装新版本的 nvidia 驱动程序。有很多步骤需要遵循,所以我将在这里发布一个指南。我的工作对我来说就像一个魅力:
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/