Message ID | f5c7eb4f-fd8d-457b-92c4-8957f70888b9@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Johannes Berg |
Headers | show |
Series | Regression "Direct Firmware loading for Intel Wi-Fi 6 AX201 (rev 30) QuZ-a0-hr-b0-77 failed" | expand |
Hi, Sorry, what, I'm confused. > it will not even try to load next working QuZ-a0-hr-b0-74.ucode That's intentional... We released -77 firmware for this device in 2022, a little over two years ago. We can't and won't support ancient firmware *forever*. We've already supported it for a very long time. > either direct loading or with included firmware in kernel > ("CONFIG_EXTRA_FIRMWARE="i915/tgl_dmc_ver2_12.bin intel/ibt-19-0-4.sfi intel/ibt-19-0-4.ddc iwlwifi-QuZ-a0-hr-b0-77.ucode" > caused kernel reboot) and that kernel 6.4.X could load > firmware direct or included. I have no idea what might be the issue here. Perhaps your kernel ends up too big for the way you're booting it? If you insist on booting without initramfs but with iwlwifi built-in, you need to debug and fix *this*. Or I guess you could always try probing/binding the driver again after the system really boots. > vanilla kernel from 6.11.9 log: > [ 1.903903] Intel(R) Wireless WiFi driver for Linux > [ 1.904006] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002) > [ 1.906832] iwlwifi 0000:00:14.3: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000 > [ 1.906890] iwlwifi 0000:00:14.3: PCI dev a0f0/0074, rev=0x351, rfid=0x10a100 > [ 1.906891] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz > ... > [ 1.907036] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-77.ucode failed with error -2 but I guess that's when you try to have wifi built-in and no firmware built-in johannes
Hi, I am telling you that *initial direct loading is broken*! Direct loading of v77 firmware, when ax201 is built in kernel is broken! This worked in kernel 6.4.x year ago. Proof to that is if I copy .77 to .76 and I use my patch *just to repeat direct loading* of next file, and 60 seconds later it actually loads v77 firmware that is named .76.ucode and this works. That also tell us that current firmware v77 is ok! Hope that that explains what problem is. I can debug more if needed, but I am not programmer and It would need substantial more time to find why initial direct loading fails and how to fix it. Kind Regards, Zoran On 11/22/24 09:36, Johannes Berg wrote: > Hi, > > Sorry, what, I'm confused. > >> it will not even try to load next working QuZ-a0-hr-b0-74.ucode > > That's intentional... We released -77 firmware for this device in 2022, > a little over two years ago. We can't and won't support ancient firmware > *forever*. We've already supported it for a very long time. > >> either direct loading or with included firmware in kernel >> ("CONFIG_EXTRA_FIRMWARE="i915/tgl_dmc_ver2_12.bin intel/ibt-19-0-4.sfi intel/ibt-19-0-4.ddc iwlwifi-QuZ-a0-hr-b0-77.ucode" >> caused kernel reboot) and that kernel 6.4.X could load >> firmware direct or included. > I have no idea what might be the issue here. Perhaps your kernel ends up > too big for the way you're booting it? If you insist on booting without > initramfs but with iwlwifi built-in, you need to debug and fix *this*. > Or I guess you could always try probing/binding the driver again after > the system really boots. > >> vanilla kernel from 6.11.9 log: >> [ 1.903903] Intel(R) Wireless WiFi driver for Linux >> [ 1.904006] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002) >> [ 1.906832] iwlwifi 0000:00:14.3: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000 >> [ 1.906890] iwlwifi 0000:00:14.3: PCI dev a0f0/0074, rev=0x351, rfid=0x10a100 >> [ 1.906891] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz >> ... >> [ 1.907036] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-77.ucode failed with error -2 > but I guess that's when you try to have wifi built-in and no firmware > built-in > > johannes
--- linux-6.11.7/drivers/net/wireless/intel/iwlwifi/cfg/22000.c 2024-11-08 16:31:04.000000000 +0100 +++ linux-6.11.5/drivers/net/wireless/intel/iwlwifi/cfg/22000.c 2024-10-28 06:46:16.690019923 +0100 @@ -13,7 +13,7 @@ #define IWL_22000_UCODE_API_MAX 77 /* Lowest firmware API version supported */ -#define IWL_22000_UCODE_API_MIN 77 +#define IWL_22000_UCODE_API_MIN 74 /* NVM versions */ #define IWL_22000_NVM_VERSION 0x0a1d @@ -426,3 +426,30 @@ MODULE_FIRMWARE(IWL_QUZ_A_HR_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); MODULE_FIRMWARE(IWL_QUZ_A_JF_B_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); MODULE_FIRMWARE(IWL_CC_A_MODULE_FIRMWARE(IWL_22000_UCODE_API_MAX)); + + + + + + + + + + + + + + + + + + + + + + + + + + +