Firmware crash when sending large numbers of forwarded packets

Michal Kazior michal.kazior at tieto.com
Fri Mar 7 06:15:39 EST 2014


On 7 March 2014 11:38, Avery Pennarun <apenwarr at gmail.com> wrote:
> Hi,
>
> I'm having a problem where if I transmit too fast out the ath10k
> interface in AP mode, I get a near-immediate firmware crash.
>
> Notes:

[...]

> - If I swap the direction of transmit (to the AP instead of from the
> AP) the crash never occurs.

What is the STA endpoint? Is it an ath10k too? Does it run on similar
ARM board too?


> I assume other people are not experiencing this or they would have
> mentioned it by now.  What can I do to help debug this?

Can you try reproducing this with traces? Considering this might get
too big to attach to an email I think it's okay to exclude
ath10k:ath10k_log_dbg_dump from traces.


[...]

> [  362.119075] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffd8c000 busy
> [  362.127193] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffd8d000 busy
> [  362.135290] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffd8e000 busy
> [  362.143372] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffd8f000 busy
> [  362.151447] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffda9000 busy
> [  362.159483] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdaa000 busy
> [  362.167543] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdab000 busy
> [  362.175602] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdac000 busy
> [  362.183668] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdad000 busy
> [  362.191725] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdae000 busy
> [  362.199773] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdaf000 busy
> [  362.207834] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdb9000 busy
> [  362.215896] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdba000 busy
> [  362.223959] ath10k_pci 0000:00:00.0: dma_pool_destroy ath10k htt tx
> pool, ffdbb000 busy

These dma pool warnings are very suspicious. I'm guessing tx wasn't
really stopped and perhaps it leaked due to missing locking/checks.


Michał



More information about the ath10k mailing list