You are not logged in.

#1 2021-04-24 07:09:39

outside_cobby
Member
Registered: 2021-04-05
Posts: 6

Linux firmware loads the incorrect iwlwifi ucode

Hello Everyone,

I am having issues with my wifi connection. My wifi drops sometimes for no reason and I have to manually restart netctl-auto. Sometimes I have to do multiple times and sometimes I have to do only once. Then again it can drop at any time. Below is the logs from `dmesg`

[94156.128281] iwlwifi 0000:03:00.0: Microcode SW error detected.  Restarting 0x2000000.
[94156.128507] iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
[94156.128508] iwlwifi 0000:03:00.0: Status: 0x00000040, count: 6
[94156.128510] iwlwifi 0000:03:00.0: Loaded firmware version: 29.4063824552.0 7265D-29.ucode
[94156.128512] iwlwifi 0000:03:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[94156.128513] iwlwifi 0000:03:00.0: 0x000002F0 | trm_hw_status0
[94156.128514] iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1
[94156.128515] iwlwifi 0000:03:00.0: 0x00043D6C | branchlink2
[94156.128516] iwlwifi 0000:03:00.0: 0x0004B002 | interruptlink1
[94156.128517] iwlwifi 0000:03:00.0: 0x0004B002 | interruptlink2
[94156.128518] iwlwifi 0000:03:00.0: 0x00000000 | data1
[94156.128519] iwlwifi 0000:03:00.0: 0x00000080 | data2
[94156.128520] iwlwifi 0000:03:00.0: 0x07030000 | data3
[94156.128521] iwlwifi 0000:03:00.0: 0x00000000 | beacon time
[94156.128522] iwlwifi 0000:03:00.0: 0x0083605B | tsf low
[94156.128523] iwlwifi 0000:03:00.0: 0x00000000 | tsf hi
[94156.128524] iwlwifi 0000:03:00.0: 0x00000000 | time gp1
[94156.128526] iwlwifi 0000:03:00.0: 0x0083605C | time gp2
[94156.128527] iwlwifi 0000:03:00.0: 0x00000001 | uCode revision type
[94156.128528] iwlwifi 0000:03:00.0: 0x0000001D | uCode version major
[94156.128529] iwlwifi 0000:03:00.0: 0xF2390AA8 | uCode version minor
[94156.128530] iwlwifi 0000:03:00.0: 0x00000210 | hw version
[94156.128531] iwlwifi 0000:03:00.0: 0x00489200 | board version
[94156.128532] iwlwifi 0000:03:00.0: 0x0026012C | hcmd
[94156.128533] iwlwifi 0000:03:00.0: 0x00022000 | isr0
[94156.128534] iwlwifi 0000:03:00.0: 0x00000000 | isr1
[94156.128535] iwlwifi 0000:03:00.0: 0x00000002 | isr2
[94156.128536] iwlwifi 0000:03:00.0: 0x004000C0 | isr3
[94156.128537] iwlwifi 0000:03:00.0: 0x00000000 | isr4
[94156.128538] iwlwifi 0000:03:00.0: 0x0026012C | last cmd Id
[94156.128539] iwlwifi 0000:03:00.0: 0x00000000 | wait_event
[94156.128540] iwlwifi 0000:03:00.0: 0x0000ACEE | l2p_control
[94156.128541] iwlwifi 0000:03:00.0: 0x00000000 | l2p_duration
[94156.128542] iwlwifi 0000:03:00.0: 0x00000000 | l2p_mhvalid
[94156.128543] iwlwifi 0000:03:00.0: 0x00000000 | l2p_addr_match
[94156.128544] iwlwifi 0000:03:00.0: 0x00000007 | lmpm_pmg_sel
[94156.128545] iwlwifi 0000:03:00.0: 0x03031934 | timestamp
[94156.128546] iwlwifi 0000:03:00.0: 0x00342838 | flow_handler
[94156.128700] iwlwifi 0000:03:00.0: Fseq Registers:
[94156.128751] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_ERROR_CODE
[94156.128802] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[94156.128852] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION
[94156.128902] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_OTP_VERSION
[94156.128907] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION
[94156.128957] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN
[94156.128962] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVI_ID
[94156.129012] iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVR_ID
[94156.129017] iwlwifi 0000:03:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP
[94156.129067] iwlwifi 0000:03:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP
[94156.129072] iwlwifi 0000:03:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[94156.129122] iwlwifi 0000:03:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[94156.129174] iwlwifi 0000:03:00.0: Collecting data: trigger 2 fired.
[94156.129178] ieee80211 phy0: Hardware restart was requested
[94156.270352] iwlwifi 0000:03:00.0: Applying debug destination EXTERNAL_DRAM
[94156.349538] iwlwifi 0000:03:00.0: Applying debug destination EXTERNAL_DRAM
[94156.350929] iwlwifi 0000:03:00.0: FW already configured (0) - re-configuring

I tried many suggestions given by others since this issue looks very common. But unfortunately nothing seems to solve this issue. Therefore I did more searching and I found out this support article from intel.com. This article is last reviewed on 02/10/2021 and it suggests that the ucode for my wireless device is iwlwifi-7265-ucode-25.30.14.0.tgz. I download this package and saw that it contains the iwlwifi-7265D-14.ucode. The current firmware used by my laptop is iwlwifi-7265D-29.ucode. So i decided to downgrade my ucode according to the support article. This doesn't work at all. When I check the `dmesg`, output is as follows

[   11.551110] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-29.ucode failed with error -2
[   11.616241] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-28.ucode failed with error -2
[   11.616275] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-27.ucode failed with error -2
[   11.616302] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-26.ucode failed with error -2
[   11.616328] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-25.ucode failed with error -2
[   11.616352] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2
[   11.616377] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2
[   11.616403] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-22.ucode failed with error -2
[   11.616405] iwlwifi 0000:03:00.0: no suitable firmware found!
[   11.616407] iwlwifi 0000:03:00.0: minimum version required: iwlwifi-7265D-22
[   11.616408] iwlwifi 0000:03:00.0: maximum version supported: iwlwifi-7265D-29
[   11.616409] iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

According to the `dmesg` output ucode iwlwifi-7265D-14 is out of range of minimum version and maximum version. I am no expert of the kernel but I cloned the project as suggested in the logs and I saw in the file WHENCE a list of ucodes but I don't see iwlwifi-7265D-14. Do you think that if I use the iwlwifi-7265D-14, this issue will be fixed or is there any way that I can make the kernel load iwlwifi-7265D-14?

Thanks.

My system info:
Lenovo Thinkpad X250
Network controller: Intel Corporation Wireless 7265 (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

linux kernel: 5.10.30-1-lts

Last edited by outside_cobby (2021-04-24 07:20:35)

Offline

#2 2021-04-24 11:41:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,571

Re: Linux firmware loads the incorrect iwlwifi ucode

"This table contains only the first official firmware version released, which is only guaranteed to work with the kernel version specified in the table. To get the latest version for newer kernels, use the firmware git tree instead."

It's not saying that you need 14, it's saying you need at least 14.

Online

#3 2021-04-24 12:26:14

outside_cobby
Member
Registered: 2021-04-05
Posts: 6

Re: Linux firmware loads the incorrect iwlwifi ucode

Thank you for pointing out. I missed it. Then again back to zero hope fixing my wifi.

Offline

#4 2021-10-04 09:07:36

adhisimon
Member
From: Indonesia
Registered: 2021-10-04
Posts: 1
Website

Re: Linux firmware loads the incorrect iwlwifi ucode

Hi, just for information and hope it will usefull, on my fedora (no tested on arch yet) laptop, I have make my IWLWIFI 7265D stable by downgrading to the firmware IWLWIFI-7265D-22. I remove firmware 29 and 27.

My laptop is Asus UX360UA

My wireless dev from lshw:

description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 59

Update: I've test this firmware downgrade on manjaro, and it run smooth and perfectly.

Last edited by adhisimon (2021-10-05 15:44:28)

Offline

Board footer

Powered by FluxBB