If I boot my laptop without a power source or unplug power source wi-fi doesn’t work.
dmesg:
[ 43.393011] iwlwifi 0000:02:00.0: iwlwifi transaction failed, dumping registers
[ 43.393014] iwlwifi 0000:02:00.0: iwlwifi device config registers:
[ 43.393131] iwlwifi 0000:02:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393136] iwlwifi 0000:02:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393140] iwlwifi 0000:02:00.0: 00000040: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393144] iwlwifi 0000:02:00.0: 00000060: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393147] iwlwifi 0000:02:00.0: 00000080: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393151] iwlwifi 0000:02:00.0: 000000a0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393155] iwlwifi 0000:02:00.0: 000000c0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393159] iwlwifi 0000:02:00.0: 000000e0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393163] iwlwifi 0000:02:00.0: 00000100: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393167] iwlwifi 0000:02:00.0: 00000120: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393171] iwlwifi 0000:02:00.0: 00000140: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393174] iwlwifi 0000:02:00.0: iwlwifi device memory mapped registers:
[ 43.393197] iwlwifi 0000:02:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393201] iwlwifi 0000:02:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 43.393563] iwlwifi 0000:02:00.0: iwlwifi parent port (0000:00:1c.4) config registers:
[ 43.393703] iwlwifi 0000:00:1c.4: 00000000: 9d148086 00100407 060400f1 00810010 00000000 00000000 00020200 200000f0
[ 43.393707] iwlwifi 0000:00:1c.4: 00000020: df20df20 0001fff1 00000000 00000000 00000000 00000040 00000000 0012010b
[ 43.393712] iwlwifi 0000:00:1c.4: 00000040: 01428010 00008001 0010000f 05724c13 50110042 0044b200 01480000 00000008
[ 43.393716] iwlwifi 0000:00:1c.4: 00000060: 00000000 00000837 00000000 0000000e 00010003 00000000 00000000 00000000
[ 43.393720] iwlwifi 0000:00:1c.4: 00000080: 00019005 fee00238 00000000 00000000 0000a00d 72708086 00000000 00000000
[ 43.393724] iwlwifi 0000:00:1c.4: 000000a0: c8030001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 43.393728] iwlwifi 0000:00:1c.4: 000000c0: 00000000 00000000 00000000 00000000 07001001 00001842 099e0008 00000000
[ 43.393733] iwlwifi 0000:00:1c.4: 000000e0: 00f3f700 88aa88aa 00128006 00000000 00000150 40000300 08410fb3 01000004
[ 43.393737] iwlwifi 0000:00:1c.4: 00000100: 14010001 00000000 00010000 00060011 00000000 00002000 00000000 00000000
[ 43.393741] iwlwifi 0000:00:1c.4: 00000120: 00000000 00000000 00000000 00000007 00000000 000000e4 00000000 00000000
[ 43.393745] iwlwifi 0000:00:1c.4: 00000140: 2001000d 0000000f 00000000 00000000 00000000 00000000 00000000 00000000
[ 43.393749] iwlwifi 0000:00:1c.4: 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 43.393752] iwlwifi 0000:00:1c.4: 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 43.393756] iwlwifi 0000:00:1c.4: 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 43.393760] iwlwifi 0000:00:1c.4: 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 43.393764] iwlwifi 0000:00:1c.4: 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 43.393767] iwlwifi 0000:00:1c.4: 00000200: 2201001e 00b0281f 6003280f
[ 43.393770] iwlwifi 0000:02:00.0: iwlwifi root port (0000:00:1c.4) AER cap structure:
[ 43.393784] iwlwifi 0000:00:1c.4: 00000000: 14010001 00000000 00010000 00060011 00000000 00002000 00000000 00000000
[ 43.393788] iwlwifi 0000:00:1c.4: 00000020: 00000000 00000000 00000000 00000007 00000000 000000e4
[ 43.463205] iwlwifi 0000:02:00.0: Queue 11 is active on fifo 2 and stuck for 10000 ms. SW [162, 50] HW [90, 90] FH TRB=0x05a5a5a5a
[ 43.508794] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[ 43.508848] iwlwifi 0000:02:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
[ 43.508850] iwlwifi 0000:02:00.0: Scan failed! ret -5
[ 44.024418] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[ 44.024454] iwlwifi 0000:02:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 44.532519] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[ 44.532561] iwlwifi 0000:02:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
[ 44.532565] iwlwifi 0000:02:00.0: Scan failed! ret -5
iw dev
phy#0
Unnamed/non-netdev interface
wdev 0x2
addr e8:84:a5:81:d6:25
type P2P-device
txpower 0.00 dBm
Interface wlp2s0
ifindex 3
wdev 0x1
addr e8:84:a5:81:d6:25
ssid MGTS_GPON_7F2E
type managed
channel 7 (2442 MHz), width: 40 MHz, center1: 2432 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
rfkill list ✔
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
lspci -k | grep Intel ✔
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
Subsystem: Intel Corporation Device 2015
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
Subsystem: Intel Corporation Device 2112
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
Subsystem: Intel Corporation Device 2015
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
Subsystem: Intel Corporation Device 7270
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
Subsystem: Intel Corporation Device 7270
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
Subsystem: Intel Corporation Device 1999
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
Subsystem: Intel Corporation Device 7270
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
Subsystem: Intel Corporation Device 7270
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
Subsystem: Intel Corporation Device 7270
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Intel Corporation Device 7270
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
Subsystem: Intel Corporation Device 7270
02:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
Subsystem: Intel Corporation Dual Band Wireless AC 3165
sudo iw dev wlp2s0 scan
command failed: Input/output error (-5)
If I try to restart the interface via ip link
command after starting the interface I get:
RTNETLINK answers: Input/output error
And wifi option disappears from gnome settings.
I tried:
- Install iwconfig and run
sudo iwconfig wlan0 power off
- Create fille /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
- Install
linux-firmware-iwlwifi-git
aur package.
- update:
If I unplug the power source:
Failed to wake NIC for hcmd
[ 75.024850] iwlwifi 0000:02:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
Today I’ve googled any info about this post in dmesg. And now I can make a conclusion:
This problem appears at least in the duration of 7-8 years on different Linux OS, on different desktop environments, and different kernels. It looks like is a Linux bug on some Intel wireless controllers. I am not a pro in Linux. What is the best way to solve this problem? Maybe is there any general Linux bug tracker?
** update
Also I tried create /etc/modprobe.d/iwlmvm.conf . No changes.