Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: packet corrupt with awge0



hi

On 05/15/2015 08:18 PM, Jean-Yves Moulin wrote:
on Olimex-lime2 board (Allwinner A20, with awge0 gigabit ethernet), I have some errors on long connections.

Using ssh, it aborts with ‘packet corrupt’.

And if using SSL I’ve:
"SSL error while writing: error:1409E10F:SSL routines:SSL3_WRITE_BYTES:bad length” on client.
"SSL error while reading: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac” on server.

I see some input/ouput errors on ifconfig:

awge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         media: Ethernet autoselect (1000baseT full-duplex)
         input: 129932 packets, 30365771 bytes, 10304 multicasts, 123 errors
         output: 104008 packets, 48195670 bytes, 7 multicasts, 3 errors

you may need to tweak TX and/or RX delay

 http://nxr.netbsd.org/xref/src/sys/arch/arm/allwinner/awin_gige.c#210
 https://patchwork.ozlabs.org/patch/463587/

--
FUKAUMI Naoki



Home | Main Index | Thread Index | Old Index