2009-01-08 10:56:41     bfin_mac: wait for adjust tx list head timeout

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

2009-01-08 10:56:41     bfin_mac: wait for adjust tx list head timeout

Servaes Joordens (NETHERLANDS)

Message: 67630   

 

Sometimes I got this error: bfin_mac: wait for adjust tx list head timeout

 

It is bad enough that this message appears, but the system never recovers from it!

 

Can someone explain to me what causes this message?

 

Can someone propose a strategy to recover from this error?

QuoteReplyEditDelete

 

 

2009-01-12 05:36:12     Re: bfin_mac: wait for adjust tx list head timeout

Yi Li (CHINA)

Message: 67787   

 

Sometimes I got this error: bfin_mac: wait for adjust tx list head timeout

 

It is bad enough that this message appears, but the system never recovers from it!

 

Can someone explain to me what causes this message?

 

Can someone propose a strategy to recover from this error?

 

---

 

Servaes,

 

Could you please list the detail steps to reproduce this error?

 

-YI

QuoteReplyEditDelete

 

 

2009-01-12 14:05:13     Re: bfin_mac: wait for adjust tx list head timeout

Servaes Joordens (NETHERLANDS)

Message: 67820   

 

Open a socket and start sending a lot of data for an hour. ( with a tcm_bf537bp)

 

I avoided the problem for now by increasing the number of windows in the kernel settings. I disabled the L1 ethernet buffers earlier, but I left the number of windows unchanged. Now I increased the number of windows and I did not see the problem again.

 

Could you explain to me what is meant by the error message?

 

regards,

 

Servaes

QuoteReplyEditDelete

 

 

2009-01-13 08:41:26     Re: bfin_mac: wait for adjust tx list head timeout

Robin Getz (UNITED STATES)

Message: 67877   

 

Servaes:

 

drivers/net/bfin_mac.c:adjust_tx_list()

 

        /*

         * if nothing released, check wait condition

         * current's next can not be the head,

         * otherwise the dma will not stop as we want

         */

        if (current_tx_ptr->next->next == tx_list_head) {

                while (tx_list_head->status.status_word == 0) {

                        mdelay(1);

                        if (tx_list_head->status.status_word != 0

                            || !(bfin_read_DMA2_IRQ_STATUS() & 0x08)) {

                                goto adjust_head;

                        }

                        if (timeout_cnt-- < 0) {

                                printk(KERN_ERR DRV_NAME

                                ": wait for adjust tx list head timeout\n");

                                break;

                        }

                }

                if (tx_list_head->status.status_word != 0) {

                        goto adjust_head;

                }

        }

 

        return;

 

 

-Robin

QuoteReplyEditDelete

 

 

2009-09-14 23:32:20     Re: bfin_mac: wait for adjust tx list head timeout

Li Dong (CHINA)

Message: 79892   

 

Hi all,

 

We also encoutered this issue under bad network condition, such as access bfin device from remote mobile client through GPRS  with heavy traffic. As above mentioned,  we disable L1 and increased tx buffer to 40. Unfortunately, the error message still appear after 2~3 hours.

 

 

 

Regards,

 

Ray

QuoteReplyEditDelete

 

 

2009-09-15 11:37:34     Re: bfin_mac: wait for adjust tx list head timeout

Robin Getz (UNITED STATES)

Message: 79935   

 

New issue == new thread.

 

Please don't attach to random old threads.

Attachments

    Outcomes