libertas watchdog timeout

Dan Williams dcbw at redhat.com
Fri Jul 23 15:45:15 EDT 2010


On Fri, 2010-07-16 at 14:07 +0530, Sriram V wrote:
> I am using linux 2.6.29 kernel on omap3 platform.
> I am able to download firmware, Associate with an AP, get a IP and use iperf.
> While running iperf at some point after transferring 200MB data or
> more. I get Netdev watchdog timeout.
> When and why does the libertas tx watchdog timeout?
> 
> what could be the possible reasons.

Usually due to:

1) driver not waiting long enough for command to return (though it does
wait quite a long time already, but sometimes the firmware just takes
longer)

2) the firmware hung

3) the SDIO host controller or card interface has a bug or is
misconfigured

The TX watchdog fires when the firmware hasn't notified the driver that
it's sent the packet.

Dan

> Thank you,
> 
> Regards,
> sriram
> 
> 
> I observe the following when i run iperf:
> 
> ------------[ cut here ]------------
> WARNING: at net/sched/sch_generic.c:227 dev_watchdog+0x150/0x234()
> NETDEV WATCHDOG: eth0 (libertas_sdio): transmit timed out
> Modules linked in:
> [<c00943b4>] (dump_stack+0x0/0x14) from [<c00bd150>] (warn_slowpath+0x70/0x8c)
> [<c00bd0e0>] (warn_slowpath+0x0/0x8c) from [<c0377a68>] (dev_watchdog+0x150/0x23
> 4)
>  r3:cbde8000 r2:c0501052
>  r7:c0526000 r6:c0377918 r5:cbde8000 r4:c0601aac
> [<c0377918>] (dev_watchdog+0x0/0x234) from [<c00c5d30>] (run_timer_softirq+0x134
> /0x1b4)
>  r6:c0377918 r5:00000100 r4:c056e740
> [<c00c5bfc>] (run_timer_softirq+0x0/0x1b4) from [<c00c1ed4>] (__do_softirq+0x64/
> 0xf4)
>  r7:00000001 r6:c056e540 r5:c0526000 r4:00000100
> [<c00c1e70>] (__do_softirq+0x0/0xf4) from [<c00c217c>] (irq_exit+0x48/0x90)
> [<c00c2134>] (irq_exit+0x0/0x90) from [<c008f05c>] (__exception_text_start+0x5c/
> 0x70)
> [<c008f000>] (__exception_text_start+0x0/0x70) from [<c008f9b0>] (__irq_svc+0x30
> /0x80)
> Exception stack(0xc0527ee8 to 0xc0527f30)
> 7ee0:                   00000000 00000000 00e9c310 3b9ac9ff c0567b38 c0567b38
> 7f00: 00000002 00000003 c059fe14 411fc083 0000001f c0527f64 00e9c310 c0527f30
> 7f20: c009fb60 c009fb6c 20000053 ffffffff
>  r5:d8200000 r4:ffffffff
> [<c009fa48>] (omap3_enter_idle+0x0/0x154) from [<c009fc28>] (omap3_enter_idle_bm
> +0x54/0x58)
>  r7:c0529cd0 r6:c002dea8 r5:c0567e00 r4:c0567c08
> [<c009fbd4>] (omap3_enter_idle_bm+0x0/0x58) from [<c0324dbc>] (cpuidle_idle_call
> +0x98/0xf4)
>  r5:c0567c08 r4:c0567e00
> [<c0324d24>] (cpuidle_idle_call+0x0/0xf4) from [<c009166c>] (cpu_idle+0x40/0x60)
> 
>  r9:411fc083 r8:8002be44 r7:c0529cd0 r6:c002dea8 r5:c0526000
> r4:c0324d24
> [<c009162c>] (cpu_idle+0x0/0x60) from [<c03ffcac>] (rest_init+0x5c/0x70)
>  r5:c0566a88 r4:c0593360
> [<c03ffc50>] (rest_init+0x0/0x70) from [<c00089c4>] (start_kernel+0x240/0x290)
> [<c0008784>] (start_kernel+0x0/0x290) from [<80008034>] (0x80008034)
> ---[ end trace 53213d012ebc23a9 ]---
> libertas: tx watch dog timeout
> libertas: tx watch dog timeout
> [ ID] Interval       Transfer     Bandwidth
> [  3]  0.0-1000.2 sec  1019 MBytes  8.55 Mbits/sec
> #
> 
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev





More information about the libertas-dev mailing list