onyxnz
June 18, 2020, 9:59am
1
Anybody else having total lockups with Wifi, when running iwlwifi? Just tonight this started, with total lockup after about 5 minutes, regardless of DE, only when on Wifi.
The only thing I can find in my journal is this:
Jun 18 21:35:08 onyx-laptop kernel: Intel(R) Wireless WiFi driver for Linux
Jun 18 21:35:08 onyx-laptop kernel: Copyright(c) 2003- 2015 Intel Corporation
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: pci_enable_msi failed - -22
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 0
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 1
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 2
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 3
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 4
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 6
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 8
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 9
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 10
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 11
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 15
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 16
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 18
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 19
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 20
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: WRT: Overriding region id 21
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: Found debug configuration: 0
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: loaded firmware version 46.8902351f.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
Jun 18 21:35:08 onyx-laptop kernel: iwlwifi 0000:00:14.3: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
It may be a firmware issue.
lspci -k
dmesg | grep firmware
You could try a new firmware. This was just updated yesterday but like to see the output here first to see what Intel chip it is and what module it’s using.
The firmware for iwlwifi is here.
https://aur.archlinux.org/packages/linux-firmware-iwlwifi-git/
1 Like
onyxnz
June 18, 2020, 9:06pm
3
ricklinux:
lspci -k
lspci -k
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
DeviceName: Second VGA
Subsystem: ASUSTeK Computer Inc. Device 106f
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device
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: ASUSTeK Computer Inc. Device 1871
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 201f
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
Subsystem: Intel Corporation Device 7270
00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
DeviceName: WLAN
Subsystem: Intel Corporation Device 0034
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: ahci
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
Kernel driver in use: pcieport
00:1d.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #15 (rev f0)
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device a30d (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 1871
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 182e
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 1871
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
Subsystem: Intel Corporation Device 7270
Kernel driver in use: intel-spi
Kernel modules: intel_spi_pci
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
DeviceName: VGA
Subsystem: ASUSTeK Computer Inc. Device 106f
Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 106f
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)
Subsystem: Intel Corporation Device 390d
Kernel driver in use: nvme
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
DeviceName: GLAN
Subsystem: ASUSTeK Computer Inc. Device 208f
Kernel driver in use: r8168
Kernel modules: r8169, r8168
dmesg | grep firmware
[ 0.221976] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 3.025499] iwlwifi 0000:00:14.3: loaded firmware version 46.8902351f.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
[ 3.025828] iwlwifi 0000:00:14.3: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[ 3.293084] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 3.460518] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 3.467235] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[ 5.062733] Bluetooth: hci0: Waiting for firmware download to complete
Okay so this is a very new Intel Wifi chip
Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
It is using the iwlwifi module which is correct.
firmware version 46.8902351f.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
I know there is an issue with the Jefferson Peak chip but i need to look some stuff up.
Edit: I’ll be back hopefully with some info.
1 Like
Do you have encrypted connection turned off? Maybe that is the issue. Instability!
sudo nano /etc/modprobe.d/iwlwifi.conf
and add:
options iwlwifi 11n_disable=1 swcrypto=1
may help
Edit: If this doesn’t work maybe you could try the updated firmware.
1 Like
onyxnz
June 18, 2020, 9:51pm
6
Didn’t work; did as you said, rebooted, enable wifi, open terminal to ping google.com ,and got through 8 ping responses before total lockup.
Now that linux-firmware-iwlwifi-git is older than the linux-firmware I have installed ( 20200519.8ba6fa6-1 which also brings in a bunch of other firmwares)…should I be replacing one for the other?
I’m not really sure on that maybe you ought to leave that.
1 Like
onyxnz
June 18, 2020, 9:54pm
8
Thanks for the help anyway, @ricklinux !
Does it lock up the whole computer? How do you get out of it?
onyxnz
June 18, 2020, 9:57pm
10
Yeh, solid lock. Power off is only exit.
BONK
June 18, 2020, 9:58pm
11
Return inxi -Fxxxza --no-host
please
onyxnz
June 18, 2020, 9:59pm
12
BONK:
inxi -Fxxxza --no-host
inxi -Fxxxza --no-host
System:
Kernel: 5.7.2-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-linux
root=UUID=f8efb776-67bd-41b7-8486-6832a051203f rw quiet irqpoll loglevel=3
pci=nomsi,noaer
Desktop: Cinnamon 4.6.3 dm: LightDM 1.30.0 Distro: EndeavourOS
Machine:
Type: Laptop System: ASUSTeK product: ROG Strix G531GT_G531GT v: 1.0
serial: <filter>
Mobo: ASUSTeK model: G531GT v: 1.0 serial: <filter>
UEFI: American Megatrends v: G531GT.306 date: 03/11/2020
Battery:
ID-1: BAT0 charge: 47.2 Wh condition: 47.2/50.5 Wh (93%) volts: 12.5/12.5
model: ASUSTeK ASUS Battery type: Li-ion serial: <filter>
status: Not charging
CPU:
Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP
arch: Kaby Lake family: 6 model-id: 9E (158) stepping: A (10)
microcode: D6 L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 62431
Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800
3: 802 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel UHD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: ASUSTeK
driver: N/A bus ID: 01:00.0 chip ID: 10de:1f91
Display: x11 server: X.Org 1.20.8 driver: modesetting display ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142
size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.1
direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 00:1f.3 chip ID: 8086:a348
Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus ID: 01:00.1 chip ID: 10de:10fa
Sound Server: ALSA v: k5.7.2-arch1-1
Network:
Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi
v: kernel port: 5000 bus ID: 00:14.3 chip ID: 8086:a370
IF: wlan0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8168 v: 8.048.02-NAPI port: 3000 bus ID: 03:00.0
chip ID: 10ec:8168
IF: eno2 state: up speed: 100 Mbps duplex: full mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Drives:
Local Storage: total: 2.29 TiB used: 869.93 GiB (37.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
serial: <filter> rev: 002C scheme: GPT
ID-2: /dev/sda vendor: Crucial model: CT2000MX500SSD1 size: 1.82 TiB
block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
serial: <filter> rev: 023 scheme: GPT
Partition:
ID-1: / raw size: 376.44 GiB size: 369.53 GiB (98.16%)
used: 114.75 GiB (31.1%) fs: ext4 dev: /dev/nvme0n1p5
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 48.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2900
Info:
Processes: 312 Uptime: 20m Memory: 31.22 GiB used: 2.93 GiB (9.4%)
Init: systemd v: 245 Compilers: gcc: 10.1.0 clang: 10.0.0 Shell: bash
v: 5.0.17 running in: tilix inxi: 3.1.03
You have the latest firmware installed. I think i would go back one to the previous version. This is the previous version.
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/
iwlwifi-9000-pu-b0-jf-b0-43.ucode
You have iwlwifi-9000-pu-b0-jf-b0-46.ucode
Edit: Do you know how to do that?
1 Like
onyxnz
June 18, 2020, 11:06pm
14
sudo pacman -U /var/cache/pacman/pkg/intel-ucode-20200609-1-any.pkg.tar.zst
loading packages...
warning: downgrading package intel-ucode (20200616-1 => 20200609-1)
resolving dependencies...
looking for conflicting packages...
Packages (1) intel-ucode-20200609-1
Total Installed Size: 3.02 MiB
Net Upgrade Size: 0.01 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [---------------------------------------------------] 100%
(1/1) checking package integrity [---------------------------------------------------] 100%
(1/1) loading package files [---------------------------------------------------] 100%
(1/1) checking for file conflicts [---------------------------------------------------] 100%
(1/1) checking available disk space [---------------------------------------------------] 100%
:: Processing package changes...
(1/1) downgrading intel-ucode [---------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Inform user to reboot after certain system package upgrades.
Rebooting now…
onyxnz
June 18, 2020, 11:12pm
15
And that is the fix!
Also, for any other poor slobs trying to get a handle on this, you will need to add:
IgnorePkg =intel-ucode
to /etc/pacman.conf after this, so that there is no automated updating back to the broken firmware.
EDIT: Bugger… it lasted longer, but locked up straight after being able to post this !!!
So it is caused by an updated Intel-Ucode? Did you find some other info on it?
Edit: I think you misunderstood me. The intel-ucode is related to the cpu for boot up process and security. What i was referring to was the iwlwifi firmware for your wireless chip. The previous version is actually in /lib/firmware. You just have to get it to use that one?
onyxnz
June 18, 2020, 11:17pm
17
Going to try a further roll back…
onyxnz
June 18, 2020, 11:28pm
18
So my dmesg is being spammed by this
[ 68.683236] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
Which leads me to this:
https://bugzilla.kernel.org/show_bug.cgi?id=203593
Something to do with firmware versus access point?
At this stage intel-ucode 20200520 is working, for longer than anything else has…
onyxnz
June 18, 2020, 11:33pm
19
OH I C…so I am playing with the wrong file…so if I have the old firmware in place in /lib/firmware, then how do I tell it to use that rather than the new one?
This is happening with the current iwlwifi firmware which is iwlwifi-9000-pu-b0-jf-b0-46.ucode
You need to try the previous firmware which is iwlwifi-9000-pu-b0-jf-b0-43.ucode
It is on the system in the /lib/firmware folder.
I’m not entirely sure how to make the change .