Skip to content

iwlwifi BE200 probe fails with -22 (EINVAL) on kernel 6.18.33+rpt-rpi-2712 #7422

Open

Description

@noopduck

Describe the bug

Intel BE200 Wi-Fi 7 card fails to initialize on kernel 6.18.33+rpt-rpi-2712 with probe with driver iwlwifi failed with error -22. This is a regression — the card worked on 6.12.75+rpt-rpi-2712.
This issue has previously occurred when iwlwifi was dropped from the kernel config (see #6672). However in this case the module is present but probe fails with EINVAL, suggesting a PCI ID or config mismatch rather than a missing module.
Hardware

Board: Raspberry Pi 5
Wi-Fi card: Intel Wi-Fi 7 BE200 (PCI ID 8086:272b, rev 1a)
PCI address: 0001:01:00.0

Software

Broken kernel: 6.18.33+rpt-rpi-2712 (1:6.18.33-1+rpt1)
Last working kernel: 6.12.75+rpt-rpi-2712 (1:6.12.75-1+rpt1)

Steps to reproduce the behaviour

Install 6.18.33+rpt-rpi-2712 and connect Intel BE200 adapter on M2.key pihat.

Device (s)

Raspberry Pi 5

System

Raspberry PI 5

Raspberry Pi reference 2026-04-21
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 4ad56cc850fa60adcc7f07dc15879bc95cc1d281, stage4

ncmd version
2025/05/08 15:13:17
Copyright (c) 2012 Broadcom
version 69471177 (release) (embedded)

Logs

$ lspci | grep Intel
0001:01:00.0 Network controller: Intel Corporation Wi-Fi 7(802.11be) AX1775*/AX1790*/BE20*/BE401/BE1750* 2x2 (rev 1a)

$ dmesg -T | grep iwlwifi
[Mon Jun 8 21:49:00 2026] iwlwifi 0001:01:00.0: enabling device (0000 -> 0002)
[Mon Jun 8 21:49:00 2026] iwlwifi 0001:01:00.0: Detected crf-id 0x2001910, cnv-id 0x2001910 wfpm id 0x80000000
[Mon Jun 8 21:49:00 2026] iwlwifi 0001:01:00.0: PCI dev 272b/00f4, rev=0x472, rfid=0x112200
[Mon Jun 8 21:49:00 2026] iwlwifi 0001:01:00.0: probe with driver iwlwifi failed with error -22

Additional context

The card works correctly on 6.12.75+rpt-rpi-2712
No iwlwifi-related PRs were merged in the 6.18.33 or 6.18.34 bumps
Related previous issue: #6672 (iwlwifi dropped from config in 6.12)
rfid=0x112200 and rev=0x472 are logged but probe still fails — suggests possible missing or incorrect PCI ID entry for this hardware revision in the 6.18 driver

Activity

  1. BanditoB1 commented on Jun 8, 2026

    @BanditoB1

    I just wanted to second this issue. I am having this exact same issue running the latest version of RaspAP which uses this kernel.

  2. thewade commented on Jun 10, 2026

    @thewade
  3. thewade commented on Jun 10, 2026

    @thewade

    It seems as part of the change for MLO/MLD, the BE200 now requires CONFIG_IWLMLD as part of the kernel config.

    #if IS_ENABLED(CONFIG_IWLMLD)
    /* FM RF */
    IWL_DEV_INFO(iwl_rf_fm, iwl_be201_name, RF_TYPE(FM)),
    IWL_DEV_INFO(iwl_rf_fm, iwl_be401_name, RF_TYPE(FM), CDB),
    IWL_DEV_INFO(iwl_rf_fm, iwl_be200_name, RF_TYPE(FM),
    DEVICE(0x272B), DISCRETE),
    IWL_DEV_INFO(iwl_rf_fm_160mhz, iwl_be202_name,
    RF_TYPE(FM), BW_LIMITED),

    This was enabled in Debian here:
    https://salsa.debian.org/kernel-team/linux/-/commit/dc713012a790dd1b23cc6916b6f2ed60b04b0430

  4. BanditoB1 commented on Jun 10, 2026

    @BanditoB1

    @thewade Thanks for the update! Yes, I came across that same armbian report when I reran my query yesterday. It’s good to know that I’m not alone in this.

    Just so I’m clear, the CONFIG_IWLMLD lines that you’ve shown above should be inserted into the dev.c file at those specific line numbers?

    I haven’t compiled anything in years, but may just give this a go to get things working. It’s always fun to learn!

  5. thewade commented on Jun 10, 2026

    @thewade

    It is part of the config options used to build the kernel, it just needs to be enabled.

    If you want to give it a try see:
    https://www.raspberrypi.com/documentation/computers/linux_kernel.html#building

  6. pelwell commented on Jun 10, 2026

    @pelwell
    Contributor

    If you can wait half an hour I can get a trial build of the kernel with that option set.

  7. pelwell commented on Jun 10, 2026

    @pelwell
    Contributor

    The PR is here: #7430
    In about 25 minutes the auto-builds should have completed, meaning you will be able to install a trial build with sudo rpi-update pulls/7430, after reading the caveats.

  8. thewade commented on Jun 10, 2026

    @thewade

    @pelwell Thanks that was quicker then I could compile it myself!

    I loaded it, and it looks like the current firmware is not compatible with the updated kernel.

    pi@raspberrypi:~ $ uname -a
    Linux raspberrypi 6.18.35-v8-16k+ #1 SMP PREEMPT Wed Jun 10 19:33:13 UTC 2026 aarch64 GNU/Linux
    
    pi@raspberrypi:~ $ dmesg | grep iwlwifi
    [    3.350746] iwlwifi 0001:01:00.0: enabling device (0000 -> 0002)
    [    3.352830] iwlwifi 0001:01:00.0: Detected crf-id 0x2001910, cnv-id 0x2001910 wfpm id 0x80000000
    [    3.352912] iwlwifi 0001:01:00.0: PCI dev 272b/00f4, rev=0x472, rfid=0x112200
    [    3.352920] iwlwifi 0001:01:00.0: Detected Intel(R) Wi-Fi 7 BE200 320MHz
    [    3.353047] iwlwifi 0001:01:00.0: Direct firmware load for iwlwifi-gl-c0-fm-c0-c99.ucode failed with error -2
    [    3.353064] iwlwifi 0001:01:00.0: Direct firmware load for iwlwifi-gl-c0-fm-c0-101.ucode failed with error -2
    [    3.353077] iwlwifi 0001:01:00.0: Direct firmware load for iwlwifi-gl-c0-fm-c0-100.ucode failed with error -2
    [    3.353082] iwlwifi 0001:01:00.0: no suitable firmware found!
    [    3.353085] iwlwifi 0001:01:00.0: minimum version required: iwlwifi-gl-c0-fm-c0-100
    [    3.353088] iwlwifi 0001:01:00.0: maximum version supported: iwlwifi-gl-c0-fm-c0-c99
    [    3.353090] iwlwifi 0001:01:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
    

    Copying the latest drivers from the linux-firmware.git it is working again.

    pi@raspberrypi:~ $ dmesg | grep iwlwifi
    [    3.088400] iwlwifi 0001:01:00.0: enabling device (0000 -> 0002)
    [    3.093930] iwlwifi 0001:01:00.0: Detected crf-id 0x2001910, cnv-id 0x2001910 wfpm id 0x80000000
    [    3.094093] iwlwifi 0001:01:00.0: PCI dev 272b/00f4, rev=0x472, rfid=0x112200
    [    3.094562] iwlwifi 0001:01:00.0: Detected Intel(R) Wi-Fi 7 BE200 320MHz
    [    3.094704] iwlwifi 0001:01:00.0: Direct firmware load for iwlwifi-gl-c0-fm-c0-c99.ucode failed with error -2
    [    3.131552] iwlwifi 0001:01:00.0: loaded firmware version 101.6ef20b19.0 gl-c0-fm-c0-101.ucode op_mode iwlmld
    [    3.748584] iwlwifi 0001:01:00.0: Detected RF FM, rfid=0x112200
    

    Do you want a new issue opened for the missing files from linux-firmware?

  9. noopduck commented on Jun 10, 2026

    @noopduck
    Author
  10. thewade commented on Jun 10, 2026

    @thewade

    To just load missing file you can do the following:

    wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/iwlwifi/iwlwifi-gl-
    sudo cp iwlwifi-gl-c0-fm-c0-101.ucode /lib/firmware/
    sudo modprobe -r iwlwifi; sudo modprobe iwlwifi
    

    I am just curious how we resolve this for the linux-firmware package.

  11. BanditoB1 commented on Jun 11, 2026

    @BanditoB1

    @pelwell Thanks a bunch for this. The BE200 is working now and loads its drivers just fine.

    Now that it's working, I found out that under Linux and specifically RaspAP it can only be a WiFi AP on 2.4GHz. The BE200 locks out the 5 and 6GHz bands by default. Intel used to let you override this but has removed the override from the latest firmware/drivers for the card. (SIGH).

    One step forward and two steps back.

    Thanks again to both @Pewell and @thewade for your assistance with this!

  12. thewade commented on Jun 22, 2026

    @thewade

    I have opened RPi-Distro/firmware-nonfree#56 for the firmware-iwlwifi package issue.

  13. added a commit that references this issue on Jun 23, 2026
  14. added a commit that references this issue on Jul 13, 2026
  15. added a commit that references this issue on Jul 23, 2026
  16. added a commit that references this issue on Jul 25, 2026
  17. added a commit that references this issue on Aug 10, 2026
  18. added a commit that references this issue on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions