Hi,
Board: i.MX6ULL
BSP: 4.1.15
Our application had a network disconnect problem using the fec on the imx6ul board。 (10Mbps/s)
log:
Aug 21 02:30:40 myd-103 user.warn kernel: ------------[ cut here ]------------
Aug 21 02:30:40 myd-103 user.warn kernel: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x258/0x264()
Aug 21 02:30:40 myd-103 user.info kernel: NETDEV WATCHDOG: eth0 (fec): transmit queue 0 timed out
Aug 21 02:30:40 myd-103 user.warn kernel: Modules linked in:
Aug 21 02:30:40 myd-103 user.warn kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.15cm2002-emmc-v1.0.1+ #2
Aug 21 02:30:40 myd-103 user.warn kernel: Hardware name: Freescale i.MX6 Ultralite (Device Tree)
Aug 21 02:30:40 myd-103 user.warn kernel: [<80015d78>] (unwind_backtrace) from [<8001271c>] (show_stack+0x10/0x14)
Aug 21 02:30:40 myd-103 user.warn kernel: [<8001271c>] (show_stack) from [<80778a80>] (dump_stack+0x84/0xc4)
Aug 21 02:30:40 myd-103 user.warn kernel: [<80778a80>] (dump_stack) from [<80035808>] (warn_slowpath_common+0x80/0xb0)
Aug 21 02:30:40 myd-103 user.warn kernel: [<80035808>] (warn_slowpath_common) from [<80035868>] (warn_slowpath_fmt+0x30/0x40)
Aug 21 02:30:40 myd-103 user.warn kernel: [<80035868>] (warn_slowpath_fmt) from [<80646224>] (dev_watchdog+0x258/0x264)
Aug 21 02:30:40 myd-103 user.warn kernel: [<80646224>] (dev_watchdog) from [<8007b9d8>] (call_timer_fn+0x24/0x98)
Aug 21 02:30:40 myd-103 user.warn kernel: [<8007b9d8>] (call_timer_fn) from [<8007bf24>] (run_timer_softirq+0x1bc/0x240)
Aug 21 02:30:40 myd-103 user.warn kernel: [<8007bf24>] (run_timer_softirq) from [<80038a3c>] (__do_softirq+0x120/0x238)
Aug 21 02:30:40 myd-103 user.warn kernel: [<80038a3c>] (__do_softirq) from [<80038e1c>] (irq_exit+0xc0/0xfc)
Aug 21 02:30:40 myd-103 user.warn kernel: [<80038e1c>] (irq_exit) from [<8006d7d8>] (__handle_domain_irq+0x80/0xec)
Aug 21 02:30:40 myd-103 user.warn kernel: [<8006d7d8>] (__handle_domain_irq) from [<8000944c>] (gic_handle_irq+0x24/0x5c)
Aug 21 02:30:40 myd-103 user.warn kernel: [<8000944c>] (gic_handle_irq) from [<80013200>] (__irq_svc+0x40/0x74)
Aug 21 02:30:40 myd-103 user.warn kernel: Exception stack(0x80addf18 to 0x80addf60)
Aug 21 02:30:40 myd-103 user.warn kernel: df00: 80addf60 fffffffa
Aug 21 02:30:40 myd-103 user.warn kernel: df20: 895c53ca 0000a098 8bb38e90 00000002 88e0e1bd 0000a098 895c53ca 0000a098
Aug 21 02:30:40 myd-103 user.warn kernel: df40: 00000001 00000000 0000001a 80addf60 a6aaaaab 805160f4 90000013 ffffffff
Aug 21 02:30:40 myd-103 user.warn kernel: [<80013200>] (__irq_svc) from [<805160f4>] (cpuidle_enter_state+0xd8/0x20c)
Aug 21 02:30:40 myd-103 user.warn kernel: [<805160f4>] (cpuidle_enter_state) from [<800650cc>] (cpu_startup_entry+0x1fc/0x320)
Aug 21 02:30:40 myd-103 user.warn kernel: [<800650cc>] (cpu_startup_entry) from [<80a71c6c>] (start_kernel+0x39c/0x3a8)
Aug 21 02:30:40 myd-103 user.warn kernel: ---[ end trace cd86e64c19d8b184 ]---
Aug 21 02:30:40 myd-103 user.info kernel: fec 2188000.ethernet eth0: TX ring dump
Aug 21 02:30:40 myd-103 user.info kernel: Nr SC addr len SKB
Aug 21 02:30:40 myd-103 user.info kernel: 0 0x9c00 0x883d7000 42 885833c0
Aug 21 02:30:40 myd-103 user.info kernel: 1 0x9c00 0x883d7800 42 88585180
Aug 21 02:30:40 myd-103 user.info kernel: 2 0x9c00 0x885d0000 42 886563c0
Aug 21 02:30:40 myd-103 user.info kernel: 3 0x9c00 0x885d0800 42 8871d780
Aug 21 02:30:40 myd-103 user.info kernel: 4 0x9c00 0x885d1000 42 88585cc0
Aug 21 02:30:40 myd-103 user.info kernel: 5 0x9c00 0x885d1800 42 8871d3c0
Aug 21 02:30:40 myd-103 user.info kernel: 6 0x9c00 0x885d2000 42 88570f00
Aug 21 02:30:40 myd-103 user.info kernel: 7 S 0x1400 0x00000000 66 (null)
Aug 21 02:30:40 myd-103 user.info kernel: 8 0x1c00 0x00000000 1448 (null)
Aug 21 02:30:40 myd-103 user.info kernel: 9 0x1400 0x00000000 66 (null)
Aug 21 02:30:40 myd-103 user.info kernel: 10 0x1400 0x00000000 136 (null)
Aug 21 02:30:40 myd-103 user.info kernel: 11 0x1c00 0x00000000 1312 (null)
Aug 21 02:30:40 myd-103 user.info kernel: 12 0x1400 0x00000000 66 (null)
kernel: 13 0x1c00 0x00000000 1448 (null)
kernel: 14 0x1400 0x00000000 66 (null)
kernel: 15 0x1c00 0x00000000 1448 (null)
kernel: 16 0x1400 0x00000000 66 (null)
kernel: 17 0x1c00 0x00000000 1448 (null)
kernel: 18 0x1400 0x00000000 66 (null)
kernel: 19 0x1c00 0x00000000 1448 (null)
kernel: 20 0x1400 0x00000000 66 (null)
I saw a lot of similar problems in the forum, this problem has appeared on imx53 imx7 imx6, but did not see the solution
Can you write a good suggestion for me?
Hi 扬 杨
may be recommended to try latest nxp linux Linux L4.14.98
linux-imx - i.MX Linux kernel
Documentation
i.MX Software | NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------