All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] wpa_supplicant using epoll
@ 2014-10-01 19:27 Eric Limpens
  2014-10-01 19:42 ` Gustavo Zacarias
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Limpens @ 2014-10-01 19:27 UTC (permalink / raw)
  To: buildroot

Hi Gustavo, all,

In commit ad92b26df746ef1d9a78e75c6ac8e8557211cf0b epoll has been enabled
for wpa_supplicant.

While debugging issues between connman and wpa_supplicant it looks like
wpa_supplicant is not able to receive dbus messages. I see the same
symptoms as:
https://lists.archlinux.org/pipermail/arch-commits/2014-July/245614.html

My  issues where solved by removing CONFIG_ELOOP_EPOLL from the
wpa_supplicant.mk.

Shouldn't we use the default 'select' method instead of epoll?

Eric.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141001/50d7ca33/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] wpa_supplicant using epoll
  2014-10-01 19:27 [Buildroot] wpa_supplicant using epoll Eric Limpens
@ 2014-10-01 19:42 ` Gustavo Zacarias
  0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Zacarias @ 2014-10-01 19:42 UTC (permalink / raw)
  To: buildroot

On 10/01/2014 04:27 PM, Eric Limpens wrote:

> Hi Gustavo, all,
> 
> In commit ad92b26df746ef1d9a78e75c6ac8e8557211cf0b epoll has been
> enabled for wpa_supplicant. 
> 
> While debugging issues between connman and wpa_supplicant it looks like
> wpa_supplicant is not able to receive dbus messages. I see the same
> symptoms
> as: https://lists.archlinux.org/pipermail/arch-commits/2014-July/245614.html
> 
> My  issues where solved by removing CONFIG_ELOOP_EPOLL from the
> wpa_supplicant.mk <http://wpa_supplicant.mk>. 
> 
> Shouldn't we use the default 'select' method instead of epoll? 
> 
> Eric.

Hi Eric.
I normally don't use wpa_supplicant with dbus, just with wpa_cli in
daemon/agent mode so i haven't seen this problem.
It seems to be a known issue as you posted so just send a patch
disabling it.
Upstream git doesn't seem to have any fixes related to this (no epoll
changes at all), though there are a couple of dbus changes that might be
related. But since it's just a small performance feature i don't think
it's worth to deal with this in BR.
Regards.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-01 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-01 19:27 [Buildroot] wpa_supplicant using epoll Eric Limpens
2014-10-01 19:42 ` Gustavo Zacarias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.