Hi,

On Tue, Mar 6, 2012 at 9:57 AM, ravone <ravoner...@gmail.com> wrote:
> Hi All,
>
> I send many ethernet packets with my Hawkboard (~4000 packet per sec.).

How exactly did you do this?

> After some work time happens stop send,

How long did it take? I'll try to reproduce this on my custom board,
so please give me a detailed description.

> hawkboard not answer to ping.

What is the output of ifconfig after this happens? In my case (see
commit 5d69703263d588d that is mentioned below) the overrun value in
the ifconfig output started counting up.

> In dmesg appeared this strings:
>
> root@hawkboard:/# dmesg | tail -n 2
> davinci_mdio davinci_mdio.0: timed out waiting for user access
> PHY: 0:07 - Link is Down
>
> root@hawkboard:/# uname -a
> Linux hawkboard 3.2.6-rt13 #1 PREEMPT RT Fri Feb 24 01:05:10 MSK 2012
> armv5tejl unknown

Recently, there were two patches addressing problems with
communication loss on davinci_emac. They are both in mainline:

commit 86d8c07ff2448eb4e860e50f34ef6ee78e45c40c
Author: Sascha Hauer <s.ha...@pengutronix.de>
net/davinci: do not use all descriptors for tx packets

commit 5d69703263d588dbb03f4e57091afd8942d96e6d
Author: Christian Riesch <christian.rie...@omicron.at>
davinci_emac: Do not free all rx dma descriptors during init

Could you please apply these patches and try if one of them solves
this issue? Do you still see the same output in dmesg with these or
one of these patches?

>
> Is this MDIO bug?

There is also an issue with MDIO getting reset when a softreset is
issued to the EMAC, this is discussed in [1]. Could you try if the
hack in [2] (commenting out the softreset) changes something for you?
Thank you!

Regards, Christian

[1] 
http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2012-February/023960.html
[2] 
http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2012-February/023975.html
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to