AnsweredAssumed Answered

Ethernet driver crashed LS1021a

Question asked by Yasushi Yamawaki on Jan 8, 2020
Latest reply on Mar 2, 2020 by Yasushi Yamawaki

Hello,

 

I am using LS1021a CPU and linux kernel 4.1.18, then observed suddenly ether driver crash during EtherNet/IP communicating.

 

Here is a crash log and uboot output.

 

------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:318 dev_watchdog+0x161/0x1dc()
NETDEV WATCHDOG: eth0 (fsl-gianfar): transmit queue 0 timed out
Modules linked in: rtpmac(O) atemsys(O) libppmac(O) libmath(O) ppmachw(O) r8169 mii firmware_class
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G O 4.1.18-ipipe #102
Hardware name: Freescale LS1021A
[<80011dfd>] (unwind_backtrace) from [<8000f9bf>] (show_stack+0xb/0xc)
[<8000f9bf>] (show_stack) from [<803b14ff>] (dump_stack+0x63/0x80)
[<803b14ff>] (dump_stack) from [<8001c385>] (warn_slowpath_common+0x55/0x7c)
[<8001c385>] (warn_slowpath_common) from [<8001c3c7>] (warn_slowpath_fmt+0x1b/0x24)
[<8001c3c7>] (warn_slowpath_fmt) from [<80349725>] (dev_watchdog+0x161/0x1dc)
[<80349725>] (dev_watchdog) from [<80048fb9>] (call_timer_fn+0x15/0x5c)
[<80048fb9>] (call_timer_fn) from [<80049697>] (run_timer_softirq+0x141/0x17e)
[<80049697>] (run_timer_softirq) from [<8001e4e7>] (__do_softirq+0xa7/0x17c)
[<8001e4e7>] (__do_softirq) from [<8001e74f>] (irq_exit+0x4b/0x9c)
[<8001e74f>] (irq_exit) from [<8003ff7f>] (__handle_domain_irq+0x77/0xac)
[<8003ff7f>] (__handle_domain_irq) from [<8005c319>] (__ipipe_do_sync_stage+0x195/0x1f0)
[<8005c319>] (__ipipe_do_sync_stage) from [<800092c5>] (__ipipe_grab_irq+0x4d/0x64)
[<800092c5>] (__ipipe_grab_irq) from [<80009493>] (gic_handle_irq+0x2b/0x40)
Exception stack(0xbf075f90 to 0xbf075fd8)
5f80: 8005c438 800f0033 ffffffff 803b499b
5fa0: bffdb7a8 00000000 3f9ff000 00000000 bf074000 805e4508 805db380 80615eec
5fc0: 80003010 410fc075 00000000 00000000 8066f180 bf075fe8
[<80009493>] (gic_handle_irq) from [<803b499b>] (__irq_svc+0x3b/0x42)
Exception stack(0xbf075fa0 to 0xbf075fe8)
5fa0: bffdb7a8 00000000 3f9ff000 00000000 bf074000 805e4508 805db380 80615eec
5fc0: 80003010 410fc075 00000000 00000000 8066f180 bf075fe8 8003af1d 8005c438
5fe0: 800f0033 ffffffff
[<803b499b>] (__irq_svc) from [<8005c438>] (ipipe_unstall_root+0x2c/0x3c)
[<8005c438>] (ipipe_unstall_root) from [<8003af1d>] (cpu_startup_entry+0xf1/0x128)
[<8003af1d>] (cpu_startup_entry) from [<80009551>] (__enable_mmu+0x1/0x10)
---[ end trace cde1cacd8601d35c ]---

 

U-Boot 2015.01+SDKv1.9+geb3d4fc (Feb 23 2018 - 15:49:52)

CPU: Freescale LayerScape LS1021, Version: 2.0, (0x87001120)
Clock Configuration:
CPU0(ARMV7):1000 MHz,
Bus:300 MHz, DDR:800 MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
00000000: 0608000a 00000000 00000000 00000000
00000010: 20000000 00403900 60025a00 21046000
00000020: 00000000 00000000 00000000 18000000
00000030: 00000000 4b1b7340 00000000 00000000
Board: LS1021UMAC
CPLD: V1.0
PCBA: V2
CPLD8: RC68 WC63
I2C: ready
DRAM: 1 GiB
Using SERDES1 Protocol: 32 (0x20)
The regulator (MC34VR500) does not exist. The device does not support deep sleep.
Flash: 0 Bytes
MMC: FSL_SDHC: 0
EEPROM: Invalid ID (ea a0 83 76)
PCIe1: Root Complex x1 gen1, regs @ 0x3400000
01:00.0 - 10ec:8168 - Network controller
PCIe1: Bus 00 - 01
PCIe2: Root Complex no link, regs @ 0x3500000
In: serial
Out: serial
Err: serial
SATA link 0 timeout.
AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc
scanning bus for devices...
Found 0 device(s).
SCSI: Net: eTSEC1 is in sgmii mode.
Phy 2 not found
PHY reset timed out
eTSEC1, eTSEC3 [PRIME]
Error: eTSEC3 address not set.

 

Could you provide me the suggested solutions and causes?

 

Thanks

Yasushi Yamawaki

Attachments

Outcomes