Re: [Soekris] net5501 vr(4) repeated unplug/replug - port stops working
On 2008/03/05 12:02, Mike Tancsa wrote: On FreeBSD, I created this simple userland script that resets the nic by watching for its up/down events in syslog's kern.* facility. The proper fix on FreeBSD is at Ah, good idea. The OpenBSD kernel doesn't log interface events, but this can be done nicely with ifstated (or people using OSPF can find the state changes in their ospfd logs). http://people.freebsd.org/~yongari/vr/ Diffing this against the old driver makes a lot of output with style changes as well as code changes so it's a lot to sift through, I've been working through it gradually but it's taking me a while... ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net5501 vr(4) repeated unplug/replug - port stops working
At 06:05 PM 2/26/2008, Jared D. McNeill wrote: Stuart Henderson wrote: I've seen some problems with the onboard NICs on net5501, where if the device connected is unplugged and replugged, the interface has link, is able to transmit packets, but is unable to receive packets (nothing shown in tcpdump on the interface). Bringing the interface down and back up fixes it. Has anyone noticed this on OS other than OpenBSD? I see it on NetBSD also. Glad I'm not the only one :-) On FreeBSD, I confirmed the problem is fixed with newer drivers http://lists.freebsd.org/pipermail/freebsd-current/2008-February/083879.html ---Mike ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net5501 vr(4) repeated unplug/replug - port stops working
On Feb 26, 2008, at 18:05 , Jared D. McNeill wrote: Stuart Henderson wrote: I've seen some problems with the onboard NICs on net5501, where if the device connected is unplugged and replugged, the interface has link, is able to transmit packets, but is unable to receive packets (nothing shown in tcpdump on the interface). Bringing the interface down and back up fixes it. Has anyone noticed this on OS other than OpenBSD? I see it on NetBSD also. Glad I'm not the only one :-) For me, it does not happen as long as the interface is in promiscuous mode (ie. while watching to see if I can reproduce the problem). When I start tcpdump while the interface is in the hung state, I see the msg 'vr0: using force reset command.' and traffic resumes. -- aew ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
[Soekris] net5501 vr(4) repeated unplug/replug - port stops working
I've seen some problems with the onboard NICs on net5501, where if the device connected is unplugged and replugged, the interface has link, is able to transmit packets, but is unable to receive packets (nothing shown in tcpdump on the interface). Bringing the interface down and back up fixes it. Has anyone noticed this on OS other than OpenBSD? ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net5501 vr(4) repeated unplug/replug - port stops working
At 12:52 PM 2/26/2008, Stuart Henderson wrote: I've seen some problems with the onboard NICs on net5501, where if the device connected is unplugged and replugged, the interface has link, is able to transmit packets, but is unable to receive packets (nothing shown in tcpdump on the interface). Bringing the interface down and back up fixes it. Has anyone noticed this on OS other than OpenBSD? Yes, on FreeBSD this can happen in RELENG_6. What seems to fix it is a packet going on the outbound interface will 'unwedge' it so that the box can received packets once again. In the logs, a vr0: Using force reset command. will appear. It also seems to happen more frequently on vr0 than the other nics. Not sure if its an interrupt issue ? The newer version of the driver soon to go into HEAD seems to reduce the amount of force reset command that I see. I havent yet seen a situation where the interface stops receiving packets with the new driver. But then again, I cant make this situation appear on demand so I dont know if the problem is gone, or just less visible. ---Mike ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net5501 vr(4) repeated unplug/replug - port stops working
Stuart Henderson wrote: I've seen some problems with the onboard NICs on net5501, where if the device connected is unplugged and replugged, the interface has link, is able to transmit packets, but is unable to receive packets (nothing shown in tcpdump on the interface). Bringing the interface down and back up fixes it. Has anyone noticed this on OS other than OpenBSD? I see it on NetBSD also. Glad I'm not the only one :-) Cheers, Jared ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech