Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X96 Max+ 2101 ethernet issue for big size file upload/download #920

Closed
salsabilng opened this issue Jan 12, 2023 · 2 comments
Closed

X96 Max+ 2101 ethernet issue for big size file upload/download #920

salsabilng opened this issue Jan 12, 2023 · 2 comments

Comments

@salsabilng
Copy link

salsabilng commented Jan 12, 2023

Hi there! thank you for your hard work, nice.
But i face an issue, whenever i start to download/uploading big files, i get these error in kernel log, and my ethernet suddenly lost its connection, and reconnect back, but only LAN connection is working, the box cannot reach the internet afterwards, i need to reboot the box and it working again. Is this a known bug or do i missing something?

I've tried several stable kernel from 5.4 to 6.1 but apparently all kernel (including dev kernel) face the issues

The ethernet adapter is JL2101 Gigabit Ethernet,

Is there any workaround to do?

My experience using the armbian for 7 days, :
The Armbian boot from mmc using mainline uboot, and all seems working properly, i dont know about the wifi (RTL8822CS), using 5.x kernel seems acknowledge the adapter and shows wlan0, but i never use it. only the ethernet matters, so this issue really struggle me

Device Information | 设备信息

  • SOC: s905x3 (I use freq min : 1 Ghz to 1,7 Ghz with schedutil governor, it stays mostly on 1,4 Ghz)
  • Model: X96 Max+ 2101

Armbian Version | 系统版本

  • Kernel Version: 5.19.17-ophub
  • Release: Bullseye 22.11 (Rebuild from odroid n2)

Here is the watchdog log,


Jan 12 22:44:20 blackBox kernel: [ 2622.945444] ------------[ cut here ]------------
Jan 12 22:44:20 blackBox kernel: [ 2622.948223] NETDEV WATCHDOG: eth0 (meson8b-dwmac): transmit queue 0 timed out
Jan 12 22:44:21 blackBox kernel: [ 2622.954317] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:530 dev_watchdog+0x218/0x22c
Jan 12 22:44:21 blackBox kernel: [ 2622.962446] Modules linked in: veth nf_conntrack_netlink br_netfilter bridge openvfd tun cpufreq_conservative cpufreq_userspace cpufreq_powersave nft_chain_nat xt_nat xt_MASQUERADE nf_nat xt_addrtype xt_multiport ipt_REJECT nf_reject_ipv4 xt_state zram xt_conntrack xt_tcpudp nft_compat nf_tables nfnetlink 88x2cs sg cfg80211 rfkill snd_soc_meson_axg_sound_card snd_soc_meson_g12a_tohdmitx snd_soc_meson_card_utils meson_gxbb_wdt panfrost gpu_sched drm_shmem_helper snd_soc_meson_codec_glue snd_soc_meson_axg_tdmout snd_soc_meson_axg_frddr snd_soc_meson_axg_fifo meson_vdec(C) videobuf2_dma_contig v4l2_mem2mem snd_soc_meson_axg_tdm_interface snd_soc_meson_axg_tdm_formatter tcp_bbr sch_fq sunrpc ip_tables x_tables
Jan 12 22:44:21 blackBox kernel: [ 2623.037117] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G         C        5.19.17-ophub #1
Jan 12 22:44:21 blackBox kernel: [ 2623.044961] Hardware name: AMedia X96 Max+ (DT)
Jan 12 22:44:21 blackBox kernel: [ 2623.049447] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Jan 12 22:44:21 blackBox kernel: [ 2623.056345] pc : dev_watchdog+0x218/0x22c
Jan 12 22:44:21 blackBox kernel: [ 2623.060313] lr : dev_watchdog+0x218/0x22c
Jan 12 22:44:21 blackBox kernel: [ 2623.064280] sp : ffffffc009c93a60
Jan 12 22:44:21 blackBox kernel: [ 2623.067557] x29: ffffffc009c93a60 x28: ffffff80000c5400 x27: ffffffc009887000
Jan 12 22:44:21 blackBox kernel: [ 2623.074630] x26: 0000000000000001 x25: 00000000000000e0 x24: dead000000000122
Jan 12 22:44:21 blackBox kernel: [ 2623.081702] x23: 0000000000000100 x22: ffffffc009876000 x21: 0000000000000000
Jan 12 22:44:21 blackBox kernel: [ 2623.088775] x20: ffffff800370841c x19: ffffff8003708000 x18: ffffffffffffffff
Jan 12 22:44:21 blackBox kernel: [ 2623.095847] x17: 756f2064656d6974 x16: 00000000ffffe000 x15: 0000000000000004
Jan 12 22:44:21 blackBox kernel: [ 2623.102921] x14: ffffffc0098f4d78 x13: 0000000000001fff x12: 0000000000000003
Jan 12 22:44:21 blackBox kernel: [ 2623.109992] x11: 0000000000000000 x10: 0000000000000000 x9 : 68cdd2943ba0ab00
Jan 12 22:44:21 blackBox kernel: [ 2623.117065] x8 : 68cdd2943ba0ab00 x7 : 205d333232383439 x6 : 392e32323632205b
Jan 12 22:44:21 blackBox kernel: [ 2623.124137] x5 : ffffffc009b63ed7 x4 : 0000000000000001 x3 : 0000000000000000
Jan 12 22:44:21 blackBox kernel: [ 2623.131210] x2 : ffffff80f4db55b0 x1 : ffffff80f4db3910 x0 : 0000000000000041
Jan 12 22:44:21 blackBox kernel: [ 2623.138284] Call trace:
Jan 12 22:44:21 blackBox kernel: [ 2623.141331]  dev_watchdog+0x218/0x22c
Jan 12 22:44:21 blackBox kernel: [ 2623.144374]  expire_timers+0xc0/0x1e0
Jan 12 22:44:21 blackBox kernel: [ 2623.147945]  __run_timers+0x248/0x2e0
Jan 12 22:44:21 blackBox kernel: [ 2623.151566]  run_timer_softirq+0x20/0x30
Jan 12 22:44:21 blackBox kernel: [ 2623.155446]  _stext+0xdc/0x2a0
Jan 12 22:44:21 blackBox kernel: [ 2623.158465]  irq_exit_rcu+0x94/0xe0
Jan 12 22:44:21 blackBox kernel: [ 2623.161915]  el1_interrupt+0xa4/0x150
Jan 12 22:44:21 blackBox kernel: [ 2623.165537]  el1h_64_irq_handler+0x18/0x24
Jan 12 22:44:21 blackBox kernel: [ 2623.169592]  el1h_64_irq+0x74/0x78
Jan 12 22:44:21 blackBox kernel: [ 2623.172955]  arch_local_irq_enable+0xc/0x2c
Jan 12 22:44:21 blackBox kernel: [ 2623.177095]  cpuidle_idle_call+0x6c/0x228
Jan 12 22:44:21 blackBox kernel: [ 2623.181063]  do_idle+0x98/0xe0
Jan 12 22:44:21 blackBox kernel: [ 2623.184081]  cpu_startup_entry+0x24/0x28
Jan 12 22:44:21 blackBox kernel: [ 2623.187963]  secondary_start_kernel+0x140/0x1b0
Jan 12 22:44:21 blackBox kernel: [ 2623.192447]  __secondary_switched+0xa0/0xa4
Jan 12 22:44:21 blackBox kernel: [ 2623.196589] ---[ end trace 0000000000000000 ]---
Jan 12 22:44:21 blackBox kernel: [ 2623.201265] meson8b-dwmac ff3f0000.ethernet eth0: Reset adapter.
Jan 12 22:44:21 blackBox kernel: [ 2623.333507] meson8b-dwmac ff3f0000.ethernet eth0: PHY [mdio_mux-0.0:00] driver [JL2101 Gigabit Ethernet] (irq=POLL)
Jan 12 22:44:21 blackBox kernel: [ 2623.342986] meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
Jan 12 22:44:22 blackBox kernel: [ 2624.873460] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
Jan 12 22:44:22 blackBox kernel: [ 2624.878000] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
Jan 12 22:44:22 blackBox kernel: [ 2624.884742] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode
Jan 12 22:44:40 blackBox kernel: [ 2642.302836] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

(As you can see, the ethernet did reset, but only LAN connection works, cannot reach the internet)

@salsabilng
Copy link
Author

Update : I read several possible solutions to this problem, there are many possibilities that can cause this, now I applied this command " ethtool -K eth0 rx off tx off " and waited for this problem to occur,

@salsabilng
Copy link
Author

its been 24 hours and no signs for problem to occurs, im closing this issue now

@ophub ophub reopened this Jan 14, 2023
@ophub ophub closed this as completed Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants