PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3674
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Wed Mar 04, 2020 7:49 pm

Good try, but that driver isn't used in your system, and possibly isn't even compiled for Raspberry Pi kernels.

bhjel
Posts: 56
Joined: Tue Jan 01, 2019 2:00 am

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Wed Mar 04, 2020 7:56 pm

Ah, I now get excited at any mention of networking errors in any commit. I will read a bit more closely next time, and I'm slowly working towards being able to trace these errors better myself. I will gladly absorb any resources that you may have in mind.

fd_
Posts: 93
Joined: Thu Oct 25, 2018 7:35 am

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Tue Jul 21, 2020 4:05 pm

Any news on this issue? I'm seeing the same problem with an enc28j60 on a Pi 3A+ and already got excited when I found your thread about it. Seeing it apparently was left unresolved had me a little disappointed :roll: :D

I'm seeing this trace on Raspbian Buster on a 4.19.97 kernel (the image was the most recent one when downloaded from the official website in March):

Code: Select all

[   53.995517] ------------[ cut here ]------------
[   53.995549] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:466 dev_watchdog+0x294/0x298
[   53.995558] NETDEV WATCHDOG: eth0 (enc28j60): transmit queue 0 timed out
[   53.995768] [<801120c0>] (unwind_backtrace) from [<8010d5f4>] (show_stack+0x20/0x24)
[   53.995785] [<8010d5f4>] (show_stack) from [<80845f28>] (dump_stack+0xe0/0x124)
[   53.995804] [<80845f28>] (dump_stack) from [<80120c9c>] (__warn+0x104/0x11c)
[   53.995820] [<80120c9c>] (__warn) from [<80120d0c>] (warn_slowpath_fmt+0x58/0x74)
[   53.995836] [<80120d0c>] (warn_slowpath_fmt) from [<8076b894>] (dev_watchdog+0x294/0x298)
[   53.995854] [<8076b894>] (dev_watchdog) from [<80198fd8>] (call_timer_fn+0x3c/0x198)
[   53.995870] [<80198fd8>] (call_timer_fn) from [<80199220>] (expire_timers+0xec/0x14c)
[   53.995885] [<80199220>] (expire_timers) from [<80199338>] (run_timer_softirq+0xb8/0x1ec)
[   53.995900] [<80199338>] (run_timer_softirq) from [<80102410>] (__do_softirq+0x190/0x3f0)
[   53.995918] [<80102410>] (__do_softirq) from [<80126e24>] (irq_exit+0xfc/0x120)
[   53.995935] [<80126e24>] (irq_exit) from [<8018023c>] (__handle_domain_irq+0x70/0xc4)
[   53.995951] [<8018023c>] (__handle_domain_irq) from [<801021b4>] (bcm2836_arm_irqchip_handle_irq+0x60/0xa4)
[   53.995965] [<801021b4>] (bcm2836_arm_irqchip_handle_irq) from [<801019bc>] (__irq_svc+0x5c/0x7c)
[   53.995972] Exception stack(0x80d01ee8 to 0x80d01f30)
[   53.995984] 1ee0:                   80109ae4 00000000 40070093 40070093 80d04d70 80d00000
[   53.995997] 1f00: 80d04db8 00000001 80d8efbe 9bfffa00 80c64a38 80d01f44 80d0517c 80d01f38
[   53.996006] 1f20: 00000000 80109ae8 40070013 ffffffff
[   53.996022] [<801019bc>] (__irq_svc) from [<80109ae8>] (arch_cpu_idle+0x34/0x4c)
[   53.996039] [<80109ae8>] (arch_cpu_idle) from [<80863014>] (default_idle_call+0x34/0x48)
[   53.996057] [<80863014>] (default_idle_call) from [<80152e80>] (do_idle+0xec/0x16c)
[   53.996076] [<80152e80>] (do_idle) from [<801531c0>] (cpu_startup_entry+0x28/0x2c)
[   53.996094] [<801531c0>] (cpu_startup_entry) from [<8085c6c0>] (rest_init+0xbc/0xc0)
[   53.996112] [<8085c6c0>] (rest_init) from [<80c00fb0>] (start_kernel+0x484/0x4b4) 

User avatar
DougieLawson
Posts: 40809
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Tue Jul 21, 2020 5:26 pm

Try again with the 5.4.51 kernel.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

fd_
Posts: 93
Joined: Thu Oct 25, 2018 7:35 am

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Tue Jul 21, 2020 8:56 pm

5.4 kernels seem to be affected as well: https://github.com/raspberrypi/linux/issues/3702
Haven’t tried it with a 5.4 kernel myself because my image is highly customized. Will upgrade eventually, though that doesn’t fix this particular problem as proven by the issue report on GitHub.

Return to “Compute Module”