最近我在一台新的联想 B50-10 笔记本电脑上安装了 Ubuntu LTS 16.04。看起来一切都运行正常,但是 dmesg 上出现了一些有关 pci 设备的错误消息。
dmesg |grep fail
[ 1.268776] pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
[ 1.268789] pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1.268803] pci 0000:00:1c.1: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1.268830] pci 0000:00:1c.1: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1.268839] pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
[ 1.268852] pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
还有一些其他消息如下:
[ 0.537659] pci 0000:00:1c.1: BAR 15: no space for [mem size 0x00200000 64bit pref]
我在 google 上搜索了这个错误,所有迹象都表明这可能是 bios 错误。此外,dmesg 输出中还出现了一条相关的错误消息,如上所示:
[ 2.867219] pci 0000:00:1d.0: EHCI: BIOS handoff failed (BIOS bug?) 01010001
我已使用联想支持网站上的新版本更新了 BIOS,此时的版本为 v2.07,发布于 2016 年 10 月,但问题仍然存在。
如果我将选项“acpi=off”传递给内核,则不会出现任何错误消息,但 wifi 卡不工作。
如果在 Bios 上将“OS 优化默认”修复为“启用”,然后点击“加载默认设置”,错误仍然存在。
恕我直言,一切都与 bios 错误有关。过去,我遇到过类似的问题,联想 b50-30,但在这种情况下,bios 更新解决了这个问题。
任何帮助都将不胜感激。
提前致谢,
此致。
答案1
在刚启动的系统上运行固件测试套件 fwts klog 测试,它可能会解释其中一些错误消息:
apt-get install fwts
fwts klog -
答案2
谢谢你的回答!我粘贴了结果,不是很有用的信息:
Results generated by fwts: Version V16.03.00 (2016-03-14 09:10:20).
Some of this work - Copyright (c) 1999 - 2016, Intel Corp. All rights reserved.
Some of this work - Copyright (c) 2010 - 2016, Canonical.
This test run on 18/12/16 at 01:03:27 on host Linux lenovo 4.4.0-53-generic
#74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64.
Command: "fwts klog -".
Running tests: klog.
klog: Scan kernel log for errors and warnings.
--------------------------------------------------------------------------------
Test 1 of 1: Kernel log error check.
Kernel message: [ 0.030056] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
ADVICE: This is not exactly a failure but a warning from the kernel. The
MSR_IA32_ENERGY_PERF_BIAS was initialized and defaulted to a high performance
bias setting. The kernel has detected this and changed it down to a 'normal'
bias setting.
Kernel message: [ 0.164916] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
ADVICE: This is not exactly a failure mode but a warning from the kernel. The
_OSI() method has implemented a match to the 'Linux' query in the DSDT and this
is redundant because the ACPI driver matches onto the Windows _OSI strings by
default.
FAILED [CRITICAL] KlogAcpiNoValidCrt: Test 1, CRITICAL Kernel message: [
1.473105] [Firmware Bug]: No valid trip found
ADVICE: No valid ACPI _CRT (Critical Trip Point) was found.
Found 1 unique errors in kernel log.
================================================================================
0 passed, 1 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
================================================================================
0 passed, 1 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
Test Failure Summary
================================================================================
Critical failures: 1
klog: CRITICAL Kernel message: [ 1.473105] [Firmware Bug]: No valid trip found
High failures: NONE
Medium failures: NONE
Low failures: NONE
Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
klog | | 1| | | | |
---------------+-----+-----+-----+-----+-----+-----+
Total: | 0| 1| 0| 0| 0| 0|
---------------+-----+-----+-----+-----+-----+-----+