iwd on Ubuntu 20.04 stopped working since update to kernel 5.11

Bug #1938650 reported by alkatraz
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
iwd (Ubuntu)
Invalid
Low
Unassigned
linux-meta-hwe-5.11 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I was using iwd on my Acer aspire v17 nitro with Ubuntu 20.04, and it was working great. But after the last update to kernel 5.11 it suddenly had stopped working. I’ve tried to reinstall it but that didn’t help. I've tried back with kernel 5.8 and iwd was working again. Quick google search showed that this is actually a wide spread problem since kernel 5.9.x, so I wish to ask is there going to be a solution of any kind?
Regards!
I.Ivanov
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-07-28 (6 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
NonfreeKernelModules: nvidia_modeset nvidia
Package: iwd 1.5-1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.11.0-25.27~20.04.1-generic 5.11.22
Tags: focal
Uname: Linux 5.11.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for reporting this bug and make Ubuntu better!

Please run apport-collect 1938650 from a terminal in order to
pull relevant info into this bug so developers can debug a better way.

Revision history for this message
alkatraz (hellion-bg) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
alkatraz (hellion-bg) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
alkatraz (hellion-bg) wrote : ProcEnviron.txt

apport information

Revision history for this message
A B Steel (phast7) wrote :

i can confirm, iwd isn't working on 5.11 kernel on fossa.

$ /usr/libexec/iwd
RC4 support not found
The following options are missing in the kernel:
 CONFIG_CRYPTO_USER_API_SKCIPHER
 CONFIG_CRYPTO_ECB
 CONFIG_CRYPTO_ARC4

$ cat /boot/config-5.11.0-25-generic | grep CONFIG_CRYPTO_ARC4
$

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in iwd (Ubuntu):
status: New → Confirmed
Revision history for this message
A B Steel (phast7) wrote :

i used slyon's repo from here

https://launchpad.net/~slyon/+archive/ubuntu/iwd+nm

and updated iwd+nm
that fixed the bug for me.

should be pushed upstream i guess.

Revision history for this message
alkatraz (hellion-bg) wrote (last edit ):

@A B Steel
Using untrusted ppa is not the proper way of doing things I guess. Nevertheless I can confirm that using this repository solved the issue and iwd - at least for the time being, is now working.

Revision history for this message
A B Steel (phast7) wrote :

Lukas called for testing here, so probably he can push it to upstream.

https://discourse.ubuntu.com/t/call-for-testing-improved-wifi-via-iwd/17795

Revision history for this message
alkatraz (hellion-bg) wrote :

Yes, I know. I did had posted the issue there first :)

Changed in iwd (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Oleksandr Korsun (koralex) wrote :

The same for me. It doesn't work with 5.11 kernel and works with 5.8.

Revision history for this message
Oleksandr Korsun (koralex) wrote :
Revision history for this message
Lukas Märdian (slyon) wrote (last edit ):

This seems to be a regression (deprecated AF_ALG RC4 support) in the linux-hwe-5.11 stack: https://lkml.org/lkml/2020/8/4/512

A workaround exists by either using Linux 5.8 or using a newer iwd version (e.g. from https://launchpad.net/~slyon/+archive/ubuntu/iwd+nm )

Unfortunately, we cannot easily backport a big version jump of iwd into the 20.04 stable series, but we would need a small patch that only backports the required iwd RC4 implementation on top of iwd-1.5.

Revision history for this message
alkatraz (hellion-bg) wrote :

@Lukas Märdian (slyon),
I've understand that, but since 20.04 is the defacto LTS release right now I think a fix, besides using an untrusted repository, would be much appreciated by the mainstream users.
Cheers!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-meta-hwe-5.11 (Ubuntu):
status: New → Confirmed
Changed in iwd (Ubuntu):
status: Confirmed → Invalid
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.