Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

AdaFruit wifi stops working after 1 hour
Moderators: adafruit_support_bill, adafruit

AdaFruit wifi stops working after 1 hour

by AsH83 on Tue Jul 24, 2012 3:10 pm

So after a long battle I was able to get the wifi to work on my A6 board [Please check the other wifi threads in this section].

Now after I leave the board runnig for 45 minutes to 1 hour, the wifi driver starts to cause issues and ifconfig does not work anymore. the bellow log will show that the wifi was working and I did get an IP address but after some time I started to get an error about "hung_task" and then ifconfig did not respond.


I can replicate this 100% of the time.

root@beaglebone:~# ifconfig
eth0 Link encap:Ethernet HWaddr 50:56:63:C6:F2:66
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:394 (394.0 B) TX bytes:394 (394.0 B)

wlan0 Link encap:Ethernet HWaddr 00:9E:95:9B:87:50
inet addr:10.4.11.119 Bcast:10.4.255.255 Mask:255.255.0.0
inet6 addr: fe80::29e:95ff:fe9b:8750/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2149 errors:0 dropped:83 overruns:0 frame:0
TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:407318 (397.7 KiB) TX bytes:13260 (12.9 KiB)

root@beaglebone:~# [ 240.143829] INFO: task kworker/0:1:20 blocked for more than 120 seconds.
[ 240.150848] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 360.153839] INFO: task kworker/0:1:20 blocked for more than 120 seconds.
[ 360.160858] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 480.163848] INFO: task kworker/0:1:20 blocked for more than 120 seconds.
[ 480.170837] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 480.179107] INFO: task wpa_supplicant:193 blocked for more than 120 seconds.
[ 480.186492] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 600.193847] INFO: task kworker/0:1:20 blocked for more than 120 seconds.
[ 600.200866] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 600.209106] INFO: task wpa_supplicant:193 blocked for more than 120 seconds.
[ 600.216491] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 720.223846] INFO: task kworker/0:1:20 blocked for more than 120 seconds.
[ 720.230834] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 720.239105] INFO: task wpa_supplicant:193 blocked for more than 120 seconds.
[ 720.246490] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 840.253845] INFO: task kworker/0:1:20 blocked for more than 120 seconds.
[ 840.260833] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 840.269104] INFO: task wpa_supplicant:193 blocked for more than 120 seconds.
[ 840.276489] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
AsH83
 
Posts: 14
Joined: Thu Jul 12, 2012 5:47 pm

Re: AdaFruit wifi stops working after 1 hour

by adafruit on Wed Aug 01, 2012 11:41 am

we're looking into what changed so that the wifi is not stable with the latest rev

adafruit
 
Posts: 11904
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: AdaFruit wifi stops working after 1 hour

by AsH83 on Wed Aug 01, 2012 1:30 pm

Thanks for the reply. which Distro was this 100% tested with?
AsH83
 
Posts: 14
Joined: Thu Jul 12, 2012 5:47 pm

Re: AdaFruit wifi stops working after 1 hour

by adafruit on Thu Aug 02, 2012 12:16 pm

the A5 distro worked pretty good, but its probably a minor software thingy! We'll fix it as soon as we can, see also the other threads here where people are finding ways to get it working

adafruit
 
Posts: 11904
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: AdaFruit wifi stops working after 1 hour

by AsH83 on Wed Sep 12, 2012 11:40 am

any update on the A6 issue with the wifi dongle. all the fix i saw online failed after sometime..they just gave me an extra hour or so before I started to get back the memory issue.
AsH83
 
Posts: 14
Joined: Thu Jul 12, 2012 5:47 pm

Re: AdaFruit wifi stops working after 1 hour

by AsH83 on Fri Oct 26, 2012 12:01 pm

Bump
AsH83
 
Posts: 14
Joined: Thu Jul 12, 2012 5:47 pm

Re: AdaFruit wifi stops working after 1 hour

by adafruit on Sat Oct 27, 2012 9:44 am

We don't know what the issue is - it sounds like a kernel module - you might be better off asking the Bone group at google groups as the kernel developers hang out there.

adafruit
 
Posts: 11904
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc