2009-04-01 09:32:37     bfin_mac error message

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-04-01 09:32:37     bfin_mac error message

Peter Gombos (HUNGARY)

Message: 71954   




We use the BF537 cpu, 2008R1.5RC3 distro, ADSP BF-537 EZ-KIT lite 2.1 board.


At first sight the eth0 works fine. I can ping it from my PC and can ping my PC from the board. But if I increase the size of ping messages (ping -s 512 a.b.c.d) then I got an error message:


"bfin_mac: wait for adjust tx list head timeout"


Unfortunatelly the eth0 hangs and not able to recover from this state.


If I remove the "Use L1 memory for tx/rx packets" option from the network driver (CONFIG_BFIN_MAC_USE_L1) then the message disappearing but some packets are lost. In this case the TCP connection (like BOA) works but wery slow.


I found this message in the file drivers/net/bfin_mac.c in function adjust_tx_list() It seems we don't get DMA irq within timeot (500 mSeconds). But how it is possible?


Any idea?






2009-04-01 10:12:19     Re: bfin_mac error message


Message: 71957   




Let me check it out - I can do 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 without issues on trunk. I'll need to dig out an old release and check it there...