MOD-ENC28J60 and Linux (Debian/GNU)

Started by leo, December 03, 2012, 05:43:03 PM

Previous topic - Next topic

gunebakan

Quote from: vinifr on March 02, 2016, 01:25:47 PM
Hi Mr.D,

You should try mainline sunxi kernel: https://linux-sunxi.org/Mainline_Kernel_Howto I'm pretty sure that using mainline kernel works!
Hi, i cant get it work with mainline kernel.when trying A20-som with patched enc28j60 driver.i get this error.RX is ok but when i try to ping i get this error.

Anybody know why it happen ?


Jan  1 00:18:34 A20-OLinuXino kernel: [  274.218372] ------------[ cut here ]------------
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.229188] WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x2b8/0x2c4()
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.242083] NETDEV WATCHDOG: eth0 (enc28j60): transmit queue 0 timed out
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.250625] Modules linked in: gt2005 ump
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.264028] [<c0015f90>] (unwind_backtrace+0x0/0x12c) from [<c00383d8>] (warn_slowpath_common+0x54/
0x64)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.281771] [<c00383d8>] (warn_slowpath_common+0x54/0x64) from [<c0038418>] (warn_slowpath_fmt+0x30
/0x40)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.299080] [<c0038418>] (warn_slowpath_fmt+0x30/0x40) from [<c046761c>] (dev_watchdog+0x2b8/0x2c4)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.316045] [<c046761c>] (dev_watchdog+0x2b8/0x2c4) from [<c00438a0>] (run_timer_softirq+0x118/0x26
c)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.333094] [<c00438a0>] (run_timer_softirq+0x118/0x26c) from [<c003e4d4>] (__do_softirq+0xbc/0x14c
)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.349104] [<c003e4d4>] (__do_softirq+0xbc/0x14c) from [<c003e9d4>] (irq_exit+0x90/0x94)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.363898] [<c003e9d4>] (irq_exit+0x90/0x94) from [<c000fbec>] (handle_IRQ+0x60/0xb0)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.378952] [<c000fbec>] (handle_IRQ+0x60/0xb0) from [<c00084e4>] (gic_handle_irq+0x28/0x58)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.394440] [<c00084e4>] (gic_handle_irq+0x28/0x58) from [<c000e880>] (__irq_svc+0x40/0x74)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.406536] Exception stack(0xc07f5f58 to 0xc07f5fa0)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.418459] 5f40:                                                       ffffffed 00000000
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.433508] 5f60: 13017000 00000000 c0867a88 c05629b0 c07f4000 c07f4000 c08099f0 c07f4028
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.448556] 5f80: c07f4000 00000000 00000016 c07f5fa0 c000ff2c c000ff30 60070013 ffffffff
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.463608] [<c000e880>] (__irq_svc+0x40/0x74) from [<c000ff30>] (default_idle+0x2c/0x30)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.478661] [<c000ff30>] (default_idle+0x2c/0x30) from [<c0010220>] (cpu_idle+0xdc/0x108)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.493891] [<c0010220>] (cpu_idle+0xdc/0x108) from [<c07c3838>] (start_kernel+0x310/0x31c)
Jan  1 00:18:34 A20-OLinuXino kernel: [  274.505816] ---[ end trace d4051d5e35a07756 ]---