[Soekris] net5501 lockup when sending alot of trafic between two NIC's

Bjarke Istrup Pedersen gurli at gurlinet.dk
Sat Aug 7 08:07:40 UTC 2010


2010/8/7 Andrey Safonov <andrey.safonov at gmail.com>:
>> Hey,
>>
>> I'm using a net5501 as router/gateway running linux, and has eth1 and
>> eth2 bridged.
>> When I transfer lange amounts of data from a computer on one of the
>> NIC's to a computer located on the other NIC, (mostly using Windows
>> file shares), the Soekris locks up, and gets restarted thanks to the
>> watchdog.
>>
>> I have tried attaching a console to it, but once it freezes, the
>> console is also frozen (also, it doesn't write anything to the console
>> about it, like a panic etc.).
>>
>> Does anyone have an idea of what might be wrong, since it dies when I
>> puts some load on the two ports?
>> I have tried changing it around with eth1 and eth3, and with ports
>> eth2 and eth3, but it always happens, so I don't expect it to be a
>> faulty port.
>>
>> Best regards,
>> Bjarke
>
> via-rhine kernel module in 2.6.34.1 have race condition somewhere in
> logic of interrupt handling :)
> I've changed a little bit the driver code and now it works fine for me
> but I'm still working on this driver optimization :)
>
> PS Sorry for bad English :)
>
> --
> Andrey Safonov
> _______________________________________________
> Soekris-tech mailing list
> Soekris-tech at lists.soekris.com
> http://lists.soekris.com/mailman/listinfo/soekris-tech
>

Hey, that sounds great.
I have solved the problem the ugly way, and set up a switch (but hey,
now I got gbit connection between the different places).

Could you try and clean up the code, and submit it to the kernel
mailinglist for inclusion in the mainline kernel? :)

Best regards,
Bjarke


More information about the Soekris-tech mailing list