Modify

Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#13558 closed defect (wontfix)

Enabling wireless on whr-g54s with r36656 causes system OOM

Reported by: camden.lindsay+openwrt@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: OOM b43 whr-g54s Cc:

Description

I was attempting to verify that https://dev.openwrt.org/ticket/12455 was indeed fixed, so updated a few days ago to r36656

Upon this update, I was only rarely able to even get into the system, with it generally saying 'connection refused' or not responding to ping.

At some point managed to get in and run firstboot.
With default configuration (no wifi), device had no issues.

Reloaded all configuration except wifi, and everything appeared fine.

Started Wifi. Device booted me out and displayed the same issues as it had initially.

Dug out the serial cable to take a closer look

after boot:

root@OpenWrt:/# cat /etc/banner 
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r36656)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/# free
             total         used         free       shared      buffers
Mem:         12880        11900          980            0          812
-/+ buffers:              11088         1792
Swap:            0            0            0
root@OpenWrt:/# uptime
 00:06:49 up 6 min,  load average: 0.18, 0.17, 0.11

Enable wireless in config

root@OpenWrt:/# uci show wireless.radio0.disabled
wireless.radio0.disabled=1
root@OpenWrt:/# uci set wireless.radio0.disabled=0
root@OpenWrt:/# uci commit
root@OpenWrt:/# uci show wireless.radio0.disabled
wireless.radio0.disabled=0

Turn up wireless using wifi command, and immediately things grind to a halt, then the device OOMs

 741   527 root     S     1156   9%   0% /usr/sbin/dropbear -F -P /var/run/dro
  807     1 nobody   S      960   7%   0% /usr/sbin/dnsmasq -C /var/etc/dnsmasq
[  670.760000] bcm47xx_wdt: Watchdog will fire soon!!!
[  670.996000] klogd invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[  671.004000] Call Trace:
[  671.008000] [<80012044>] dump_stack+0x8/0x34
[  671.012000] [<80062108>] dump_header.isra.16+0x44/0x128
[  671.016000] [<800624b0>] oom_kill_process+0x134/0x574
[  671.020000] [<80062e7c>] out_of_memory+0x328/0x380
[  671.028000] [<80066194>] __alloc_pages_nodemask+0x550/0x634
[  671.032000] [<800616c8>] filemap_fault+0x2d4/0x45c
[  671.036000] [<8007b9ec>] __do_fault+0xd0/0x674
[  671.044000] [<8007f828>] handle_pte_fault+0x47c/0xa08
[  671.048000] [<8007fe64>] handle_mm_fault+0xb0/0xdc
[  671.052000] [<80015f80>] do_page_fault+0x148/0x38c
[  671.060000] [<80001420>] ret_from_exception+0x0/0x24
[  671.064000]
[  671.064000] Mem-Info:
[  671.068000] Normal per-cpu:
[  671.072000] CPU    0: hi:    0, btch:   1 usd:   0
[  671.076000] active_anon:579 inactive_anon:12 isolated_anon:0
[  671.076000]  active_file:0 inactive_file:45 isolated_file:0
[  671.076000]  unevictable:0 dirty:0 writeback:0 unstable:0
[  671.076000]  free:127 slab_reclaimable:194 slab_unreclaimable:881
[  671.076000]  mapped:6 shmem:17 pagetables:90 bounce:0
[  671.076000]  free_cma:0
[  671.108000] Normal free:508kB min:508kB low:632kB high:760kB active_anon:2316kB inactive_anon:48kB active_file:0kB inactive_file:180kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:16256kB managed:12700kB mlocked:0kB dirty:0kB writeback:0kB mapped:24kB shmem:68kB slab_reclaimable:776kB slab_unreclaimable:3524kB kernel_stack:328kB pagetables:360kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:142 all_unreclaimable? yes
[  671.148000] lowmem_reserve[]: 0 0
[  671.152000] Normal: 1*4kB (U) 1*8kB (U) 5*16kB (UR) 1*32kB (R) 2*64kB (UR) 0*128kB 1*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 508kB
[  671.164000] 64 total pagecache pages
[  671.168000] 0 pages in swap cache
[  671.172000] Swap cache stats: add 0, delete 0, find 0/0
[  671.176000] Free swap  = 0kB
[  671.180000] Total swap = 0kB
[  671.184000] 4096 pages RAM
[  671.188000] 876 pages reserved
[  671.192000] 263063 pages shared
[  671.196000] 2749 pages non-shared
[  671.196000] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[  671.204000] [  391]     0   391      379       21       5        0             0 ash
[  671.212000] [  518]     0   518      379       21       3        0             0 syslogd
[  671.224000] [  520]     0   520      374       18       3        0             0 klogd
[  671.232000] [  522]     0   522      213       30       5        0             0 hotplug2
[  671.240000] [  527]     0   527      324       36       3        0             0 procd
[  671.248000] [  538]     0   538      366       45       5        0             0 netifd
[  671.256000] [  542]     0   542      220       15       4        0             0 ubusd
[  671.264000] [  618]     0   618      374       15       3        0             0 watchdog
[  671.272000] [  699]     0   699      377       18       3        0             0 udhcpc
[  671.280000] [  741]     0   741      289       19       4        0             0 dropbear
[  671.288000] [  807] 65534   807      240       22       4        0             0 dnsmasq
[  671.296000] [  818]     0   818      203       17       3        0             0 6relayd
[  671.304000] [  828]     0   828      377       19       5        0             0 ntpd
[  671.312000] [  844]     0   844      306       38       3        0             0 dropbear
[  671.324000] [  845]     0   845      378       21       4        0             0 ash
[  671.332000] [  850]     0   850      418       61       4        0             0 wifi
[  671.340000] [  853]     0   853      418       62       4        0             0 wifi
[  671.348000] [  854]     0   854      421       66       4        0             0 wifi
[  671.356000] [  862]     0   862      377       19       3        0             0 top
[  671.364000] [  864]     0   864      421       66       4        0             0 wifi
[  671.372000] [  865]     0   865      375       16       4        0             0 ls
[  671.380000] [  866]     0   866      374       14       3        0             0 grep
[  671.388000] [  867]     0   867      374       14       3        0             0 sed
[  671.396000] Out of memory: Kill process 807 (dnsmasq) score 8 or sacrifice child
[  671.404000] Killed process 807 (dnsmasq) total-vm:960kB, anon-rss:88kB, file-rss:0kB


CFE version 1.0.37-1.07 for BCM947XX (32bit,SP,LE)

Upon reboot, it OOM'd again but continued booting. It appears to have brought up the wireless drivers and everything...

[   40.240000] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
[   40.572000] device eth0.1 entered promiscuous mode
[   40.576000] device eth0 entered promiscuous mode
[   40.588000] br-lan: port 1(eth0.1) entered forwarding state
[   40.596000] br-lan: port 1(eth0.1) entered forwarding state
[   41.212000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   42.600000] br-lan: port 1(eth0.1) entered forwarding state



BusyBox v1.19.4 (2013-05-19 07:04:07 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

[  107.640000] ash invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[  107.648000] Call Trace:
[  107.648000] [<80012044>] dump_stack+0x8/0x34
[  107.652000] [<80062108>] dump_header.isra.16+0x44/0x128
[  107.660000] [<800624b0>] oom_kill_process+0x134/0x574
[  107.664000] [<80062e7c>] out_of_memory+0x328/0x380
[  107.668000] [<80066194>] __alloc_pages_nodemask+0x550/0x634
[  107.676000] [<800616c8>] filemap_fault+0x2d4/0x45c
[  107.680000] [<8007b9ec>] __do_fault+0xd0/0x674
[  107.684000] [<8007f828>] handle_pte_fault+0x47c/0xa08
[  107.692000] [<8007fe64>] handle_mm_fault+0xb0/0xdc
[  107.696000] [<80015f80>] do_page_fault+0x148/0x38c
[  107.700000] [<80001420>] ret_from_exception+0x0/0x24
[  107.708000] 
[  107.708000] Mem-Info:
[  107.712000] Normal per-cpu:
[  107.712000] CPU    0: hi:    0, btch:   1 usd:   0
[  107.720000] active_anon:782 inactive_anon:9 isolated_anon:0
[  107.720000]  active_file:36 inactive_file:80 isolated_file:0
[  107.720000]  unevictable:0 dirty:0 writeback:0 unstable:0
[  107.720000]  free:127 slab_reclaimable:169 slab_unreclaimable:875
[  107.720000]  mapped:6 shmem:11 pagetables:120 bounce:0
[  107.720000]  free_cma:0
[  107.748000] Normal free:508kB min:508kB low:632kB high:760kB active_anon:3128kB inactive_anon:36kB active_file:144kB inactive_file:320kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:16256kB managed:12700kB mlocked:0kB dirty:0kB writeback:0kB mapped:24kB shmem:44kB slab_reclaimable:676kB slab_unreclaimable:3500kB kernel_stack:400kB pagetables:480kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:460 all_unreclaimable? yes
[  107.792000] lowmem_reserve[]: 0 0
[  107.796000] Normal: 1*4kB (U) 1*8kB (U) 1*16kB (U) 1*32kB (U) 3*64kB (U) 0*128kB 1*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 508kB
[  107.808000] 139 total pagecache pages
[  107.812000] 0 pages in swap cache
[  107.816000] Swap cache stats: add 0, delete 0, find 0/0
[  107.820000] Free swap  = 0kB
[  107.824000] Total swap = 0kB
[  107.828000] 4096 pages RAM
[  107.832000] 876 pages reserved
[  107.832000] 263567 pages shared
[  107.836000] 2668 pages non-shared
[  107.840000] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[  107.848000] [  390]     0   390      389       31       4        0             0 rcS
[  107.856000] [  391]     0   391      376       18       4        0             0 ash
[  107.864000] [  392]     0   392      389       31       4        0             0 rcS
[  107.872000] [  393]     0   393      376       17       4        0             0 logger
[  107.880000] [  516]     0   516      379       20       3        0             0 syslogd
[  107.888000] [  518]     0   518      374       16       3        0             0 klogd
[  107.896000] [  520]     0   520      213       29       4        0             0 hotplug2
[  107.908000] [  525]     0   525      324       36       4        0             0 procd
[  107.916000] [  531]     0   531      398       41       3        0             0 S20network
[  107.924000] [  532]     0   532      213       29       4        0             0 hotplug2
[  107.932000] [  534]     0   534      220       15       4        0             0 ubusd
[  107.940000] [  538]     0   538      367       46       4        0             0 netifd
[  107.948000] [  621]     0   621      388       30       5        0             0 hotplug-call
[  107.956000] [  623]     0   623      374       15       3        0             0 watchdog
[  107.964000] [  624]     0   624      418       61       4        0             0 wifi
[  107.972000] [  658]     0   658      388       30       5        0             0 hotplug-call
[  107.984000] [  667]     0   667      418       64       4        0             0 wifi
[  107.992000] [  670]     0   670      377       18       4        0             0 udhcpc
[  108.000000] [  693]     0   693      399       42       3        0             0 dhcp.script
[  108.008000] [  695]     0   695      388       29       5        0             0 hotplug-call
[  108.016000] [  699]     0   699      293       34       4        0             0 ubus
[  108.024000] [  707]     0   707      418       64       4        0             0 wifi
[  108.032000] [  708]     0   708      422       68       4        0             0 wifi
[  108.040000] [  711]     0   711      295       39       3        0             0 fw3
[  108.048000] [  712]     0   712      434       17       4        0             0 iptables-restor
[  108.056000] [  713]     0   713      388       29       5        0             0 hotplug-call
[  108.068000] [  714]     0   714      376       18       5        0             0 sed
[  108.076000] [  715]     0   715      375       15       4        0             0 sysctl
[  108.084000] [  716]     0   716      374       13       3        0             0 logger
[  108.092000] [  717]     0   717      218       13       3        0             0 uci
[  108.100000] Out of memory: Kill process 390 (rcS) score 0 or sacrifice child
[  108.108000] Killed process 392 (rcS) total-vm:1556kB, anon-rss:124kB, file-rss:0kB
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B[  130.516000] ubus invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[  130.524000] Call Trace:
[  130.524000] [<80012044>] dump_stack+0x8/0x34
[  130.528000] [<80062108>] dump_header.isra.16+0x44/0x128
[  130.536000] [<800624b0>] oom_kill_process+0x134/0x574
[  130.540000] [<80062e7c>] out_of_memory+0x328/0x380
[  130.544000] [<80066194>] __alloc_pages_nodemask+0x550/0x634
[  130.552000] [<800616c8>] filemap_fault+0x2d4/0x45c
[  130.556000] [<8007b9ec>] __do_fault+0xd0/0x674
[  130.560000] [<8007f828>] handle_pte_fault+0x47c/0xa08
[  130.568000] [<8007fe64>] handle_mm_fault+0xb0/0xdc
[  130.572000] [<80015f80>] do_page_fault+0x148/0x38c
[  130.576000] [<80001420>] ret_from_exception+0x0/0x24
[  130.580000] 
[  130.584000] Mem-Info:
[  130.584000] Normal per-cpu:
[  130.588000] CPU    0: hi:    0, btch:   1 usd:   0
[  130.592000] active_anon:767 inactive_anon:9 isolated_anon:0
[  130.592000]  active_file:0 inactive_file:56 isolated_file:0
[  130.592000]  unevictable:0 dirty:0 writeback:0 unstable:0
[  130.592000]  free:127 slab_reclaimable:168 slab_unreclaimable:872
[  130.592000]  mapped:5 shmem:11 pagetables:116 bounce:0
[  130.592000]  free_cma:0
[  130.624000] Normal free:508kB min:508kB low:632kB high:760kB active_anon:3068kB inactive_anon:36kB active_file:0kB inactive_file:224kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:16256kB managed:12700kB mlocked:0kB dirty:0kB writeback:0kB mapped:20kB shmem:44kB slab_reclaimable:672kB slab_unreclaimable:3488kB kernel_stack:392kB pagetables:464kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:339 all_unreclaimable? yes
[  130.668000] lowmem_reserve[]: 0 0
[  130.668000] Normal: 1*4kB (U) 1*8kB (U) 1*16kB (U) 1*32kB (U) 3*64kB (U) 0*128kB 1*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 508kB
[  130.684000] 68 total pagecache pages
[  130.688000] 0 pages in swap cache
[  130.688000] Swap cache stats: add 0, delete 0, find 0/0
[  130.696000] Free swap  = 0kB
[  130.700000] Total swap = 0kB
[  130.704000] 4096 pages RAM
[  130.708000] 876 pages reserved
[  130.708000] 263410 pages shared
[  130.712000] 2727 pages non-shared
[  130.716000] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[  130.724000] [  390]     0   390      389       31       4        0             0 rcS
[  130.732000] [  391]     0   391      376       17       4        0             0 ash
[  130.740000] [  393]     0   393      376       17       4        0             0 logger
[  130.748000] [  516]     0   516      379       20       3        0             0 syslogd
[  130.756000] [  518]     0   518      374       16       3        0             0 klogd
[  130.764000] [  520]     0   520      213       29       4        0             0 hotplug2
[  130.772000] [  525]     0   525      324       36       4        0             0 procd
[  130.780000] [  531]     0   531      398       41       3        0             0 S20network
[  130.792000] [  532]     0   532      213       29       4        0             0 hotplug2
[  130.800000] [  534]     0   534      220       15       4        0             0 ubusd
[  130.808000] [  538]     0   538      367       46       4        0             0 netifd
[  130.816000] [  621]     0   621      388       30       5        0             0 hotplug-call
[  130.824000] [  623]     0   623      374       15       3        0             0 watchdog
[  130.832000] [  624]     0   624      418       61       4        0             0 wifi
[  130.840000] [  658]     0   658      388       30       5        0             0 hotplug-call
[  130.852000] [  667]     0   667      418       64       4        0             0 wifi
[  130.860000] [  670]     0   670      377       18       4        0             0 udhcpc
[  130.868000] [  693]     0   693      399       42       3        0             0 dhcp.script
[  130.876000] [  695]     0   695      388       29       5        0             0 hotplug-call
[  130.884000] [  699]     0   699      293       34       4        0             0 ubus
[  130.892000] [  707]     0   707      418       64       4        0             0 wifi
[  130.900000] [  708]     0   708      422       68       4        0             0 wifi
[  130.908000] [  711]     0   711      295       39       3        0             0 fw3
[  130.916000] [  712]     0   712      434       17       4        0             0 iptables-restor
[  130.924000] [  713]     0   713      388       29       5        0             0 hotplug-call
[  130.936000] [  714]     0   714      376       18       5        0             0 sed
[  130.944000] [  715]     0   715      375       15       4        0             0 sysctl
[  130.952000] [  716]     0   716      374       14       3        0             0 logger
[  130.960000] [  717]     0   717      218       13       3        0             0 uci
[  130.968000] Out of memory: Kill process 390 (rcS) score 0 or sacrifice child
[  130.976000] Killed process 393 (logger) total-vm:1504kB, anon-rss:68kB, file-rss:0kB
[  131.512000] ubus invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[  131.520000] Call Trace:
[  131.520000] [<80012044>] dump_stack+0x8/0x34
[  131.524000] [<80062108>] dump_header.isra.16+0x44/0x128
[  131.532000] [<800624b0>] oom_kill_process+0x134/0x574
[  131.536000] [<80062e7c>] out_of_memory+0x328/0x380
[  131.540000] [<80066194>] __alloc_pages_nodemask+0x550/0x634
[  131.548000] [<800616c8>] filemap_fault+0x2d4/0x45c
[  131.552000] [<8007b9ec>] __do_fault+0xd0/0x674
[  131.556000] [<8007f828>] handle_pte_fault+0x47c/0xa08
[  131.564000] [<8007fe64>] handle_mm_fault+0xb0/0xdc
[  131.568000] [<80015f80>] do_page_fault+0x148/0x38c
[  131.572000] [<80001420>] ret_from_exception+0x0/0x24
[  131.576000] 
[  131.580000] Mem-Info:
[  131.580000] Normal per-cpu:
[  131.584000] CPU    0: hi:    0, btch:   1 usd:   0
[  131.588000] active_anon:750 inactive_anon:9 isolated_anon:0
[  131.588000]  active_file:7 inactive_file:55 isolated_file:0
[  131.588000]  unevictable:0 dirty:0 writeback:0 unstable:0
[  131.588000]  free:127 slab_reclaimable:168 slab_unreclaimable:872
[  131.588000]  mapped:5 shmem:11 pagetables:112 bounce:0
[  131.588000]  free_cma:0
[  131.620000] Normal free:508kB min:508kB low:632kB high:760kB active_anon:3000kB inactive_anon:36kB active_file:28kB inactive_file:220kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:16256kB managed:12700kB mlocked:0kB dirty:0kB writeback:0kB mapped:20kB shmem:44kB slab_reclaimable:672kB slab_unreclaimable:3488kB kernel_stack:392kB pagetables:448kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:220 all_unreclaimable? yes
[  131.664000] lowmem_reserve[]: 0 0
[  131.664000] Normal: 1*4kB (U) 1*8kB (U) 1*16kB (U) 1*32kB (U) 3*64kB (U) 0*128kB 1*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 508kB
[  131.680000] 81 total pagecache pages
[  131.684000] 0 pages in swap cache
[  131.684000] Swap cache stats: add 0, delete 0, find 0/0
[  131.692000] Free swap  = 0kB
[  131.696000] Total swap = 0kB
[  131.700000] 4096 pages RAM
[  131.704000] 876 pages reserved
[  131.704000] 263409 pages shared
[  131.708000] 2728 pages non-shared
[  131.712000] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[  131.720000] [  390]     0   390      389       31       4        0             0 rcS
[  131.728000] [  391]     0   391      376       17       4        0             0 ash
[  131.736000] [  516]     0   516      379       20       3        0             0 syslogd
[  131.744000] [  518]     0   518      374       16       3        0             0 klogd
[  131.752000] [  520]     0   520      213       29       4        0             0 hotplug2
[  131.760000] [  525]     0   525      324       36       4        0             0 procd
[  131.768000] [  531]     0   531      398       41       3        0             0 S20network
[  131.780000] [  532]     0   532      213       29       4        0             0 hotplug2
[  131.788000] [  534]     0   534      220       15       4        0             0 ubusd
[  131.796000] [  538]     0   538      367       46       4        0             0 netifd
[  131.804000] [  621]     0   621      388       30       5        0             0 hotplug-call
[  131.812000] [  623]     0   623      374       15       3        0             0 watchdog
[  131.820000] [  624]     0   624      418       61       4        0             0 wifi
[  131.828000] [  658]     0   658      388       30       5        0             0 hotplug-call
[  131.836000] [  667]     0   667      418       64       4        0             0 wifi
[  131.844000] [  670]     0   670      377       18       4        0             0 udhcpc
[  131.856000] [  693]     0   693      399       42       3        0             0 dhcp.script
[  131.864000] [  695]     0   695      388       29       5        0             0 hotplug-call
[  131.872000] [  699]     0   699      293       34       4        0             0 ubus
[  131.880000] [  707]     0   707      418       64       4        0             0 wifi
[  131.888000] [  708]     0   708      422       68       4        0             0 wifi
[  131.896000] [  711]     0   711      295       39       3        0             0 fw3
[  131.904000] [  712]     0   712      434       17       4        0             0 iptables-restor
[  131.912000] [  713]     0   713      388       29       5        0             0 hotplug-call
[  131.924000] [  714]     0   714      376       18       5        0             0 sed
[  131.932000] [  715]     0   715      375       15       4        0             0 sysctl
[  131.940000] [  716]     0   716      374       14       3        0             0 logger
[  131.948000] [  717]     0   717      218       13       3        0             0 uci
[  131.956000] Out of memory: Kill process 390 (rcS) score 0 or sacrifice child
[  131.964000] Killed process 390 (rcS) total-vm:1556kB, anon-rss:124kB, file-rss:0kB










  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r36656)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/# 
...

 00:03:27 up 3 min,  load average: 9.05, 4.45, 1.72
root@OpenWrt:/# [  218.728000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  220.304000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  220.860000] device wlan0 entered promiscuous mode
[  222.720000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  224.704000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

root@OpenWrt:/# [  235.188000] br-lan: port 2(wlan0) entered forwarding state
[  235.192000] br-lan: port 2(wlan0) entered forwarding state
[  235.200000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  237.196000] br-lan: port 2(wlan0) entered forwarding state
[  238.992000] [sched_delayed] sched: RT throttling activated

root@OpenWrt:/# 
root@OpenWrt:/# 
root@OpenWrt:/# uptime
 00:05:22 up 5 min,  load average: 6.34, 4.87, 2.19
root@OpenWrt:/#

Tried to run top on the device, but it seemed to be hung.
Finally got this output:

root@OpenWrt:/# pESC[ESC[Jtop -b -n 1
Mem: 11656K used, 1224K free, 0K shrd, 352K buff, 824K cached
CPU:   0% usr  99% sys   0% nic   0% idle   0% io   0% irq   0% sirq
Load average: 7.07 6.89 5.46 7/35 804
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  788     2 root     SW       0   0%  80% [irq/5-b43]
  161     2 root     SW       0   0%   3% [kworker/0:1]
  794     1 root     R     1688  13%   3% hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
  670   538 root     R     1508  12%   2% udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C
  803   391 root     R     1504  12%   2% top -b -n 1
  538     1 root     S     1468  11%   2% /sbin/netifd
  623     1 root     R     1496  12%   2% /sbin/watchdog -t 5 /dev/watchdog
   92     2 root     SW       0   0%   1% [kswapd0]
  798   667 root     S     1692  13%   1% {wifi} /bin/sh /sbin/wifi up
    6     2 root     SW       0   0%   1% [kworker/u:0]
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
  804   798 root     R     1692  13%   0% [wifi]
  667   624 root     S     1672  13%   0% {wifi} /bin/sh /sbin/wifi up
  624   531 root     S     1672  13%   0% {wifi} /bin/sh /sbin/wifi up
  531     1 root     S     1592  12%   0% {S20network} /bin/sh /etc/rc.common /etc/rc.d/S20network boot
  516     1 root     S     1516  12%   0% /sbin/syslogd -C16
    1     0 root     S     1512  12%   0% init
  391     1 root     S     1508  12%   0% /bin/ash --login
  518     1 root     S     1496  12%   0% /sbin/klogd
  525     1 root     S     1296  10%   0% /sbin/procd
  534   525 root     S <    880   7%   0% ubusd
  520     1 root     S      852   7%   0% /sbin/hotplug2 --override --persistent --set-rules-file /etc/hotplug2.rules --set-coldplug-cmd /sbin/udevtrigger --max-children 1
    4     2 root     SW       0   0%   0% [kworker/0:0]
   53     2 root     SW<      0   0%   0% [kblockd]
  366     2 root     SWN      0   0%   0% [jffs2_gcd_mtd5]
   93     2 root     SW       0   0%   0% [fsnotify_mark]
  676     2 root     SW<      0   0%   0% [kworker/0:1H]
   51     2 root     SW       0   0%   0% [bdi-default]
  160     2 root     SW<      0   0%   0% [deferwq]
    5     2 root     SW<      0   0%   0% [kworker/0:0H]
  432     2 root     SW<      0   0%   0% [cfg80211]
    2     0 root     SW       0   0%   0% [kthreadd]
    7     2 root     SW<      0   0%   0% [kworker/u:0H]
    8     2 root     SW<      0   0%   0% [khelper]
    9     2 root     SW       0   0%   0% [kworker/u:1]

root@OpenWrt:/# ^Mroot@OpenWrt:/# top -b -n 1ESC[J[ 8162.668000] bcm47xx_wdt: Watchdog will fire soon!!!

Configuration on the box is very simple - it is basically acting as an AP and currently not even encrypted

I see several other bugs regarding high CPU load on b43, but none of them refer to OOMs.

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by anonymous

Seems same problem: https://dev.openwrt.org/ticket/13550
The problem affect devices with 16MB ram?

comment:2 Changed 4 years ago by anonymous

Ah, I see now on the Attitude Adjustment (12.09 final) release notes/news item.

"Lower end devices with only 16 MiB RAM will easily run out of Memory, for bcm47xx based devices is Backfire with brcm-2.4 recommended"

That must be the issue here.
Please feel free to close.

comment:3 Changed 4 years ago by jow

  • Resolution set to wontfix
  • Status changed from new to closed

comment:4 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.