Hi,
this is most certainly a bug in the kernel. either the ethernet driver
blows up under load or some other memory allocation related bug. it is
very common for ethernet to kill boards under load by triggering bugs.
John
On 24/04/17 05:49, Y.B. Lu wrote:
Hi John and Jo-Philipp,
Have you ever got similar problem, or known any possible reason about this,
or known anyone who probably know this?
I just found much memory would be consumed if I configured board as bridge mode
in /etc/config/network and did UDP throughput test.
But using brctl to configure bridge mode didn't consume memory.
Thank you very much.
Best regards,
Yangbo Lu
-----Original Message-----
From: Y.B. Lu
Sent: Thursday, April 13, 2017 1:24 PM
To: 'lede-dev@lists.infradead.org'
Subject: UDP throughput caused kernel panic if configured bridge mode in
/etc/config/network
Hi all,
Recently I got below kernel panic when did UDP throughput test on NXP
LS1043ARDB board. I configured the bridge mode in /etc/config/network.
But if I used 'brctl' to configure the bridge mode, this issue would not
happen.
I also noticed almost all memory was consumed(about 700MB) when kernel
crashed.
Anyone have any idea about this? Thank you very much.
root@LEDE:/etc/fmc/config# [ 263.981540] ksoftirqd/3: page allocation
failure: order:0, mode:0x2080020 [ 263.988339] CPU: 3 PID: 19 Comm:
ksoftirqd/3 Not tainted 4.4.52 #0 [ 263.994508] Hardware name: Freescale
LS1043A [ 263.998767] Backtrace:
[ 264.001213] [<c001b324>] (dump_backtrace) from [<c001b520>]
(show_stack+0x18/0x1c) [ 264.008771] r7:00000000 r6:00000000
r5:60000013 r4:00000000 [ 264.014435] [<c001b508>] (show_stack) from
[<c01a2d08>] (dump_stack+0x84/0xa4) [ 264.021652] [<c01a2c84>]
(dump_stack) from [<c008e6ec>] (warn_alloc_failed+0xf0/0x114)
[ 264.029558] r5:02080020 r4:00000000 [ 264.033133] [<c008e600>]
(warn_alloc_failed) from [<c0090aa0>] (__alloc_pages_nodemask+0x68c/0x6c0)
[ 264.042166] r3:00000000 r2:00000000
[ 264.045735] r7:00000030 r6:02080020 r5:00000000 r4:02080020
[ 264.051400] [<c0090414>] (__alloc_pages_nodemask) from [<c02e9000>]
(_dpa_bp_add_8_bufs+0x40/0x250) [ 264.060434] r10:c001db08 r9:ebc93d48
r8:ebf61650 r7:00000003 r6:00000004 r5:eb603c10 [ 264.068266]
r4:8193f040 [ 264.070796] [<c02e8fc0>] (_dpa_bp_add_8_bufs) from
[<c02e9238>] (dpaa_eth_refill_bpools+0x28/0x58)
[ 264.079742] r10:eb09d480 r9:eb604a74 r8:ef1d9400 r7:eb09d000
r6:ebf61650 r5:ef1e0b44 [ 264.087577] r4:0000007f [ 264.090106]
[<c02e9210>] (dpaa_eth_refill_bpools) from [<c02e80a0>]
(priv_rx_default_dqrr+0xd8/0x124) [ 264.099313] r7:eb09d000 r6:ebf61650
r5:ef1e0b44 r4:ef1e15e0
The /etc/config/network for bridge mode as below.
config interface 'lan'
option type 'bridge'
option ifname 'eth2 eth6'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
brctl manual config as below.
ifconfig eth2 up
ifconfig eth6 up
brctl addif br-lan eth6
brctl addif br-lan eth2
best regards,
Yangbo Lu
_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev
_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev