Intel Wi-Fi 6E AX210 160MHz Driver Error

I believe the driver for this NIC should work out of the box (it does on other distros), but for some reason I can't for the life of me get it to work here.

I've already tried downloading the official driver from intel and copying to /lib/firmware and rebooting.

I've also tried doing
sudo apt install linux-modules-extra-5.11.0-27-generic
But it says I already have the newest version.

Finally, I've tried
sudo apt install --reinstall linux-generic
I see an error:
Error! The /var/lib/dkms/backport-iwlwifi/8324/5.4.0-81-generic/x86_64/dkms.conf for module backport-iwlwifi includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built."

I'm thinking this has something to do with my problem. But is this something I can fix, and if so, how?

1 Like

It's the kernel:

  • 5.10 - Basic support
  • 5.11 - Regression in support, not recommended
  • 5.12 - Should work smoothly, currently recommended
  • 5.13.4 - Regression on Bluetooth, not recommended

https://bugzilla.kernel.org/show_bug.cgi?id=213829

Talk about some back and forth!
But you may try a signed mainline 5.12 kernel and see if that gets you up and working.

1 Like

@Aravisian Thanks for the input! How can I update to 5.12? I've tried looking through system updates butu there are no updates found (hooked into ethernet). I've also tried sudo apt-get dist-upgrade.
How can I do as you suggested and "try a signed mainline 5.12 kernel"?

Certainly: here are the links that you need.
There are four links and four packages.
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12.3/amd64/linux-headers-5.12.3-051203-generic_5.12.3-051203.202105120733_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12.3/amd64/linux-image-unsigned-5.12.3-051203-generic_5.12.3-051203.202105120733_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12.3/amd64/linux-modules-5.12.3-051203-generic_5.12.3-051203.202105120733_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12.3/amd64/linux-headers-5.12.3-051203_5.12.3-051203.202105120733_all.deb
Save all four in your Downloads folder if there are no other .deb packages currently in your downloads folder (This is just to make it easier). If there are others, make a new folder and put them into that.
Once all four are saved, open a terminal (ctrl+alt+t) and change directory (cd) into the folder that these four packages are in. If they are in your Downloads folder then:

cd ~/Downloads

Then install all four at once:

sudo dpkg -i *.deb

@Aravisian Looks like there was a dependency error that prevented the installations from completing. Would you know how to mitigate this?
sudo dpkg -i *.deb
[sudo] password for chris:
Selecting previously unselected package linux-headers-5.12.3-051203.
(Reading database ... 277273 files and directories currently installed.)
Preparing to unpack linux-headers-5.12.3-051203_5.12.3-051203.202105120733_all.deb ...
Unpacking linux-headers-5.12.3-051203 (5.12.3-051203.202105120733) ...
Selecting previously unselected package linux-headers-5.12.3-051203-generic.
Preparing to unpack linux-headers-5.12.3-051203-generic_5.12.3-051203.202105120733_amd64.deb ...
Unpacking linux-headers-5.12.3-051203-generic (5.12.3-051203.202105120733) ...
Selecting previously unselected package linux-image-unsigned-5.12.3-051203-generic.
Preparing to unpack linux-image-unsigned-5.12.3-051203-generic_5.12.3-051203.202105120733_amd64.deb ...
Unpacking linux-image-unsigned-5.12.3-051203-generic (5.12.3-051203.202105120733) ...
Selecting previously unselected package linux-modules-5.12.3-051203-generic.
Preparing to unpack linux-modules-5.12.3-051203-generic_5.12.3-051203.202105120733_amd64.deb ...
Unpacking linux-modules-5.12.3-051203-generic (5.12.3-051203.202105120733) ...
Setting up linux-headers-5.12.3-051203 (5.12.3-051203.202105120733) ...
dpkg: dependency problems prevent configuration of linux-headers-5.12.3-051203-generic:
linux-headers-5.12.3-051203-generic depends on libc6 (>= 2.33); however: Version of libc6:amd64 on system is 2.31-0ubuntu9.2.

dpkg: error processing package linux-headers-5.12.3-051203-generic (--install): dependency problems - leaving unconfigured
Setting up linux-image-unsigned-5.12.3-051203-generic (5.12.3-051203.202105120733) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-81-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-81-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.12.3-051203-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.12.3-051203-generic
Setting up linux-modules-5.12.3-051203-generic (5.12.3-051203.202105120733) ...
Processing triggers for linux-image-unsigned-5.12.3-051203-generic (5.12.3-051203.202105120733) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.12.3-051203-generic
Error! The /var/lib/dkms/backport-iwlwifi/8324/5.12.3-051203-generic/x86_64/dkms.conf for module backport-iwlwifi includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built.

Kernel preparation unnecessary for this kernel.  Skipping...
applying patch disable_fstack-clash-protection_fcf-protection.patch...patching file Kbuild
Hunk #1 succeeded at 82 (offset 11 lines).


Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.12.3-051203-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.12.3-051203-generic/build LD=/usr/bin/ld.bfd modules......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.12.3-051203-generic (x86_64)
Consult /var/lib/dkms/nvidia/470.57.02/build/make.log for more information.
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.12.3-051203-generic
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/renoir_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/oland_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/pitcairn_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/verde_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/tahiti_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_dmcu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_dmcub.bin for module amdgpu
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.12.3-051203-generic
Found initrd image: /boot/initrd.img-5.12.3-051203-generic
Found linux image: /boot/vmlinuz-5.11.0-27-generic
Found initrd image: /boot/initrd.img-5.11.0-27-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Adding boot menu entry for UEFI Firmware Settings
done
Errors were encountered while processing:
 linux-headers-5.12.3-051203-generic`

Figures.

:face_with_symbols_over_mouth:

Let me research this in a bit... Trying to install the later libc6 may cause other issues.

It seems the libc6 dependency has to do with the compiler, not the running if the kernel itself. Try this:

sudo add-apt-repository ppa:tuxinvader/lts-mainline

sudo apt install linux-image-unsigned-5.12.4-051204-generic linux-modules-5.12.4-051204-generic linux-headers-5.12.4-051204-generic

IMPORTANT! Ensure the Proper Spacing Between Each package. I have an add on in my terminal that does that... but without it, I would backspace the spaces, then space again, just to be sure. Copy and paste can do funny things sometimes.

@Aravisian I really appreciate your help! And sorry for the messy post! I have edited it since.

I know this is irrelevant, but I am using the 2021 Blade 14 with the 3070 2k@165hz configuration. I've had one hell of a hard time installing other distros on it. Manjaro KDE is buggy as hell on it (all the drivers work though), Kubuntu barely boots into the installer and both "Try" and "Install" lead to the laptop rebooting and thus exiting the process. I'm assuming it's because the video out is tied directly to the GPU and the Kubuntu installer doesn't have the option to load with nvidia proprietary drivers.
I've always loved Zorin and at the moment it's the only distro I've tried out of the 3 that hasn't had any major issues, except for this one which is critical for me lol.

1 Like

So I tried what you suggested, but it looks like it can't find the 5.12.4. HOWEVER, there is a 5.12.3-051203-generic that it sees. Shall I try that instead?

1 Like

You get used to reading them. :wink: The necessary information was all there.

Hopefully... the above will help. Once you get to where you can see if that works, we can look at Locking the Kernel so that it does not update to prevent your wifi going out after a a system update.
If the above works.

Go for it.

Back to those unmet dependencies lol
sudo apt install linux-image-unsigned-5.12.3-051203-generic linux-modules-5.12.3-051203-generic linux-headers-5.12.3-051203-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-5.12.3-051203-generic is already the newest version (5.12.3-051203.202105120733).
linux-image-unsigned-5.12.3-051203-generic is already the newest version (5.12.3-051203.202105120733).
linux-modules-5.12.3-051203-generic is already the newest version (5.12.3-051203.202105120733).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-headers-5.12.3-051203-generic : Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt --fix-broken install

Or

sudo apt --fix-broken install

Please relay the results here.

Looks like it just removed the package
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
linux-headers-5.12.3-051203-generic
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 26.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 315540 files and directories currently installed.)
Removing linux-headers-5.12.3-051203-generic (5.12.3-051203.202105120733) ...
chris@chris-Blade-14-RZ09-0370:~/Downloads$ uname -sr
Linux 5.11.0-27-generic
chris@chris-Blade-14-RZ09-0370:~/Downloads$ sudo apt install linux-image-unsigned-5.12.3-051203-generic linux-modules-5.12.3-051203-generic linux-headers-5.12.3-051203-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-5.12.3-051203-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'linux-headers-5.12.3-051203-generic' has no installation candidate

Result of terminal:

uname -a

uname -a
Linux chris-Blade-14-RZ09-0370 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
1 Like

Good, you are back on a known working kernel - even if wifi is not working. I did not want to leave you hanging on the broken 5.12 installation.

I need to leave for a while and deal with a very hectic and busy day here- backlogged parts have come in, several appointments and yet another road test...
As soon as back, will see about how to correct the dependency so that 5.12 can be installed if another member has not helped you already.

@Aravisian Understood!! I really appreciate your help this morning!!

I keep finding the same tutorials that make zero mention of libc6 2.33 being an issue...

@Aravisian Perhaps I should downgrade the kernel instead?