You are not logged in.

#1 2018-11-28 03:51:09

TheCoralRocker
Member
Registered: 2018-04-27
Posts: 6

Kernel 4.19.2 Breaks IWD

Upon update to 4.19.2, IWD breaks and does not recognize my Qualcomm Atheros QCA9377 wifi card as a station. It is still available through netctl and wpa_supplicant, just not through IWD.
rfkill lists my wifi adapter as unblocked.
Upon further investigation, there are five options missing from the kernel to IWD.

Nov 22 08:20:28 TheCoralRocker iwd[351]: The following options are missing in the kernel:
Nov 22 08:20:28 TheCoralRocker iwd[351]: CONFIG_ASYMMETRIC_KEY_TYPE
Nov 22 08:20:28 TheCoralRocker iwd[351]: CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
Nov 22 08:20:28 TheCoralRocker iwd[351]: CONFIG_PKCS7_MESSAGE_PARSER
Nov 22 08:20:28 TheCoralRocker iwd[351]: CONFIG_X509_CERTIFICATE_PARSER
Nov 22 08:20:28 TheCoralRocker iwd[351]: CONFIG_PKCS8_PRIVATE_KEY_PARSER

Downgrading to 4.19.1 fixes the issue.

Here is the IWD section of my latest boot in journalctl

 tcr-g  TheCoralRocker  ~  $  sudo journalctl -b | grep iwd
Nov 27 21:34:16 TheCoralRocker iwd[354]: No asymmetric key support found.
Nov 27 21:34:16 TheCoralRocker iwd[354]: TLS based WPA-Enterprise authentication methods will not function.
Nov 27 21:34:16 TheCoralRocker iwd[354]: Kernel 4.20+ is required for this feature.
Nov 27 21:34:16 TheCoralRocker iwd[354]: The following options are missing in the kernel:
Nov 27 21:34:16 TheCoralRocker iwd[354]:         CONFIG_ASYMMETRIC_KEY_TYPE
Nov 27 21:34:16 TheCoralRocker iwd[354]:         CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
Nov 27 21:34:16 TheCoralRocker iwd[354]:         CONFIG_PKCS7_MESSAGE_PARSER
Nov 27 21:34:16 TheCoralRocker iwd[354]:         CONFIG_X509_CERTIFICATE_PARSER
Nov 27 21:34:16 TheCoralRocker iwd[354]:         CONFIG_PKCS8_PRIVATE_KEY_PARSER
Nov 27 21:34:16 TheCoralRocker iwd[354]: Wireless daemon version 0.12
Nov 27 21:34:16 TheCoralRocker iwd[354]: Skipping optional configuration file /etc/iwd/main.conf
Nov 27 21:34:16 TheCoralRocker iwd[354]: rfkill id 1 can't be matched to a wiphy
Nov 27 21:34:16 TheCoralRocker audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=iwd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 27 21:35:44 TheCoralRocker iwd[354]: MLME notification is missing ifindex attribute
Nov 27 21:35:44 TheCoralRocker iwd[354]: MLME notification is missing ifindex attribute
Nov 27 21:35:44 TheCoralRocker iwd[354]: MLME notification is missing ifindex attribute

Thanks

Offline

#2 2018-11-28 04:19:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 20,470
Website

Re: Kernel 4.19.2 Breaks IWD

At least some of those config options have been added (back).  Upgrade and try again.

Although if I'm not crazy, the 4.19.2 config also had these enabled.  Are you running a custom kernel?

What's the result of `zgrep ASYMMETRIC_KEY_TYPE /proc/config.gz`?

EDIT: The above could still be worth checking, but upon rereading the output it's likely a red-herring.  That's all context under the note that WPA-Enterprise is not supported as those options are needed with a kernel > 4.20 which is not yet in the repos.  So those entries are not likely relevant to the problem.

Last edited by Trilby (2018-11-28 04:29:55)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2018-11-28 04:29:16

Texas
Member
From: Dallas, Texas
Registered: 2010-09-10
Posts: 130

Re: Kernel 4.19.2 Breaks IWD

Have you tried the latest Arch kernel 4.19.4 ?

Offline

#4 2018-11-28 09:36:44

progandy
Member
Registered: 2012-05-17
Posts: 3,195

Re: Kernel 4.19.2 Breaks IWD

The following options are missing in the kernel:

In additiona to what Trilby mentioned, that is a misleading error message. The same error is shown even if only one option is not set. The only setting missing in 4.19.2 is CONFIG_PKCS8_PRIVATE_KEY_PARSER. PKCS8 will only be available with kernel 4.20 and later.

Last edited by progandy (2018-11-28 09:42:52)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2018-11-28 14:29:29

TheCoralRocker
Member
Registered: 2018-04-27
Posts: 6

Re: Kernel 4.19.2 Breaks IWD

The kernel is currently at 4.19.4

 tcr-g  TheCoralRocker  ~  $  zgrep ASYMMETRIC_KEY_TYPE /proc/config.gz
CONFIG_ASYMMETRIC_KEY_TYPE=y

EDIT:
The problem, first and foremost is that iwctl does not recognize my card as an adapter.

 tcr-g  TheCoralRocker  ~  $  iwctl station list
                            Devices in Station Mode                            
--------------------------------------------------------------------------------
  Name                State          Scanning
--------------------------------------------------------------------------------
No devices in Station mode available.

Last edited by TheCoralRocker (2018-11-28 14:30:54)

Offline

#6 2018-12-01 08:29:49

pdxleif
Member
Registered: 2011-10-26
Posts: 7

Re: Kernel 4.19.2 Breaks IWD

I have the same issue since upgrading the kernel. Just upgraded to 4.19.4, still have the same problem of iwd not recognizing my network device.
I can use it as normal with  "ip link" and "wpa_supplicant." I turned off the systemd renaming of the device so I can just refer to it as "wlan0".

The iwd logs in journalctl:
Dec 01 00:08:38 stars systemd[1]: Starting Wireless service...
Dec 01 00:08:38 stars iwd[362]: No asymmetric key support found.
Dec 01 00:08:38 stars iwd[362]: TLS based WPA-Enterprise authentication methods will not function.
Dec 01 00:08:38 stars iwd[362]: Kernel 4.20+ is required for this feature.
Dec 01 00:08:38 stars iwd[362]: The following options are missing in the kernel:
Dec 01 00:08:38 stars iwd[362]:         CONFIG_ASYMMETRIC_KEY_TYPE
Dec 01 00:08:38 stars iwd[362]:         CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
Dec 01 00:08:38 stars iwd[362]:         CONFIG_PKCS7_MESSAGE_PARSER
Dec 01 00:08:38 stars iwd[362]:         CONFIG_X509_CERTIFICATE_PARSER
Dec 01 00:08:38 stars iwd[362]:         CONFIG_PKCS8_PRIVATE_KEY_PARSER
Dec 01 00:08:38 stars iwd[362]: Wireless daemon version 0.12
Dec 01 00:08:38 stars iwd[362]: Skipping optional configuration file /etc/iwd/main.conf
Dec 01 00:08:38 stars iwd[362]: rfkill id 0 can't be matched to a wiphy
Dec 01 00:08:38 stars systemd[1]: Started Wireless service.
Dec 01 00:09:45 stars iwd[362]: Terminate

Offline

#7 2018-12-01 14:20:28

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 82

Re: Kernel 4.19.2 Breaks IWD

@pdxleif - Check the end of the IWD thread, you may be experiencing a race condition between udev and iwd that can be addressed with an override.

Offline

#8 2018-12-01 19:47:06

pdxleif
Member
Registered: 2011-10-26
Posts: 7

Re: Kernel 4.19.2 Breaks IWD

That must be it - thanks!
If I don't start iwd on boot, but instead start it after boot, it works fine.

Offline

#9 2018-12-01 20:52:57

pdxleif
Member
Registered: 2011-10-26
Posts: 7

Re: Kernel 4.19.2 Breaks IWD

I'm not using udev to rename the network device, though (as far as I know), I merely symlinked /etc/systemd/network/99-default.link to /dev/null as described on https://www.freedesktop.org/wiki/Softwa … faceNames/, to prevent systemd from renaming my interface.

Offline

#10 2018-12-14 22:59:08

pdxleif
Member
Registered: 2011-10-26
Posts: 7

Re: Kernel 4.19.2 Breaks IWD

I added
After=sys-subsystem-net-devices-wlan0.device
Requires=sys-subsystem-net-devices-wlan0.device
to the unit, and that fixed it.
(taking a cue from wpa_supplicant@.service)

Offline

Board footer

Powered by FluxBB