wpa_supplicant executes hundreds of failed atempts in a second

Bug #1824118 reported by Victor de Souza Magalhaes on 2019-04-10
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wpa (Ubuntu)
Undecided
Unassigned

Bug Description

I use my computer to create a wifi hotspot to my local wired network.
Whenever I do so I get short hangs that last for about a second every few minutes.
Looking into the syslog in /var/log/syslog I get the output at the end of this message.
I have tried my best to look for an answer to this bug, but the reported bugs on wpa_supplicant are
all for other ret codes.

Best,

Victor

Apr 10 10:54:40 Amaterasu wpa_supplicant[1048]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Apr 10 10:55:13 Amaterasu wpa_supplicant[1048]: message repeated 33 times: [ wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1]
Apr 10 10:55:14 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Activating via systemd: service name='org.gnome.evince.Daemon' unit='evince.service' requested by ':1.413' (uid=1000 pid=6414 comm="emacs lib/legacy/uv_check.f90 " label="unconfined")
Apr 10 10:55:14 Amaterasu systemd[1695]: Starting Evince document viewer...
Apr 10 10:55:14 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Successfully activated service 'org.gnome.evince.Daemon'
Apr 10 10:55:14 Amaterasu systemd[1695]: Started Evince document viewer.
Apr 10 10:55:14 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Activating service name='org.x.reader.Daemon' requested by ':1.413' (uid=1000 pid=6414 comm="emacs lib/legacy/uv_check.f90 " label="unconfined")
Apr 10 10:55:14 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Successfully activated service 'org.x.reader.Daemon'
Apr 10 10:55:14 Amaterasu wpa_supplicant[1048]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Apr 10 10:55:37 Amaterasu wpa_supplicant[1048]: message repeated 23 times: [ wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1]
Apr 10 10:55:38 Amaterasu dbus-daemon[1748]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/freedesktop/Notifications" interface="org.freedesktop.Notifications" member="Notify" mask="send" name="org.freedesktop.Notifications" pid=2263 label="snap.spotify.spotify"
Apr 10 10:55:38 Amaterasu wpa_supplicant[1048]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Apr 10 10:57:39 Amaterasu wpa_supplicant[1048]: message repeated 120 times: [ wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1]
Apr 10 10:57:40 Amaterasu dbus-daemon[1748]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/freedesktop/Notifications" interface="org.freedesktop.Notifications" member="Notify" mask="send" name="org.freedesktop.Notifications" pid=2263 label="snap.spotify.spotify"
Apr 10 10:57:40 Amaterasu wpa_supplicant[1048]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Apr 10 10:58:15 Amaterasu wpa_supplicant[1048]: message repeated 35 times: [ wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1]
Apr 10 10:58:15 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Activating via systemd: service name='org.gnome.evince.Daemon' unit='evince.service' requested by ':1.421' (uid=1000 pid=6772 comm="emacs /var/log/syslog " label="unconfined")
Apr 10 10:58:15 Amaterasu systemd[1695]: Starting Evince document viewer...
Apr 10 10:58:15 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Successfully activated service 'org.gnome.evince.Daemon'
Apr 10 10:58:15 Amaterasu systemd[1695]: Started Evince document viewer.
Apr 10 10:58:15 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Activating service name='org.x.reader.Daemon' requested by ':1.421' (uid=1000 pid=6772 comm="emacs /var/log/syslog " label="unconfined")
Apr 10 10:58:15 Amaterasu dbus-daemon[1748]: [session uid=1000 pid=1748] Successfully activated service 'org.x.reader.Daemon'

Paul White (paulw2u) on 2019-04-10
affects: ubuntu → wpa (Ubuntu)
Launchpad Janitor (janitor) wrote :

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

Changed in wpa (Ubuntu):
status: New → Confirmed
Alexander Rehbein (rehbein) wrote :

Same here, trying to share my USB tethered internet connection.

```
Mär 23 14:35:18 are-TP-X240 NetworkManager[5202]: <info> [1584970518.6359] manager: startup complete
Mär 23 14:35:18 are-TP-X240 systemd[1]: Started Network Manager Wait Online.
-- Subject: Unit NetworkManager-wait-online.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit NetworkManager-wait-online.service has finished starting up.
--
-- The start-up result is RESULT.
Mär 23 14:35:18 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Mär 23 14:35:19 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Mär 23 14:35:20 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Mär 23 14:35:21 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Mär 23 14:35:22 are-TP-X240 wpa_supplicant[927]: wlp3s0: AP-STA-CONNECTED 00:16:ea:e5:68:70
Mär 23 14:35:22 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Mär 23 14:35:23 are-TP-X240 dnsmasq-dhcp[5295]: DHCPREQUEST(wlp3s0) 10.42.0.239 00:16:ea:e5:68:70
Mär 23 14:35:23 are-TP-X240 dnsmasq-dhcp[5295]: DHCPACK(wlp3s0) 10.42.0.239 00:16:ea:e5:68:70 are-fokus-x200
Mär 23 14:35:23 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Mär 23 14:35:24 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
Mär 23 14:35:25 are-TP-X240 wpa_supplicant[927]: wlp3s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1

```

and it goes on forever.

The hotspot seems to be working fine, otherwise.

```
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
```

```
$ wpa_supplicant -v
wpa_supplicant v2.6
Copyright (c) 2003-2016, Jouni Malinen <email address hidden> and contributors
```

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers