OpenWrt crashes after WPA rekeying
|Reported by:||Luiz Angelo Daros de Luca <luizluca@…>||Owned by:||developers|
|Priority:||highest||Milestone:||Barrier Breaker 14.07|
|Component:||base system||Version:||Backfire 10.03.1 RC5|
I'm using openwrt in my TL-WR740N since a year, frequently reflashing. After updating to yesterday backfire RC6 (SVN), I noticed that openwrt crashes some seconds after some(most of) the WPA rekeys. This is syslog from my laptop and openwrt. Tico is my laptop and 192.168.3.1 is openwrt.
Jul 30 16:50:33 tico NetworkManager: <info> (wlan0): supplicant connection state: completed -> group handshake Jul 30 16:50:33 tico wpa_supplicant: WPA: Group rekeying completed with d8:5d:4c:f8:82:78 [GTK=TKIP] Jul 30 16:50:33 tico NetworkManager: <info> (wlan0): supplicant connection state: group handshake -> completed Jul 30 16:50:33 192.168.3.1 hostapd: wlan0: STA 00:16:ea:d4:61:9e WPA: group key handshake completed (RSN) Jul 30 16:51:45 192.168.3.1 kernel: REJECT(wan):IN=eth1 OUT= MAC=d8:5d:4c:f8:82:79:00:0e:83:ca:bb:3f:08:00 SRC=220.127.116.11 DST=18.104.22.168 LEN=131 TOS=0x00 PREC=0x00 TTL=53 ID=27416 PROTO=UDP SPT=11584 DPT=10572 LEN=111 MARK=0x4 Jul 30 16:51:45 192.168.3.1 kernel: REJECT(wan):IN=eth1 OUT= MAC=d8:5d:4c:f8:82:79:00:0e:83:ca:bb:3f:08:00 SRC=22.214.171.124 DST=126.96.36.199 LEN=179 TOS=0x00 PREC=0x00 TTL=113 ID=15387 DF PROTO=TCP SPT=56693 DPT=40396 WINDOW=65535 RES=0x00 ACK PSH URGP=0 MARK=0 Jul 30 16:52:46 tico wpa_supplicant: CTRL-EVENT-DISCONNECTED bssid=d8:5d:4c:f8:82:78 reason=0
BTW, before reflashing, I was using an midle-april svn checkout of backfire without this problem.
I was running a procfs top from a ssh and the system was running with free resources;
root@router:/tmp/usr/bin# ./top -d1 top - 16:52:25 up 22 min, 0 users, load average: 0.40, 0.50, 0.47 Tasks: 38 total, 1 running, 37 sleeping, 0 stopped, 0 zombie Cpu(s): 6.7%us, 14.4%sy, 0.0%ni, 40.4%id, 26.9%wa, 1.0%hi, 10.6%si, 0.0%st Mem: 29532k total, 24368k used, 5164k free, 516k buffers Swap: 0k total, 0k used, 0k free, 4884k cached Write failed: Broken pipe
The only process that constantly uses 10-20% of CPU is luci-bwc.
I have no serial port. Is there any way to detect why the router rebooted?
Change History (19)
comment:2 Changed 5 years ago by nbd
- Resolution set to no_response
- Status changed from new to closed
comment:3 Changed 5 years ago by Luiz Angelo Daros de Luca <luizluca@…>
- Resolution no_response deleted
- Status changed from closed to reopened
comment:18 Changed 5 years ago by nbd
- Resolution set to fixed
- Status changed from reopened to closed