[Bug 1213757] New: All processes that try to communicate with NETLINK socket hang up if running hostapd on Raspberry Pi
https://bugzilla.suse.com/show_bug.cgi?id=1213757 Bug ID: 1213757 Summary: All processes that try to communicate with NETLINK socket hang up if running hostapd on Raspberry Pi Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.5 Hardware: aarch64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: dheidler@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 868483 --> https://bugzilla.suse.com/attachment.cgi?id=868483&action=edit strace of hanging "ip a" The issue appears a few (~5) minutes after hostapd is started. Jul 28 12:47:40 openqa-piworker systemd[1]: Started Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator. Jul 28 12:47:40 openqa-piworker hostapd[15307]: Configuration file: /etc/hostapd.conf Jul 28 12:47:40 openqa-piworker kernel: br0: port 1(wlan0) entered blocking state Jul 28 12:47:40 openqa-piworker kernel: br0: port 1(wlan0) entered disabled state Jul 28 12:47:40 openqa-piworker kernel: device wlan0 entered promiscuous mode Jul 28 12:47:40 openqa-piworker hostapd[15307]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Jul 28 12:47:41 openqa-piworker dbus-daemon[629]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' requested by ':1.31' (uid=0 pid=730 comm="/usr/sbin/wickedd --systemd --foreground ") Jul 28 12:47:41 openqa-piworker systemd[1]: Starting WPA Supplicant daemon... Jul 28 12:47:41 openqa-piworker dbus-daemon[629]: [system] Successfully activated service 'fi.w1.wpa_supplicant1' Jul 28 12:47:41 openqa-piworker systemd[1]: Started WPA Supplicant daemon. Jul 28 12:47:45 openqa-piworker hostapd[15307]: wlan0: Could not connect to kernel driver Jul 28 12:47:45 openqa-piworker hostapd[15307]: Using interface wlan0 with hwaddr e4:5f:01:bb:63:41 and ssid "openQA-worker" Jul 28 12:47:45 openqa-piworker kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Jul 28 12:47:45 openqa-piworker kernel: br0: port 1(wlan0) entered blocking state Jul 28 12:47:45 openqa-piworker kernel: br0: port 1(wlan0) entered forwarding state Jul 28 12:47:45 openqa-piworker hostapd[15307]: wlan0: interface state COUNTRY_UPDATE->ENABLED Jul 28 12:47:45 openqa-piworker hostapd[15307]: wlan0: AP-ENABLED openqa-piworker:~ # cat /etc/sysconfig/network/ifcfg-br0 IPADDR='192.168.7.1/24' BOOTPROTO='static' STARTMODE='auto' BRIDGE='yes' BRIDGE_PORTS='' BRIDGE_STP='off' BRIDGE_FORWARDDELAY='15' ZONE=dmz openqa-piworker:~ # cat /etc/hostapd.conf interface=wlan0 bridge=br0 ssid=openQA-worker wpa_passphrase=0foobar12345 driver=nl80211 country_code=DE hw_mode=g channel=7 # Bit field: bit0 = WPA, bit1 = WPA2, 3=both wpa=2 # Bit field: 1=wpa, 2=wep, 3=both auth_algs=1 wpa_pairwise=CCMP wpa_key_mgmt=WPA-PSK logger_stdout=-1 logger_stdout_level=2 openqa-piworker:~ # systemctl cat hostapd.service # /usr/lib/systemd/system/hostapd.service [Unit] Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator After=network.target [Service] ExecStart=/usr/sbin/hostapd /etc/hostapd.conf ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target # /etc/systemd/system/hostapd.service.d/override.conf # Ensure that wlan0 is up before starting hostapd (otherwise hostapd will not add wlan0 to the bridge) [Unit] BindsTo=sys-subsystem-net-devices-wlan0.device After=sys-subsystem-net-devices-wlan0.device -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c1
--- Comment #1 from Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c2
--- Comment #2 from Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c3
Takashi Iwai
This also affects 15.4.
We suspect that this was introduced by kernel-default-5.14.21-150400.24.69.1.aarch64.rpm
Could you verify it? Install the previous 15.4 kernel and check whether it works or not? -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c4
Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c5
Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c6
Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c7
--- Comment #7 from Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c8
--- Comment #8 from Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c9
--- Comment #9 from Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c10
--- Comment #10 from Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c11
--- Comment #11 from Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c12
--- Comment #12 from Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c13
--- Comment #13 from Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c14
--- Comment #14 from Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c15
--- Comment #15 from Dominik Heidler
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c16
--- Comment #16 from Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c25
--- Comment #25 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c26
--- Comment #26 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c27
--- Comment #27 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c28
--- Comment #28 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c29
--- Comment #29 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c30
--- Comment #30 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c31
--- Comment #31 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c32
--- Comment #32 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c33
--- Comment #33 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c34
--- Comment #34 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c35
--- Comment #35 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c36
--- Comment #36 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c37
--- Comment #37 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c38
--- Comment #38 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c39
--- Comment #39 from Ivan Ivanov
https://bugzilla.suse.com/show_bug.cgi?id=1213757
https://bugzilla.suse.com/show_bug.cgi?id=1213757#c40
Dominik Heidler
participants (1)
-
bugzilla_noreply@suse.com