当我在浏览器中滚动浏览网页时,它会每隔 4 秒就冻结一次,虽然持续时间不长,但很烦人。当我播放视频时也会发生这种情况,尽管声音不会受到影响(一开始我以为只有视频才是问题所在 - 然后我意识到它在浏览时发生)
sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
dmesg | grep iwlwifi
[ 37.756102] iwlwifi 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 38.069472] iwlwifi 0000:04:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[ 39.158747] iwlwifi 0000:04:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 39.158750] iwlwifi 0000:04:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 39.158751] iwlwifi 0000:04:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 39.158753] iwlwifi 0000:04:00.0: Detected Intel(R) Centrino(R) Wireless-N 2200 BGN, REV=0x104
[ 39.158848] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[ 39.398141] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
[ 54.727546] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[ 54.735150] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[ 54.735237] iwlwifi 0000:04:00.0: Radio type=0x2-0x0-0x0
[ 54.980516] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[ 54.988136] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[ 54.988222] iwlwifi 0000:04:00.0: Radio type=0x2-0x0-0x0
lspci | grep Network
04:00.0 Network controller: Intel Corporation Centrino Wireless-N 2200 (rev c4)
我已经尝试了“r8169:无法禁用 ASPM;操作系统没有 ASPM 控制”的真正含义是什么?
sudo fwts aspm
Running 1 tests, results appended to results.log
Test: PCIe ASPM test.
PCIe ASPM ACPI test.
PCIe ASPM registers test. 2 passed, 1 failed, 7 warnings
我查看了 results.log:
aspm: PCIe ASPM test.
--------------------------------------------------------------------------------
Test 1 of 2: PCIe ASPM ACPI test.
FADT X_FIRMWARE_CTRL 64 bit pointer was zero, falling back to using
FIRMWARE_CTRL 32 bit pointer.
PCIe ASPM is controlled by Linux kernel.
Test 2 of 2: PCIe ASPM registers test.
WARNING: Test 2, RP 00h:01h.00h L0s not enabled.
WARNING: Test 2, Device 01h:00h.00h L0s not enabled.
ADVICE: The ASPM L0s low power Link state is optimized for short entry and exit
latencies, while providing substantial power savings. Disabling L0s of a PCIe
device may increases power consumption, and will impact the battery life of a
mobile system.
PASSED: Test 2, PCIe ASPM setting matched was matched.
WARNING: Test 2, RP 00h:1Ch.01h L0s not enabled.
WARNING: Test 2, RP 00h:1Ch.01h L1 not enabled.
WARNING: Test 2, Device 03h:00h.00h L1 not enabled.
ADVICE: The ASPM L0s low power Link state is optimized for short entry and exit
latencies, while providing substantial power savings. Disabling L0s of a PCIe
device may increases power consumption, and will impact the battery life of a
mobile system.
ADVICE: The ASPM L1 low power Link state is optimized for maximum power savings
with longer entry and exit latencies. Disabling L1 of a PCIe device may
increases power consumption, and will impact the battery life of a mobile system
significantly.
FAILED [MEDIUM] PCIEASPM_Unmatched: Test 2, PCIe ASPM setting was not matched.
RP 00h:1Ch.01h has ASPM = 00h.
Device 03h:00h.00h has ASPM = 01h.
ADVICE: ASPM control registers between root port and device must match in order
for ASPM to be active. Unmatched configuration indicates software did not
configure ASPM correctly and the system is not saving power at its full
potential.
WARNING: Test 2, RP 00h:1Ch.02h L0s not enabled.
WARNING: Test 2, Device 04h:00h.00h L0s not enabled.
ADVICE: The ASPM L0s low power Link state is optimized for short entry and exit
latencies, while providing substantial power savings. Disabling L0s of a PCIe
device may increases power consumption, and will impact the battery life of a
mobile system.
PASSED: Test 2, PCIe ASPM setting matched was matched.
================================================================================
2 passed, 1 failed, 7 warnings, 0 aborted, 0 skipped, 0 info only.
================================================================================
2 passed, 1 failed, 7 warnings, 0 aborted, 0 skipped, 0 info only.
Test Failure Summary
================================================================================
Critical failures: NONE
High failures: NONE
Medium failures: 1
aspm: PCIe ASPM setting was not matched.
Low failures: NONE
Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
aspm | 2| 1| | 7| | |
---------------+-----+-----+-----+-----+-----+-----+
Total: | 2| 1| 0| 7| 0| 0|
---------------+-----+-----+-----+-----+-----+-----+
遗憾的是,我被困在这里,我似乎找不到问题中提到的 aspm wiki,这让我走到了这一步。任何进一步的指导或帮助都将不胜感激
答案1
我知道这个线程已经很旧了,但是我注意到在 Kubuntu 18.04 LTS 下与较旧的 Intel WiFi Link 5100 网卡结合时出现了完全相同的“无法禁用 ASPM”消息。
解决方案是执行启用 PCIE ASPM 功能。这可以通过添加“pcie_aspm=force”参数GRUB 配置。
更多信息可以在这里找到: 如何将 pcie_aspm=force 添加到我的启动选项中?
此主题可视为典型的 BIOS 和 Linux 难题。BIOS 告诉 Linux ASPM 不可用。然而,ASPM 可用,并由 Intel WiFi Link 5100 激活和使用。
确实很难识别这种 BIOS 编程背后的任何逻辑概念...;-)