Hi, On 11/09/2014 08:31 AM, Diego Roversi wrote: > On Sat, 8 Nov 2014 20:44:48 +0100 > Bruno Prémont <[email protected]> wrote: > >> Hi, >> >> Since I have my Cubietruck, be it with 3.4 kernels or with mainline >> kernels I've been experiencing unstable TCP connections. >> >> The symptoms are stalling connections (usually SSH connections to the >> Cubietruck) that have nearly no chance at recovering. >> >> When I tell GMAC to only advertise up to 100Mbps speed the SSH >> sessions do no show above symptoms anymore. >> >> >> If it's important, my setup is: >> >> 100Mbps 1Gbps >> Laptop ----------- Switch --------- Cubietruck >> >> >> >> Any idea what the cause might be and how to fix it? >> >> >> When running wireshark on the laptop there is only silence when the >> SSH session is stalled. Just prior to stalling Wireshark mentions >> one missed packet (previous segment not captured) and no more packets >> after this. > > Packet loss can explain stalled session, but I expect some retransmission > after some time. > > The same problem is there whem the Cubietruck is connected directly to the > laptop? > > Look also for kernel messages on Cubietruck. > > It's also possible that there is a problem like this: > > https://groups.google.com/forum/#!searchin/linux-sunxi/gmac$20bug/linux-sunxi/kmsn0cNm37o/M-wwVE6mhrcJ
Right, I was thinking the same, maybe the cubietruck needs that too, but for some reason the problem on the bananapi is worse ? Bruno, if you look at the u-boot sources board/sunxi/gmac.c, atline 32 there is a: #ifdef CONFIG_BANANAPI Try replacing this with #if 1, and then build and install u-boot and re-try things on your cubietruck. Note this will influence the kernel too, as the kernel does not touch those bits. Regards, Hans -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
