Bug 210305

Summary: Unable to load firmware file iwlwifi-cc-a0-56.ucode
Product: Drivers Reporter: Alain Nussbaumer (alain.nussbaumer)
Component: network-wireless-intelAssignee: Alain Nussbaumer (alain.nussbaumer)
Status: RESOLVED DOCUMENTED    
Severity: normal CC: aros, golan.ben.ami, youling257
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.9.9-1001.native Subsystem:
Regression: No Bisected commit-id:

Description Alain Nussbaumer 2020-11-22 17:15:01 UTC
Dear All,
When booting, I get the following error in the logs:

iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-cc-a0-56.ucode failed with error -2

Current situation
The error is reported in the logs, but the WiFi network card works properly.
The device falls back to the wlwifi-cc-a0-55.ucode firmware.
The firmware file does not exist in the /usr/lib/firmware/ directory.

Expected situation
The correct firmware is downloaded.
There is no error in the logs.

Remarks
I could not find any firmware named iwlwifi-cc-a0-56.ucode at this address:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/

Could it be a mistake or typo in the file name iwlwifi-cc-a0-56.ucode instead of iwlwifi-cc-a0-59.ucode or vice versa?

Thanks for your help.

Messages related to iwlwifi from dmesg:

[    1.253547] calling  iwl_drv_init+0x0/0x1000 [iwlwifi] @ 261
[    1.253581] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[    1.261645] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-cc-a0-56.ucode failed with error -2
[    1.261819] initcall iwl_drv_init+0x0/0x1000 [iwlwifi] returned 0 after 2709 usecs
[    1.265339] iwlwifi 0000:02:00.0: api flags index 2 larger than supported by driver
[    1.265347] iwlwifi 0000:02:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.22
[    1.265348] iwlwifi 0000:02:00.0: Found debug destination: EXTERNAL_DRAM
[    1.265349] iwlwifi 0000:02:00.0: Found debug configuration: 0
[    1.265507] iwlwifi 0000:02:00.0: loaded firmware version 55.d9698065.0 cc-a0-55.ucode op_mode iwlmvm
[    1.278476] calling  iwl_mvm_init+0x0/0x1000 [iwlmvm] @ 304
[    1.278487] iwlwifi 0000:02:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[    1.451522] iwlwifi 0000:02:00.0: base HW address: 14:f6:d8:83:40:69
[    1.464383] initcall iwl_mvm_init+0x0/0x1000 [iwlmvm] returned 0 after 144906 usecs
[    1.466008] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
Comment 1 Golan Ben Ami 2020-11-23 07:57:59 UTC
Hi,
We have skipped releasing iwlwifi-cc-a0-56.ucode fw upstream, and the next fw release is as you wrote iwlwifi-cc-a0-59.ucode, which will be relevant for 5.10.
The error message you are seeing is the standard print indicating you don't have the fw file, as you mentioned.
Comment 2 Golan Ben Ami 2020-11-23 07:59:11 UTC
Please share if you have anymore questions/problems and if not, let's close this ticket.
Comment 3 Alain Nussbaumer 2020-11-23 19:00:27 UTC
Thanks Golan for confirming. Do you know where I could find this iwlwifi-cc-a0-56.ucode file?
I couldn't find it on Intel website.
Comment 4 Golan Ben Ami 2020-11-23 19:13:57 UTC
Hi Alain,
iwlwifi-cc-a0-56.ucode was not released at all.
the next released fw is iwlwifi-cc-a0-59.ucode.
Comment 5 Alain Nussbaumer 2020-11-25 17:48:32 UTC
OK. Thanks Golan. All good for me.
I'm just wondering how a version that is not released can be referenced at all.
I must concede that I don't know the release process of these firmware and how it is bound to the kernel.
Thanks a lot for your speedy reply.
Comment 6 youling257 2021-01-02 17:26:54 UTC
(In reply to Golan Ben Ami from comment #1)
> Hi,
> We have skipped releasing iwlwifi-cc-a0-56.ucode fw upstream, and the next
> fw release is as you wrote iwlwifi-cc-a0-59.ucode, which will be relevant
> for 5.10.
> The error message you are seeing is the standard print indicating you don't
> have the fw file, as you mentioned.

cc-a0-59.ucode firmware has bad upload speed on my ax200 !

[    7.714689] iwlwifi 0000:07:00.0: enabling device (0000 -> 0002)
[    7.717245] iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver
[    7.717319] iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.22
[    7.717727] iwlwifi 0000:07:00.0: loaded firmware version 59.601f3a66.0 cc-a0-59.ucode op_mode iwlmvm


[  270.334804] iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver
[  270.334961] iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.22
[  270.334978] iwlwifi 0000:07:00.0: Found debug destination: EXTERNAL_DRAM
[  270.334980] iwlwifi 0000:07:00.0: Found debug configuration: 0
[  270.335763] iwlwifi 0000:07:00.0: loaded firmware version 55.d9698065.0 cc-a0-55.ucode op_mode iwlmvm
[  270.335880] iwlwifi 0000:07:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2

cc-a0-55.ucode has good upload speed on my ax200.