OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Very Low
  • Reported Version openwrt-21.02
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by BUG-reporter - 02.05.2021

FS#3772 - OpenWrt 21.02.0-rc1 reboots frequently after turning on wireless on TL-WR1043ND v1

Supply the following if possible:
- Device problem occurs on TP-Link TL-WR1043ND v1
- Software versions of OpenWrt/LEDE release, packages, etc. OpenWrt 21.02.0-rc1 r16046-59980f7aaf / LuCI openwrt-21.02 branch git-21.106.55967-06dd6b5

- Steps to reproduce

 

Upgrade go OpenWrt 21.02.1-rc1 without saving previous configs (otherwise system will become unstable immediately after upgrade). Turn on Wireless in Network–>Wireless–>.... After this a device becomes unstable and completely unusable starting to reboot again and again.

George commented on 16.07.2021 12:43

Are you trying to run OpenWRT 21.02 on device with 32 MB of RAM?
Please provide "free" command output before and after wifi activation.

BUG-reporter commented on 04.08.2021 00:18

Hello. Yes, I am trying to run OpenWRT 21.02 on device with 32 MB of RAM. And here is "free" command output after wifi activation:

BusyBox v1.33.1 (2021-07-31 17:21:01 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02.0-rc4, r16256-2d5ee43dc6
 -----------------------------------------------------
root@OpenWrt:/# free
              total        used        free      shared  buff/cache   available
Mem:          26044       13356        5136          80        7552        9308
Swap:             0           0           0

Now I am not able to turn off wifi because it is rebooting once I am trying to load luci in browser (and I don't know how to disable it in configs). And yes, it is because it seems oom-killer kills something:

[  639.204042] ath: Country alpha2 being used: UA
[  639.208529] ath: Regpair used: 0x3e
[  639.212057] ath: regdomain 0x8324 dynamically updated by user
[  641.884787] br-lan: port 2(wlan0) entered blocking state
[  641.890227] br-lan: port 2(wlan0) entered disabled state
[  641.896135] device wlan0 entered promiscuous mode
[  651.504163] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  651.510914] br-lan: port 2(wlan0) entered blocking state
[  651.516323] br-lan: port 2(wlan0) entered forwarding state
[  673.460083] odhcp6c invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order0
[  673.469906] CPU: 0 PID: 9059 Comm: odhcp6c Not tainted 5.4.137 #0
[  673.476164] Stack : 00000240 800b95d8 80660000 805fa440 00000000 00000000 00000000 0000
[  673.484628]         00000000 00000000 00000000 00000000 00000000 00000001 807f1bb8 02f2
[  673.493160]         807f1c50 00000000 00000000 000000b4 00000038 80579e04 6420352e 3423
[  673.501782]         000000b4 ac000000 00000000 00072b92 80000000 807f1b98 81e63a80 0000
[  673.510260]         00000000 8065e8c4 00000000 00100cca 00000000 8031f9d0 00000000 8070
[  673.518838]         ...
[  673.521349] Call Trace:
[  673.521365] [<800b95d8>] 0x800b95d8
[  673.527408] [<80660000>] 0x80660000
[  673.530965] [<80579e04>] 0x80579e04
[  673.534527] [<8031f9d0>] 0x8031f9d0
[  673.538065] [<80069364>] 0x80069364
[  673.541714] [<8006936c>] 0x8006936c
[  673.545278] [<8012e448>] 0x8012e448
[  673.548828] [<8012eee4>] 0x8012eee4
[  673.552379] [<8012f698>] 0x8012f698
[  673.555924] [<8016f26c>] 0x8016f26c
[  673.559458] [<8012a800>] 0x8012a800
[  673.562991] [<8018ab3c>] 0x8018ab3c
[  673.566690] [<8012afc4>] 0x8012afc4
[  673.570251] [<8015598c>] 0x8015598c
[  673.573783] [<80576b40>] 0x80576b40
[  673.577388] [<80127c40>] 0x80127c40
[  673.580948] [<801554d0>] 0x801554d0
[  673.584472] [<8015a440>] 0x8015a440
[  673.588045] [<8006f918>] 0x8006f918
[  673.591618] [<8008e888>] 0x8008e888
[  673.595183] [<80074d2c>] 0x80074d2c
[  673.598727] 
[  673.600446] Mem-Info:
[  673.602784] active_anon:656 inactive_anon:6 isolated_anon:0
[  673.602784]  active_file:43 inactive_file:93 isolated_file:0
[  673.602784]  unevictable:0 dirty:0 writeback:0 unstable:0
[  673.602784]  slab_reclaimable:199 slab_unreclaimable:1326
[  673.602784]  mapped:2 shmem:76 pagetables:85 bounce:0
[  673.602784]  free:1262 free_pcp:0 free_cma:0
[  673.634345] Node 0 active_anon:2624kB inactive_anon:24kB active_file:172kB inactive_fis
[  673.656692] Normal free:5048kB min:5120kB low:5376kB high:5632kB active_anon:2624kB inB
[  673.684005] lowmem_reserve[]: 0 0
[  673.687356] Normal: 208*4kB (U) 241*8kB (U) 127*16kB (U) 1*32kB (U) 3*64kB (U) 0*128kBB
[  673.700153] 212 total pagecache pages
[  673.703998] 0 pages in swap cache
[  673.707436] Swap cache stats: add 0, delete 0, find 0/0
[  673.712735] Free swap  = 0kB
[  673.715638] Total swap = 0kB
[  673.718622] 8192 pages RAM
[  673.721382] 0 pages HighMem/MovableOnly
[  673.725267] 1681 pages reserved
[  673.728440] Tasks state (memory values in pages):
[  673.733266] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_e
[  673.741996] [    617]    81   617      324       26    16384        0             0 ubd
[  673.750407] [    618]     0   618      235        9    16384        0             0 ast
[  673.759027] [    652]     0   652      261       11    12288        0             0 urd
[  673.767307] [    905]     0   905      857       80    20480        0             0 uhd
[  673.775771] [   1158]   514  1158      316       25    16384        0             0 lod
[  673.784060] [   1210]     0  1210      637      153    20480        0             0 rpd
[  673.792253] [   1413]     0  1413      287       11    16384        0             0 drr
[  673.800875] [   1511]     0  1511      900       39    24576        0             0 hod
[  673.809502] [   1512]     0  1512      888       27    24576        0             0 wpt
[  673.818578] [   1574]     0  1574      447       36    16384        0             0 ned
[  673.827021] [   1628]     0  1628      370       31    16384        0             0 odd
[  673.835455] [   2078]     0  2078      313       10    16384        0             0 udc
[  673.843824] [   2082]     0  2082      267       14    16384        0             0 odc
[  673.852534] [   2476]     0  2476      314       11    16384        0             0 ntd
[  673.860957] [   4543]   453  4543      349       23    16384        0             0 dnq
[  673.869421] [   9053]     0  9053      472       19    12288        0             0 fw3
[  673.877590] [   9056]     0  9056      327       25    16384        0             0 sh
[  673.885608] [   9058]     0  9058      327       24    16384        0             0 sh
[  673.893599] [   9059]     0  9059      267       13    16384        0             0 odc
[  673.902134] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),global_oom,task_memcg=0
[  673.912608] Out of memory: Killed process 1210 (rpcd) total-vm:2548kB, anon-rss:608kB,0
[  673.939401] oom_reaper: reaped process 1210 (rpcd), now anon-rss:0kB, file-rss:0kB, shB
[  681.545707] odhcp6c invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order0
[  681.555528] CPU: 0 PID: 2082 Comm: odhcp6c Not tainted 5.4.137 #0
[  681.561708] Stack : 00000240 800b95d8 80660000 805fa440 00000000 00000000 00000000 0000
[  681.570219]         00000000 00000000 00000000 00000000 00000000 00000001 809efbb8 5b82
[  681.578879]         809efc50 00000000 00000000 000000f9 00000038 80579e04 6420352e 3423
[  681.587529]         000000f9 ad200000 00000000 00087a08 80000000 809efb98 81e609c0 0000
[  681.596151]         00000000 8065e8c4 00000000 00100cca 00000000 8031f9d0 00000000 8070
[  681.604696]         ...
[  681.607162] Call Trace:
[  681.607179] [<800b95d8>] 0x800b95d8
[  681.613206] [<80660000>] 0x80660000
[  681.616882] [<80579e04>] 0x80579e04
[  681.620465] [<8031f9d0>] 0x8031f9d0
[  681.624004] [<80069364>] 0x80069364
[  681.627512] [<8006936c>] 0x8006936c
[  681.631187] [<8012e448>] 0x8012e448
[  681.634776] [<8012eee4>] 0x8012eee4
[  681.638320] [<8012f698>] 0x8012f698
[  681.641966] [<8016f26c>] 0x8016f26c
[  681.645550] [<8012a800>] 0x8012a800
[  681.649102] [<8012afc4>] 0x8012afc4
[  681.652630] [<80576b40>] 0x80576b40
[  681.656271] [<80127c40>] 0x80127c40
[  681.659831] [<801554d0>] 0x801554d0
[  681.663344] [<8015a440>] 0x8015a440
[  681.666909] [<8006f918>] 0x8006f918
[  681.670456] [<80074d2c>] 0x80074d2c
[  681.674003] 
[  681.675502] Mem-Info:
[  681.677836] active_anon:506 inactive_anon:6 isolated_anon:0
[  681.677836]  active_file:93 inactive_file:132 isolated_file:0
[  681.677836]  unevictable:0 dirty:0 writeback:0 unstable:0
[  681.677836]  slab_reclaimable:198 slab_unreclaimable:1319
[  681.677836]  mapped:2 shmem:76 pagetables:80 bounce:0
[  681.677836]  free:1249 free_pcp:0 free_cma:0
[  681.709627] Node 0 active_anon:2024kB inactive_anon:24kB active_file:372kB inactive_fis
[  681.732081] Normal free:4996kB min:5120kB low:5376kB high:5632kB active_anon:2024kB inB
[  681.759211] lowmem_reserve[]: 0 0
[  681.762599] Normal: 115*4kB (U) 225*8kB (UE) 129*16kB (UE) 7*32kB (UE) 7*64kB (UE) 0*1B
[  681.775590] 301 total pagecache pages
[  681.779310] 0 pages in swap cache
[  681.782742] Swap cache stats: add 0, delete 0, find 0/0
[  681.788038] Free swap  = 0kB
[  681.790928] Total swap = 0kB
[  681.794046] 8192 pages RAM
[  681.796835] 0 pages HighMem/MovableOnly
[  681.800706] 1681 pages reserved
[  681.803880] Tasks state (memory values in pages):
[  681.808688] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_e
[  681.817407] [    617]    81   617      324       26    16384        0             0 ubd
[  681.825762] [    618]     0   618      235        9    16384        0             0 ast
[  681.834437] [    652]     0   652      261       11    12288        0             0 urd
[  681.842721] [    905]     0   905      857       80    20480        0             0 uhd
[  681.851147] [   1158]   514  1158      316       27    16384        0             0 lod
[  681.859403] [   1413]     0  1413      287       11    16384        0             0 drr
[  681.867936] [   1511]     0  1511      900       39    24576        0             0 hod
[  681.876589] [   1512]     0  1512      888       27    24576        0             0 wpt
[  681.885851] [   1574]     0  1574      447       36    16384        0             0 ned
[  681.894464] [   1628]     0  1628      370       31    16384        0             0 odd
[  681.902932] [   2078]     0  2078      313       10    16384        0             0 udc
[  681.911304] [   2082]     0  2082      267       14    16384        0             0 odc
[  681.919732] [   2476]     0  2476      314       11    16384        0             0 ntd
[  681.927959] [   4543]   453  4543      349       23    16384        0             0 dnq
[  681.936548] [   9053]     0  9053      472       19    12288        0             0 fw3
[  681.944660] [   9056]     0  9056      327       25    16384        0             0 sh
[  681.952744] [   9058]     0  9058      327       24    16384        0             0 sh
[  681.960764] [   9059]     0  9059      267       13    16384        0             0 odc
[  681.969183] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),global_oom,task_memcg=0
[  681.979635] Out of memory: Killed process 905 (uhttpd) total-vm:3428kB, anon-rss:316kB0
[  681.998782] oom_reaper: reaped process 905 (uhttpd), now anon-rss:0kB, file-rss:0kB, sB
BUG-reporter commented on 04.08.2021 00:21

Also if 21.02 is not for this device, why there are package builds for it?

George commented on 02.09.2021 21:26

Out of memory: Killed process

1. ask someone skilled to replace RAM with 64MB module - device will behave 'less worse'

2. remove luci and hope for the best

3. time to replace device with something different/better

https://openwrt.org/tag/32ram

https://openwrt.org/tag/64ram

Also if 21.02 is not for this device, why there are package builds for it?

Because:

- SoC is still supported

- image fits into Flash

BUG-reporter commented on 05.09.2021 18:05
- image fits into Flash

Image fits but router works unstable. So what's the point?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing