Добрый вечер.
Некоторое время назад заметил, что соединение устанавливается ровно со второй попытки: стартует система, запускается окружение, сети нет (пытается подключиться); далее секунд через 40 сообщение, что соединение отключено, затем тут же — соединение установлено. Далее всё без каких-либо проблем.
$ lspci | grep net
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
Пытался смотреть, что происходит во время загрузки. Ошибки относятся, как я понял, как раз к wifi-модулю.
$ dmesg | grep 'ath\|wlp\|pcieport'
[ 0.971875] pcieport 0000:00:1c.0: Signaling PME with IRQ 120
[ 0.972094] pcieport 0000:00:1c.4: Signaling PME with IRQ 121
[ 0.972277] pcieport 0000:00:1c.5: Signaling PME with IRQ 122
[ 0.972464] pcieport 0000:00:1d.0: Signaling PME with IRQ 123
[ 4.111508] ath10k_pci 0000:03:00.0: enabling device (0000 -> 0002)
[ 4.112567] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 4.264424] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:00:1c.5
[ 4.264436] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.264441] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000081/00002000
[ 4.264445] pcieport 0000:00:1c.5: [ 0] RxErr
[ 4.264449] pcieport 0000:00:1c.5: [ 7] BadDLLP
[ 4.300242] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:00:1c.5
[ 4.300250] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 4.300253] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 4.300259] pcieport 0000:00:1c.5: [ 0] RxErr
[ 4.300265] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[ 4.300271] pcieport 0000:00:1c.5: can't find device of ID00e5
[ 4.479637] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1028:1810
[ 4.479638] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 4.480100] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[ 4.557602] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[ 4.634779] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 4.653555] ath10k_pci 0000:03:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 4.746382] ath: EEPROM regdomain: 0x6c
[ 4.746384] ath: EEPROM indicates we should expect a direct regpair map
[ 4.746385] ath: Country alpha2 being used: 00
[ 4.746386] ath: Regpair used: 0x6c
[ 4.778721] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[ 6.272128] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:00:1c.5
[ 6.272135] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 6.272138] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00002081/00002000
[ 6.272139] pcieport 0000:00:1c.5: [ 0] RxErr
[ 6.272140] pcieport 0000:00:1c.5: [ 7] BadDLLP
[ 6.313720] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:00:1c.5
[ 6.313727] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 6.313729] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 6.313730] pcieport 0000:00:1c.5: [ 0] RxErr
[ 6.509785] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 43.857869] wlp3s0: authenticate with 00:0e:8f:f9:ac:96
[ 43.893045] wlp3s0: send auth to 00:0e:8f:f9:ac:96 (try 1/3)
[ 43.898180] wlp3s0: authenticated
[ 43.899931] wlp3s0: associate with 00:0e:8f:f9:ac:96 (try 1/3)
[ 43.906932] wlp3s0: RX AssocResp from 00:0e:8f:f9:ac:96 (capab=0x411 status=0 aid=3)
[ 43.909429] wlp3s0: associated
[ 43.956177] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
$ hwinfo --wlan
01: PCI 300.0: 0282 WLAN controller
[Created at pci.378]
Unique ID: hAO_.DQxoVujSaB0
Parent ID: HnsE.FoqTruHsK23
SysFS ID: /devices/pci0000:00/0000:00:1c.5/0000:03:00.0
SysFS BusID: 0000:03:00.0
Hardware Class: network
Model: "Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter"
Vendor: pci 0x168c "Qualcomm Atheros"
Device: pci 0x0042 "QCA9377 802.11ac Wireless Network Adapter"
SubVendor: pci 0x1028 "Dell"
SubDevice: pci 0x1810
Revision: 0x31
Driver: "ath10k_pci"
Driver Modules: "ath10k_pci"
Device File: wlp3s0
Features: WLAN
Memory Range: 0xd2000000-0xd21fffff (rw,non-prefetchable)
IRQ: 139 (no events)
HW Address: b0:52:16:86:6a:57
Permanent HW Address: b0:52:16:86:6a:57
Link detected: yes
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: "pci:v0000168Cd00000042sv00001028sd00001810bc02sc80i00"
Driver Info #0:
Driver Status: ath10k_pci is active
Driver Activation Cmd: "modprobe ath10k_pci"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #8 (PCI bridge)
Это после обновления ядра до 5.0, с 4.15 было примерно то же, но на подряд на 4 и 44 секундах три сообщения «ADDRCONF(NETDEV_UP): wlp3s0: link is not ready», и тоже всё подключалось.
Пробовал отключать энергосбережение
pcie_aspm=off
Ранбше, вроде бы, такого не было.
Что ещё можно посмотреть?