Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730718 - sys-kernel/linux-firmware-20200619 breaks loading the firmware for iwlwifi if using 02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
Summary: sys-kernel/linux-firmware-20200619 breaks loading the firmware for iwlwifi if...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-04 13:24 UTC by Robert Meyer
Modified: 2022-02-18 12:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Meyer 2020-07-04 13:24:56 UTC
sys-kernel/linux-firmware-20200619 prevented iwlwifi to load the firmware for Network controller: Intel Corporation Centrino Advanced-N 6200. After upgrading the firmware to linux-firmware-20200619, iwlwifi failed to load the firmware. Downgrading the firmware solved the problem.

Reproducible: Always

Steps to Reproduce:
1. upgrade firmware to linux-firmware-20200619.
2. reboot
3. check logs
Actual Results:  
This is, what I saw after the firmware upgrade in the logs:
Jul  4 10:28:10 meriadoc kernel: [    3.916301] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
Jul  4 10:28:10 meriadoc kernel: [    3.920861] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-6000-6.ucode failed with error -2
Jul  4 10:28:10 meriadoc kernel: [    3.921023] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-6000-5.ucode failed with error -2
Jul  4 10:28:10 meriadoc kernel: [    3.924365] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
Jul  4 10:28:10 meriadoc kernel: [    3.938154] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
Jul  4 10:28:10 meriadoc kernel: [    3.938157] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
Jul  4 10:28:10 meriadoc kernel: [    3.938158] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
Jul  4 10:28:10 meriadoc kernel: [    3.938160] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74

I was not able to configure wireless.

Expected Results:  
This is, what the logs show after the downgrade:
Jul  4 15:00:49 meriadoc kernel: [ 1850.014713] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
Jul  4 15:00:49 meriadoc kernel: [ 1850.015319] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-6000-6.ucode failed with error -2
Jul  4 15:00:49 meriadoc kernel: [ 1850.015346] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-6000-5.ucode failed with error -2
Jul  4 15:00:49 meriadoc kernel: [ 1850.015693] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
Jul  4 15:00:49 meriadoc kernel: [ 1850.019248] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
Jul  4 15:00:49 meriadoc kernel: [ 1850.019250] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
Jul  4 15:00:49 meriadoc kernel: [ 1850.019252] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
Jul  4 15:00:49 meriadoc kernel: [ 1850.019253] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
Jul  4 15:00:49 meriadoc kernel: [ 1850.055353] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
Jul  4 15:00:49 meriadoc kernel: [ 1850.283147] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1


meyer@meriadoc /var/log $ uname -a
Linux meriadoc 5.4.48-gentoo #1 SMP Thu Jul 2 11:50:21 CEST 2020 x86_64 Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz GenuineIntel GNU/Linux

meyer@meriadoc /var/log $ grep -i iwl /usr/src/linux/.config
CONFIG_IWLEGACY=m
# CONFIG_IWL4965 is not set
CONFIG_IWL3945=m
# iwl3945 / iwl4965 Debugging Options
# CONFIG_IWLEGACY_DEBUG is not set
# end of iwl3945 / iwl4965 Debugging Options
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
# CONFIG_IWLWIFI_DEBUG is not set
# CONFIG_IWLWIFI_DEVICE_TRACING is not set
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-07-05 21:50:30 UTC
Downgrading to what version? Also, you log output is showing same version (9.221.4.1 build 25532)...
Comment 2 Robert Meyer 2020-07-06 04:08:00 UTC
The working version is sys-kernel/linux-firmware-20200519. What I did to resolve the problem, is masking >=sys-kernel/linux-firmware-20200619:
the meyer@meriadoc ~ $ grep firmware /etc/portage/package.mask 
>=sys-kernel/linux-firmware-20200619
Comment 3 gentoo-bugzilla 2020-07-21 16:49:59 UTC
Not sure if this is related, but I experienced severe instability of WiFi connections (frequent random beacon losses despite all other devices staying connected) with this version of linux-firmware (kernel 5.4.48-gentoo, Intel Corporation Wireless 8265 / 8275 (rev 78)).

While this is not the same device, it does also use iwlwifi.

Downgrading to 20200519 seems to have solved the issue. Haven't seen a single message regarding beacon loss since then.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-07-21 16:52:50 UTC
Please report any problem regarding firmware itself upstream. We can't do anything for you. We only provide a package containing the firmware... sorry.
Comment 5 Mike Pagano gentoo-dev 2022-02-18 12:47:31 UTC
Resolving this as upstream. Please report upstream as advised if this is still an issue but this bug over 1.5 years old.