#22156: Race condition causes netifd to fail when bringing up network interface
-----------------------------------------+--------------------------------
  Reporter:  alan.christopher.jenkins@…  |      Owner:  developers
      Type:  defect                      |     Status:  new
  Priority:  normal                      |  Milestone:
 Component:  base system                 |    Version:  Chaos Calmer 15.05
Resolution:                              |   Keywords:
-----------------------------------------+--------------------------------

Comment (by alan.christopher.jenkins@…):

 Looking at the full system log, there may be a reason this happens with
 5Ghz and not 2.4Ghz.

 5Ghz warns "this may take a bit" [of time] for automatic channel selection
 (presumably radar detection).  The timing is inherently different.  It's
 the sort of thing that could affect a race condition.

 I'm not saying it leads to a longer window of vulnerability to races.  I
 can't see how that would be the case.  But it means the 5Ghz radio comes
 up distinctly later than the 2.4Ghz one.

 Mon Apr  4 08:38:14 2016 daemon.notice netifd: radio1 (1316):
 Configuration file: /var/run/hostapd-phy1.conf
 Mon Apr  4 08:38:14 2016 kern.info kernel: [   25.350000] IPv6:
 ADDRCONF(NETDEV_UP): wlan1: link is not ready
 Mon Apr  4 08:38:14 2016 daemon.notice netifd: radio1 (1316): wlan1:
 interface state UNINITIALIZED->COUNTRY_UPDATE
 Mon Apr  4 08:38:14 2016 daemon.notice netifd: radio1 (1316): ACS:
 Automatic channel selection started, this may take a bit
 Mon Apr  4 08:38:14 2016 daemon.notice netifd: radio1 (1316): wlan1:
 interface state COUNTRY_UPDATE->ACS
 Mon Apr  4 08:38:14 2016 daemon.notice netifd: radio1 (1316): wlan1: ACS-
 STARTED

 2.4Ghz:

 Mon Apr  4 08:38:13 2016 daemon.notice netifd: radio0 (1315):
 Configuration file: /var/run/hostapd-phy0.conf
 Mon Apr  4 08:38:13 2016 kern.info kernel: [   24.780000] IPv6:
 ADDRCONF(NETDEV_UP): wlan0: link is not ready
 Mon Apr  4 08:38:13 2016 daemon.notice netifd: radio0 (1315): wlan0:
 interface state UNINITIALIZED->COUNTRY_UPDATE
 Mon Apr  4 08:38:13 2016 daemon.notice netifd: radio0 (1315): Using
 interface wlan0 with hwaddr 74:44:01:86:42:d4 and ssid
 "VOYAGER2091-90-jenkins"

--
Ticket URL: <https://dev.openwrt.org/ticket/22156#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to