18.04.1 挂起且系统间歇性冻结

18.04.1 挂起且系统间歇性冻结

因此,我新安装的 18.04.1 系统会间歇性地冻结。我尝试查看 kern.log 和 journalctl 日志以查找崩溃中的模式,但我无法找到。下面我附上了崩溃发生在 8.35 时的 kern.log。日志显示 ath10k_pci 固件崩溃了。但我在系统以前的崩溃中找不到这些日志。

Oct 15 08:32:36 scadza kernel: [   40.296008] pcieport 0000:03:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
Oct 15 08:32:36 scadza kernel: [   40.296009] pcieport 0000:03:02.0: BAR 13: no space for [io  size 0x1000]
Oct 15 08:32:36 scadza kernel: [   40.296011] pcieport 0000:03:02.0: BAR 13: failed to assign [io  size 0x1000]
Oct 15 08:32:36 scadza kernel: [   40.296012] pcieport 0000:03:01.0: BAR 13: no space for [io  size 0x1000]
Oct 15 08:32:36 scadza kernel: [   40.296013] pcieport 0000:03:01.0: BAR 13: failed to assign [io  size 0x1000]
Oct 15 08:32:41 scadza kernel: [   44.844806] pci_raw_set_power_state: 28 callbacks suppressed
Oct 15 08:32:41 scadza kernel: [   44.844808] pcieport 0000:03:00.0: Refused to change power state, currently in D3
Oct 15 08:32:41 scadza kernel: [   44.845120] pci_bus 0000:04: busn_res: [bus 04] is released
Oct 15 08:32:41 scadza kernel: [   44.845174] pci_bus 0000:05: busn_res: [bus 05-39] is released
Oct 15 08:32:41 scadza kernel: [   44.845216] pci_bus 0000:3a: busn_res: [bus 3a] is released
Oct 15 08:32:41 scadza kernel: [   44.845256] pci_bus 0000:03: busn_res: [bus 03-3a] is released
Oct 15 08:35:10 scadza kernel: [  193.696342] wlp61s0: AP 28:3b:82:30:44:df changed bandwidth, new config is 2452 MHz, width 2 (2442/0 MHz)
Oct 15 08:35:10 scadza kernel: [  193.746769] ath10k_pci 0000:3d:00.0: firmware crashed! (guid bb2e64fa-dc07-4bd5-88d6-d7ec03214f03)
Oct 15 08:35:10 scadza kernel: [  193.746792] ath10k_pci 0000:3d:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1435
Oct 15 08:35:10 scadza kernel: [  193.746798] ath10k_pci 0000:3d:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
Oct 15 08:35:10 scadza kernel: [  193.747899] ath10k_pci 0000:3d:00.0: firmware ver WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
Oct 15 08:35:10 scadza kernel: [  193.748723] ath10k_pci 0000:3d:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
Oct 15 08:35:10 scadza kernel: [  193.748733] ath10k_pci 0000:3d:00.0: htt-ver 3.47 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
Oct 15 08:35:10 scadza kernel: [  193.750757] ath10k_pci 0000:3d:00.0: firmware register dump:
Oct 15 08:35:10 scadza kernel: [  193.750768] ath10k_pci 0000:3d:00.0: [00]: 0x05030000 0x000015B3 0x0098747D 0x00955B31
Oct 15 08:35:10 scadza kernel: [  193.750774] ath10k_pci 0000:3d:00.0: [04]: 0x0098747D 0x00060730 0x00000004 0x00000000
Oct 15 08:35:10 scadza kernel: [  193.750780] ath10k_pci 0000:3d:00.0: [08]: 0x004089F0 0x00955A00 0x000A0B00 0x00400000
Oct 15 08:35:10 scadza kernel: [  193.750787] ath10k_pci 0000:3d:00.0: [12]: 0x00000009 0x00000000 0x00952CD0 0x00952CE6
Oct 15 08:35:10 scadza kernel: [  193.750792] ath10k_pci 0000:3d:00.0: [16]: 0x00952CC4 0x00910712 0x00000000 0x0091080D
Oct 15 08:35:10 scadza kernel: [  193.750798] ath10k_pci 0000:3d:00.0: [20]: 0x4098747D 0x0040E7A8 0x00000000 0x0041EECC
Oct 15 08:35:10 scadza kernel: [  193.750804] ath10k_pci 0000:3d:00.0: [24]: 0x809ABF81 0x0040E808 0x00000000 0xC098747D
Oct 15 08:35:10 scadza kernel: [  193.750811] ath10k_pci 0000:3d:00.0: [28]: 0x809A65F4 0x0040E948 0x0041FED0 0x00434790
Oct 15 08:35:10 scadza kernel: [  193.750817] ath10k_pci 0000:3d:00.0: [32]: 0x809A5D4B 0x0040E988 0x0040E9B0 0x0042D36C
Oct 15 08:35:10 scadza kernel: [  193.750822] ath10k_pci 0000:3d:00.0: [36]: 0x8091D252 0x0040E9A8 0x00000002 0x00000002
Oct 15 08:35:10 scadza kernel: [  193.750832] ath10k_pci 0000:3d:00.0: [40]: 0x809FDBC5 0x0040EA58 0x0043D720 0x0042D718
Oct 15 08:35:10 scadza kernel: [  193.750838] ath10k_pci 0000:3d:00.0: [44]: 0x809F8C46 0x0040EA78 0x0043D720 0x00000001
Oct 15 08:35:10 scadza kernel: [  193.750844] ath10k_pci 0000:3d:00.0: [48]: 0x80911210 0x0040EAC8 0x00000010 0x004041D0
Oct 15 08:35:10 scadza kernel: [  193.750849] ath10k_pci 0000:3d:00.0: [52]: 0x80911154 0x0040EB28 0x00400000 0x00000000
Oct 15 08:35:10 scadza kernel: [  193.750855] ath10k_pci 0000:3d:00.0: [56]: 0x8091122D 0x0040EB48 0x00000000 0x00400600
Oct 15 08:35:10 scadza kernel: [  193.750860] ath10k_pci 0000:3d:00.0: Copy Engine register dump:
Oct 15 08:35:10 scadza kernel: [  193.750873] ath10k_pci 0000:3d:00.0: [00]: 0x00034400  14  14   3   3
Oct 15 08:35:10 scadza kernel: [  193.750886] ath10k_pci 0000:3d:00.0: [01]: 0x00034800  18  18  63  64
Oct 15 08:35:10 scadza kernel: [  193.750898] ath10k_pci 0000:3d:00.0: [02]: 0x00034c00  35  35  98  99
Oct 15 08:35:10 scadza kernel: [  193.750910] ath10k_pci 0000:3d:00.0: [03]: 0x00035000   7   7   8   7
Oct 15 08:35:10 scadza kernel: [  193.750922] ath10k_pci 0000:3d:00.0: [04]: 0x00035400 2981 2981  20 212
Oct 15 08:35:10 scadza kernel: [  193.750934] ath10k_pci 0000:3d:00.0: [05]: 0x00035800   0   0  64   0
Oct 15 08:35:10 scadza kernel: [  193.750947] ath10k_pci 0000:3d:00.0: [06]: 0x00035c00  27  27  26  26
Oct 15 08:35:10 scadza kernel: [  193.750959] ath10k_pci 0000:3d:00.0: [07]: 0x00036000   1   1   1   1
Oct 15 08:35:10 scadza kernel: [  193.850411] ieee80211 phy0: Hardware restart was requested
Oct 15 08:35:10 scadza kernel: [  194.572193] ath10k_pci 0000:3d:00.0: Unknown eventid: 118809
Oct 15 08:35:10 scadza kernel: [  194.575225] ath10k_pci 0000:3d:00.0: Unknown eventid: 90118
Oct 15 08:35:11 scadza kernel: [  194.670431] ath10k_pci 0000:3d:00.0: device successfully recovered
Oct 15 08:37:05 scadza kernel: [    0.000000] microcode: microcode updated early to revision 0x8e, date = 2018-03-24
Oct 15 08:37:05 scadza kernel: [    0.000000] Linux version 4.15.0-36-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 (Ubuntu 4.15.0-36.39-generic 4.15.18)
Oct 15 08:37:05 scadza kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic root=UUID=7ce775dd-624e-4e92-b6ad-668031f4f57c ro
Oct 15 08:37:05 scadza kernel: [    0.000000] KERNEL supported cpus:
Oct 15 08:37:05 scadza kernel: [    0.000000]   Intel GenuineIntel
Oct 15 08:37:05 scadza kernel: [    0.000000]   AMD AuthenticAMD
Oct 15 08:37:05 scadza kernel: [    0.000000]   Centaur CentaurHauls
Oct 15 08:37:05 scadza kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Oct 15 08:37:05 scadza kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Oct 15 08:37:05 scadza kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Oct 15 08:37:05 scadza kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'

wifi卡的hwinfo:

PCI 3d00.0: 0282 WLAN controller
[Created at pci.378]
Unique ID: hVJg.Jw5XE2Z_aN5
Parent ID: HnsE.ksuLhcM8PM3
SysFS ID: /devices/pci0000:00/0000:00:1c.5/0000:3d:00.0
SysFS BusID: 0000:3d:00.0
Hardware Class: network
Model: "Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter"
Vendor: pci 0x168c "Qualcomm Atheros"
Device: pci 0x003e "QCA6174 802.11ac Wireless Network Adapter"
SubVendor: pci 0x1a56 "Bigfoot Networks, Inc."
SubDevice: pci 0x1435 
Revision: 0x32
Driver: "ath10k_pci"
Driver Modules: "ath10k_pci"

如果您需要其他日志,请告诉我。或者您可以告诉我当系统再次冻结时收集所有相关日志的步骤。

我认为我有与这个问题中提到的同样的问题:Ath10k 和 QCA6174 导致 PCIe 错误、固件崩溃和连接中断?

但那里提供的解决方案不能应用于我的系统。因为atheros github 存储库没有适用于我的固件版本的最新版本WLAN.RM.4.4.1-00079-QCARMSWPZ-1。(请注意末尾的 Z)

根据要求,输出sudo lshw -c memory

*-firmware                
     description: BIOS
     vendor: Alienware
     physical id: 0
     version: 1.2.4
     date: 01/25/2018
     size: 64KiB
     capacity: 15MiB
     capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb smartbattery biosbootspecification netboot uefi
*-memory
     description: System Memory
     physical id: 2c
     slot: System board or motherboard
     size: 32GiB
   *-bank:0
        description: SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
        product: 16ATF2G64HZ-2G3H1
        vendor: 009C0B160000
        physical id: 0
        serial: 18C7AEFA
        slot: ChannelA-DIMM0
        size: 16GiB
        width: 64 bits
        clock: 2400MHz (0.4ns)
   *-bank:1
        description: SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
        product: 16ATF2G64HZ-2G3H1
        vendor: 009C0B160000
        physical id: 1
        serial: 18C7AEF4
        slot: ChannelB-DIMM0
        size: 16GiB
        width: 64 bits
        clock: 2400MHz (0.4ns)
*-cache:0
     description: L1 cache
     physical id: 30
     slot: L1 Cache
     size: 256KiB
     capacity: 256KiB
     capabilities: synchronous internal write-back unified
     configuration: level=1
*-cache:1
     description: L2 cache
     physical id: 31
     slot: L2 Cache
     size: 1MiB
     capacity: 1MiB
     capabilities: synchronous internal write-back unified
     configuration: level=2
*-cache:2
     description: L3 cache
     physical id: 32
     slot: L3 Cache
     size: 8MiB
     capacity: 8MiB
     capabilities: synchronous internal write-back unified
     configuration: level=3
*-memory UNCLAIMED
     description: Memory controller
     product: Sunrise Point-H PMC
     vendor: Intel Corporation
     physical id: 1f.2
     bus info: pci@0000:00:1f.2
     version: 31
     width: 32 bits
     clock: 33MHz (30.3ns)
     configuration: latency=0
     resources: memory:dd12c000-dd12ffff

我的 bionic 建议存储库已禁用。即我没有使用任何建议的软件包。

我跑了Memtest86完成两次。总共花费了 3 个小时完成,并且没有出现任何错误。

答案1

因此,我解决了 Ubuntu 18.04 冻结和挂起的问题。最近我登录 5-10 分钟后就会发生这种情况。

让我找到解决方案的一个方面是,有时在启动过程中,我的 Alienware 15R3 会抱怨它找不到介质,即启动驱动器。我的 1TB 固态硬盘驱动器上双启动 Windows 10 和 Ubuntu 18.04.1。因此,在启动过程中,我曾经两次收到“正在检查介质存在...”之类的消息,然后它会进入 Dell SupportAssist 模式。我曾经重新启动机器,然后它会再次检测到固态硬盘。这在我脑海中引发了一个想法,可能是我的固态硬盘驱动器松动了,因此 bios 无法检测到驱动器。

我按照 YouTube 教程操作后打开了笔记本电脑。移除 SSD 驱动器并清理该区域,然后重新插入。这样做之后,我再也没有遇到过 Ubuntu 挂断的问题。

因此,如果您在使用笔记本电脑时遇到挂起/冻结问题,并且有时在启动过程中收到“正在检查媒体存在...”之类的消息,则可能是您的 SSD 驱动器松动了,您需要将其正确放回原位并确保其牢固固定。希望这能对某些人有所帮助。

相关内容