Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Odroid C2] Ethernet interface meson8b-dwmac lockup on medium traffic

Featured Replies

Hello,

I am using up to date Armbian - Debian Buster with Armbian Linux 4.19.69-meson64
Linux version 4.19.69-meson64 (root@builder) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.95 SMP PREEMPT Mon Sep 2 01:21:39 CEST 2019.

 

I have encountered Ethernet interface lockup on medium traffic (after 30s-120s when copying big files from external usb disk by sshfs - 240Mb/s).

At high/medium Ethernet traffic the issue always occurs.

It is most likely caused by some kernel update because I didn't have such problem before.

Similar issue: https://github.com/rockchip-linux/kernel/issues/27

 

[ 1584.165514] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: discard
[ 1689.827553] ------------[ cut here ]------------
[ 1689.827600] NETDEV WATCHDOG: eth0 (meson8b-dwmac): transmit queue 0 timed out
[ 1689.827721] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:461 dev_watchdog+0x2b4/0x2c0
[ 1689.827736] Modules linked in: uas nf_log_ipv4 nf_log_common nft_limit xt_tcpudp xt_multiport xt_LOG xt_limit xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nf_nat_ipv4 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink meson_rng rng_core scpi_hwmon meson_gxbb_wdt ip_tables x_tables realtek
[ 1689.827866] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.69-meson64 #5.95
[ 1689.827871] Hardware name: Hardkernel ODROID-C2 (DT)
[ 1689.827881] pstate: 20000005 (nzCv daif -PAN -UAO)
[ 1689.827892] pc : dev_watchdog+0x2b4/0x2c0
[ 1689.827901] lr : dev_watchdog+0x2b4/0x2c0
[ 1689.827906] sp : ffff000008003da0
[ 1689.827912] x29: ffff000008003da0 x28: 0000000000000005 
[ 1689.827926] x27: 0000000000000020 x26: 00000000ffffffff 
[ 1689.827939] x25: 0000000000000140 x24: ffff800071250480 
[ 1689.827952] x23: ffff80007125045c x22: ffff800070ca5940 
[ 1689.827965] x21: ffff000008e77000 x20: ffff800071250000 
[ 1689.827978] x19: 0000000000000000 x18: ffffffffffffffff 
[ 1689.827991] x17: 0000000000000000 x16: 0000000000000000 
[ 1689.828004] x15: ffff000008e93000 x14: 00000000fffffff0 
[ 1689.828017] x13: ffff000008f2786a x12: ffff000008e93000 
[ 1689.828030] x11: 0000000000000000 x10: ffff000008f26000 
[ 1689.828043] x9 : 0000000000000000 x8 : 0000000000000001 
[ 1689.828055] x7 : 0000000000000000 x6 : 0000000000000123 
[ 1689.828068] x5 : 0000000000000000 x4 : 0000000000000001 
[ 1689.828080] x3 : 0000000000000000 x2 : ffff000008e7c358 
[ 1689.828093] x1 : 2481295eb9750900 x0 : 0000000000000000 
[ 1689.828105] Call trace:
[ 1689.828117]  dev_watchdog+0x2b4/0x2c0
[ 1689.828131]  call_timer_fn+0x20/0x78
[ 1689.828143]  expire_timers+0xa4/0xb0
[ 1689.828154]  run_timer_softirq+0xe4/0x1a0
[ 1689.828164]  __do_softirq+0x10c/0x200
[ 1689.828174]  irq_exit+0xac/0xc0
[ 1689.828186]  __handle_domain_irq+0x60/0xb0
[ 1689.828194]  gic_handle_irq+0x58/0xa8
[ 1689.828201]  el1_irq+0xb0/0x128
[ 1689.828212]  arch_cpu_idle+0x10/0x18
[ 1689.828220]  do_idle+0x1d4/0x298
[ 1689.828229]  cpu_startup_entry+0x20/0x28
[ 1689.828243]  rest_init+0xcc/0xd8
[ 1689.828256]  start_kernel+0x3d4/0x400
[ 1689.828269] ---[ end trace b79bbf67547ae10f ]---
[ 1689.828334] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[ 1689.909766] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=37)
[ 1689.922902] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 1689.922925] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 1693.046757] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1737.955616] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[ 1738.037764] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=37)
[ 1738.050715] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 1738.050737] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 1741.822114] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

 

I see this behaviour with 4.19.69-meson64, too.  Switched back to 4.19.57-meson64. 

 

 

Hmmm. I dont use sshfs - but samba/cifs and I copied

-rwxrwxrwx 1 root root 1031158598 Nov 12  2015  Starfighter.mp4
from my video-share

[ 6151.533916] CIFS: Attempting to mount //192.168.6.xxx/video

without any errors to the local sdcard.

 

I did compile today the following current version:

Armbian Buster with Linux 5.3.13-meson64
package bsp-kernel[19.11.3] u-boot[19.11.3] dtb[19.11.3] firmware[19.11.3] config[19.11.3]
branch[current]

 

compiled today Armbian_19.11.3_Odroidc2_buster_dev_5.4.1.img

and it does boot and doesnt hang/timeout at a 350MB cifs/samba copy ;) 

 

Now in test as a second Pihole.

 

armbianmonitor -u
System diagnosis information will now be uploaded to http://ix.io/23hZ
 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.