New Build - 02/13/2023 - r51679

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Mon Feb 13, 2023 15:17    Post subject: New Build - 02/13/2023 - r51679 Reply with quote
Welcome to MediaTek r51679 beta release thread for reporting, feedback to developers & community benefit.
Please do not flash builds until installation is understood, risks involved and device specific recovery methods.
Avoid discussions, create threads for questions, general problems or use search; this thread is not for support.
List router model & version or revision, operating & wireless modes & exact filename/firmware image flashed.


CLI Flash: 'cd /tmp' then 'wget {file URL}' (http only) or 'curl -O {file URL}' (http, https, ftp). 'write {file} linux' then 'reboot'.

Downloads: HTTPS, FTP

Trac SVN: repository since last build 51617 (mirror)

OpenVPN 2.6.0: Changelog, Guides, Server, PBR, DNS, Kill Switch, Watchdog, Reverse PBR, Client, Multiple, tips & scripts.
WireGuard 1.0.20211208/Tools: Changelog, Guides, Client, Server, Adv, PBR, KS, tips & scripts. Thanks BS egc & eibgrad!

Notes:
mDNS/Avahi 2022>2023 SC ProFTPD kernel syslog WG DD dnsmasq Transmission DNSCrypt Unbound FW wolfSSL Tor DRV
In-kernel SMB (ksmbd/tools 3.4.6/3.4.5): guest user is selectable. • WSD updateANTFS/NTFS3 kernel mode driver++++

Issues, observations, and/or workarounds reported:
WebUI: Clear history or use a portable. Temporary cache bypass: Ctrl+F5, Cmd+Shift+R or new private window/incognito.
Please report findings with steps needed to reproduce, configuration, clients, output, logs and important information below!

Important:
Detail issues & relevant configs, logs: syslog klog 'dmesg' 'cat /tmp/var/log/messages' nvram set console_debug=1, serial.
• Firewall NAT: 'iptables -vnL' 'iptables -t nat -vnL' 'iptables -t mangle -vnL' & 'cat /tmp/.ipt'. Misc: strace tcpdump wireshark.
• Gremlins: reboot. cold boot. Reset & reconfigure not restore backup. Search Trac & discuss in forum before opening tickets.
• Include operating & wireless modes (e.g. Gateway, Router, AP, SB, WDS, Mesh) and applicable configurations to reproduce.

Example Template:
Code:
[b]Router/Version: [/b]
[b]File/Kernel: [/b]
[b]Previous/Reset: [/b]
[b]Mode/Status: [/b]
[b]Issues/Errors: [/b]
Sponsor
Milax
DD-WRT User


Joined: 24 Oct 2020
Posts: 175

PostPosted: Tue Feb 14, 2023 18:03    Post subject: Reply with quote
Router Model / Version: Dlink DIR-882 A1
File: dlink-dir882-a1-webflash.bin
Firmware: DD-WRT v3.0-r51679 std (02/12/23)
Previous: DD-WRT v3.0-r51506 std (01/25/23)
Reset: Yes
Mode: AP
Uptime: few hours
Services: Openvpn client, DLNA, SAMBA, PPPOE
Status: working


MiniDLNA database won't build or rebuild completely (no audio or image files detected and only half of video files detected). SMB works well and all the files are present and working properly when exploring the hard drive via SMB on computer.

DMESG message:

Quote:
[ 794.193454] cron invoked oom-killer: gfp_mask=0x15080c0(GFP_KERNEL_ACCOUNT|__GFP_ZERO), nodemask=(null), order=1, oom_score_adj=0
[ 794.216987] CPU: 0 PID: 3691 Comm: cron Not tainted 4.14.304 #3485
[ 794.229287] Stack : 00000000 00003f56 00000040 80085c28 00000000 00000000 80650000 80650000
[ 794.245926] 80585368 856d7c44 80580234 87466abc 805ef787 00000001 856d7be8 00000007
[ 794.262554] 00000000 00000000 80650000 00000000 81147bb8 34206465 00000000 00000000
[ 794.279189] 00000007 00000000 ffffffff 856d7a80 80000000 80610000 00000000 80588928
[ 794.295846] 0000020e 00000001 ffffffff 00003f56 00000001 802a07fc 00000000 80650000
[ 794.312496] ...
[ 794.317362] Call Trace:
[ 794.322255] [<8001544c>] show_stack+0x58/0x100
[ 794.331121] [<804c56b4>] dump_stack+0xa4/0xe0
[ 794.339825] [<800d8440>] dump_header.constprop.0+0x90/0x1d4
[ 794.350934] [<800d7698>] oom_kill_process+0x10c/0x4c4
[ 794.360998] [<800d82d8>] out_of_memory+0x3b4/0x424
[ 794.370564] [<800df31c>] __alloc_pages_slowpath+0x968/0xcb4
[ 794.381651] [<800df7c8>] __alloc_pages_nodemask+0x160/0x178
[ 794.392729] [<80032460>] copy_process+0x160/0x16c0
[ 794.402250] [<800341e0>] sys_fork+0x4c/0xf4
[ 794.410574] [<8001f678>] syscall_common+0x34/0x58
[ 794.420203] Mem-Info:
[ 794.424743] active_anon:17827 inactive_anon:0 isolated_anon:0
[ 794.424743] active_file:466 inactive_file:392 isolated_file:0
[ 794.424743] unevictable:161 dirty:0 writeback:0 unstable:0
[ 794.424743] slab_reclaimable:1400 slab_unreclaimable:3168
[ 794.424743] mapped:6 shmem:0 pagetables:128 bounce:0
[ 794.424743] free:1179 free_pcp:97 free_cma:0
[ 794.488554] Node 0 active_anon:71308kB inactive_anon:0kB active_file:1864kB inactive_file:1568kB unevictable:644kB isolated(anon):0kB isolated(file):0kB mapped:24kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB unstable:0kB all_unreclaimable?
es
[ 794.533144] Normal free:4720kB min:4096kB low:5120kB high:6144kB active_anon:71308kB inactive_anon:0kB active_file:1732kB inactive_file:1568kB unevictable:644kB writepending:0kB present:131072kB managed:123148kB mlocked:0kB kernel_stack:888kB pageta
les:512kB bounce:0kB free_pcp:384kB local_pcp:176kB free_cma:0kB
[ 794.588460] lowmem_reserve[]: 0 0 0
[ 794.595470] Normal: 42*4kB (UMEH) 88*8kB (UMEH) 37*16kB (MEH) 22*32kB (MEH) 3*64kB (MEH) 7*128kB (MEH) 1*256kB (M) 2*512kB (MH) 0*1024kB 0*2048kB 0*4096kB = 4536kB
[ 794.624696] 1135 total pagecache pages
[ 794.632172] 32768 pages RAM
[ 794.637717] 0 pages HighMem/MovableOnly
[ 794.645408] 1981 pages reserved
[ 794.651681] [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name
[ 794.668716] [ 1238] 0 1238 256 20 4 0 0 0 hotplug2
[ 794.686431] [ 1243] 0 1243 311 29 3 0 0 0 irqbalance
[ 794.704523] [ 1306] 0 1306 481 26 4 0 0 0 watchdog
[ 794.722232] [ 1441] 0 1441 1002 57 4 0 0 0 hostapd
[ 794.739737] [ 1475] 0 1475 977 58 4 0 0 0 hostapd
[ 794.757230] [ 1570] 0 1570 648 26 3 0 0 0 telnetd
[ 794.774918] [ 1585] 0 1585 648 26 4 0 0 0 klogd
[ 794.792405] [ 1636] 0 1636 334 13 4 0 0 0 dropbear
[ 794.810134] [ 1948] 0 1948 357 30 4 0 0 0 pppd
[ 794.827422] [ 1950] 0 1950 481 25 3 0 0 0 redial
[ 794.844867] [ 1953] 0 1953 482 26 3 0 0 0 ttraff
[ 794.862562] [ 1963] 0 1963 1142 92 5 0 0 0 httpd
[ 794.879789] [ 1965] 0 1965 387 18 3 0 0 0 resetbutton
[ 794.898354] [ 2249] 0 2249 292 17 4 0 0 0 dnsmasq
[ 794.915949] [ 2270] 0 2270 1085 316 5 0 0 0 smartdns
[ 794.933736] [ 2623] 0 2623 252 13 3 0 0 0 wsdd2
[ 794.951127] [ 2630] 0 2630 281 14 4 0 0 0 ksmbd.mountd
[ 794.969622] [ 2633] 0 2633 290 19 4 0 0 0 ksmbd.mountd
[ 794.988038] [ 2642] 0 2642 881 111 3 0 0 0 openvpn
[ 795.005973] [ 2678] 0 2678 252 12 4 0 0 0 wsdd2
[ 795.023471] [ 2805] 0 2805 649 26 4 0 0 0 syslogd
[ 795.041048] [ 2808] 0 2808 252 13 3 0 0 0 wsdd2
[ 795.058460] [ 2822] 0 2822 252 13 4 0 0 0 wsdd2
[ 795.075651] [ 2895] 0 2895 252 13 3 0 0 0 wsdd2
[ 795.092851] [ 3033] 0 3033 252 13 3 0 0 0 wsdd2
[ 795.110020] [ 3691] 0 3691 247 9 4 0 0 0 cron
[ 795.127376] [ 3695] 0 3695 481 25 4 0 0 0 process_monitor
[ 795.146365] [ 3733] 0 3733 1191 73 4 0 0 0 minidlna
[ 795.164109] [ 3736] 0 3736 17608 16695 20 0 0 0 minidlna
[ 795.181823] Out of memory: Kill process 3736 (minidlna) score 526 or sacrifice child
[ 795.197325] Killed process 3736 (minidlna) total-vm:70432kB, anon-rss:66780kB, file-rss:0kB, shmem-rss:0kB
[ 795.268996] oom_reaper: reaped process 3736 (minidlna), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[ 1152.852298] fast-classifier: shutting down
[ 1153.534003] fast-classifier (PBR safe v2.1.6b): starting up
[ 1153.545418] fast-classifier: registered
[ 1154.717219] fast-classifier: shutting down
[ 1158.022267] fast-classifier (PBR safe v2.1.6b): starting up
[ 1158.033725] fast-classifier: registered
[ 1858.760024] cron invoked oom-killer: gfp_mask=0x15080c0(GFP_KERNEL_ACCOUNT|__GFP_ZERO), nodemask=(null), order=1, oom_score_adj=0
[ 1858.783573] CPU: 0 PID: 3691 Comm: cron Not tainted 4.14.304 #3485
[ 1858.795884] Stack : 00000000 00000010 00000040 80085c28 00000000 00000000 80650000 80650000
[ 1858.812548] 80585368 856d7c44 80580234 87466abc 805ef787 00000001 856d7be8 00000007
[ 1858.829191] 00000000 00000000 80650000 00000000 81147bb8 34206465 00000000 00000000
[ 1858.845832] 00000007 00000000 ffffffff 856d7a80 80000000 80610000 00000000 80588928
[ 1858.862475] 0000020e 00000001 ffffffff 00000010 00000001 802a07fc 00000000 80650000
[ 1858.879117] ...
[ 1858.883977] Call Trace:
[ 1858.888864] [<8001544c>] show_stack+0x58/0x100
[ 1858.897718] [<804c56b4>] dump_stack+0xa4/0xe0
[ 1858.906410] [<800d8440>] dump_header.constprop.0+0x90/0x1d4
[ 1858.917496] [<800d7698>] oom_kill_process+0x10c/0x4c4
[ 1858.927545] [<800d82d8>] out_of_memory+0x3b4/0x424
[ 1858.937077] [<800df31c>] __alloc_pages_slowpath+0x968/0xcb4
[ 1858.948201] [<800df7c8>] __alloc_pages_nodemask+0x160/0x178
[ 1858.959299] [<80032460>] copy_process+0x160/0x16c0
[ 1858.968829] [<800341e0>] sys_fork+0x4c/0xf4
[ 1858.977162] [<8001f678>] syscall_common+0x34/0x58
[ 1858.987665] Mem-Info:
[ 1858.992770] active_anon:17852 inactive_anon:0 isolated_anon:0
[ 1858.992770] active_file:257 inactive_file:551 isolated_file:32
[ 1858.992770] unevictable:163 dirty:0 writeback:0 unstable:0
[ 1858.992770] slab_reclaimable:1372 slab_unreclaimable:3202
[ 1858.992770] mapped:7 shmem:0 pagetables:131 bounce:0
[ 1858.992770] free:1079 free_pcp:127 free_cma:0
[ 1859.057096] Node 0 active_anon:71408kB inactive_anon:0kB active_file:1588kB inactive_file:1604kB unevictable:652kB isolated(anon):0kB isolated(file):128kB mapped:28kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB unstable:0kB all_unreclaimable
no
[ 1859.101916] Normal free:3964kB min:4096kB low:5120kB high:6144kB active_anon:71408kB inactive_anon:0kB active_file:1280kB inactive_file:2252kB unevictable:652kB writepending:0kB present:131072kB managed:123148kB mlocked:0kB kernel_stack:880kB pageta
les:524kB bounce:0kB free_pcp:568kB local_pcp:156kB free_cma:0kB
[ 1859.157243] lowmem_reserve[]: 0 0 0
[ 1859.164325] Normal: 57*4kB (UMEH) 73*8kB (UEH) 21*16kB (MEH) 38*32kB (UMH) 17*64kB (UEH) 2*128kB (H) 0*256kB 1*512kB (H) 0*1024kB 0*2048kB 0*4096kB = 4220kB
[ 1859.192479] 1086 total pagecache pages
[ 1859.200023] 32768 pages RAM
[ 1859.205573] 0 pages HighMem/MovableOnly
[ 1859.213312] 1981 pages reserved
[ 1859.219555] [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name
[ 1859.236593] [ 1238] 0 1238 256 20 4 0 0 0 hotplug2
[ 1859.254321] [ 1243] 0 1243 311 29 3 0 0 0 irqbalance
[ 1859.272381] [ 1306] 0 1306 481 26 4 0 0 0 watchdog
[ 1859.290089] [ 1441] 0 1441 1002 57 4 0 0 0 hostapd
[ 1859.307605] [ 1475] 0 1475 1004 58 4 0 0 0 hostapd
[ 1859.325137] [ 1570] 0 1570 648 26 3 0 0 0 telnetd
[ 1859.342679] [ 1585] 0 1585 648 26 4 0 0 0 klogd
[ 1859.359867] [ 1636] 0 1636 334 13 4 0 0 0 dropbear
[ 1859.377591] [ 1948] 0 1948 357 30 4 0 0 0 pppd
[ 1859.394620] [ 1950] 0 1950 482 26 3 0 0 0 redial
[ 1859.412033] [ 1953] 0 1953 482 25 3 0 0 0 ttraff
[ 1859.429397] [ 1963] 0 1963 1113 96 5 0 0 0 httpd
[ 1859.446609] [ 1965] 0 1965 387 18 3 0 0 0 resetbutton
[ 1859.464910] [ 2249] 0 2249 292 18 4 0 0 0 dnsmasq
[ 1859.482519] [ 2270] 0 2270 1095 325 5 0 0 0 smartdns
[ 1859.500268] [ 2623] 0 2623 252 13 3 0 0 0 wsdd2
[ 1859.517513] [ 2630] 0 2630 281 14 4 0 0 0 ksmbd.mountd
[ 1859.535955] [ 2633] 0 2633 290 19 4 0 0 0 ksmbd.mountd
[ 1859.554404] [ 2642] 0 2642 881 111 3 0 0 0 openvpn
[ 1859.571971] [ 2678] 0 2678 252 12 4 0 0 0 wsdd2
[ 1859.589152] [ 2805] 0 2805 649 26 4 0 0 0 syslogd
[ 1859.606663] [ 2808] 0 2808 252 13 3 0 0 0 wsdd2
[ 1859.623843] [ 2822] 0 2822 252 13 4 0 0 0 wsdd2
[ 1859.641016] [ 2895] 0 2895 252 13 3 0 0 0 wsdd2
[ 1859.658174] [ 3033] 0 3033 252 13 3 0 0 0 wsdd2
[ 1859.675377] [ 3691] 0 3691 247 9 4 0 0 0 cron
[ 1859.692551] [ 3695] 0 3695 481 25 4 0 0 0 process_monitor
[ 1859.711524] [ 4590] 0 4590 1191 73 4 0 0 0 minidlna
[ 1859.729323] [ 4599] 0 4599 17608 16695 20 0 0 0 minidlna
[ 1859.747071] [ 4837] 0 4837 252 13 3 0 0 0 wsdd2
[ 1859.764431] Out of memory: Kill process 4599 (minidlna) score 526 or sacrifice child
[ 1859.779952] Killed process 4599 (minidlna) total-vm:70432kB, anon-rss:66780kB, file-rss:0kB, shmem-rss:0kB
[ 1859.846486] oom_reaper: reaped process 4599 (minidlna), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB


Last edited by Milax on Thu Feb 16, 2023 17:37; edited 1 time in total
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1952

PostPosted: Tue Feb 14, 2023 20:03    Post subject: Reply with quote
If this device is in wired AP mode (not a gateway to another subnet or the internet), turn off ttraff daemon on the services page.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Milax
DD-WRT User


Joined: 24 Oct 2020
Posts: 175

PostPosted: Wed Feb 15, 2023 6:44    Post subject: Reply with quote
dale_gribble39 wrote:
If this device is in wired AP mode (not a gateway to another subnet or the internet), turn off ttraff daemon on the services page.


Thanks for the answer. I disabled ttraff but it didn't solve the issue. Still a maximum of 346 video files detected (there's a bit more than 500 video file in the drive), zero audio and image files (among thousands). MiniDlna may be crashing before ending the process. With older builds, minidlna database could be built/rebuilt almost without issues.


Last edited by Milax on Fri Feb 17, 2023 16:58; edited 1 time in total
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2999
Location: Germany

PostPosted: Wed Feb 15, 2023 8:08    Post subject: Reply with quote
the log says something about oom killer, the router is running out of RAM
Milax
DD-WRT User


Joined: 24 Oct 2020
Posts: 175

PostPosted: Wed Feb 15, 2023 16:59    Post subject: Reply with quote
ho1Aetoo wrote:
the log says something about oom killer, the router is running out of RAM


Thanks. I also suspected CPU or RAM usage issue, so i disabled syslogd, klogd, openvpn, smartdns and minidlna. Then i deleted minidlna database in command line and rebooted the router.

I waited until cpu usage was near zero, and started minidlna, triggering database building. Everything was ok until nearly 346 video file were detected (strange, always the same number ! no matter what services are active) and then, CPU went very fast to 100%+ usage and minidlna was restarted with 346 files detected as usual.



My thought is your are totally right, ram issue but to my understanding, that's the consequence not the cause. I feel that something's wrong, since i never had those issues with older builds (don't know when it started though, since i don't rebuild the database often).
Milax
DD-WRT User


Joined: 24 Oct 2020
Posts: 175

PostPosted: Fri Feb 17, 2023 11:07    Post subject: Reply with quote
I finally found what was causing the issue. When building MiniDlna database, one relatively large video file (16GB+) was causing ram usage to increase exponetially and minidlna service to stop responding. That's why database building process was always stopping at the same number of files (346) because it never could go beyond the large video file as described above.

In conclusion, the issue was not directly related to this build. However, since i never experienced the issue before with older builds, may be most recent minidlna versions have heavier memory usage.

Thanks to all for the help

egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12914
Location: Netherlands

PostPosted: Fri Feb 17, 2023 14:24    Post subject: Reply with quote
If you have a fast SSD you can try with a SWAP file to increase memory, use something like a SWAP file of 1 or 2 GB
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Milax
DD-WRT User


Joined: 24 Oct 2020
Posts: 175

PostPosted: Fri Feb 17, 2023 16:02    Post subject: Reply with quote
egc wrote:
If you have a fast SSD you can try with a SWAP file to increase memory, use something like a SWAP file of 1 or 2 GB


Thanks for the advice egc, i'd be happy to try it but i honestly have no idea on how to proceed. I'll do some research on this topic.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum