[PATCH] Fix for using NFS root with if_arge

Aleksandr Rybalko ray at ddteam.net
Sat Mar 10 22:30:01 UTC 2012


On Sat, 10 Mar 2012 14:24:09 -0800
Juli Mallett <jmallett at FreeBSD.org> wrote:

> On Sat, Mar 10, 2012 at 05:11, Aleksandr Rybalko <ray at ddteam.net>
> wrote:
> > Hi Patrick,
> >
> > yeah, if_arge really have two or even three problems:
> > 1. Different levels of allocate/free ring buffer (allocate in
> > if_start, but free in device_detatch), so we get memory leak when do
> > if_up/if_down.
> >
> > 2. some wrong value which sometime passed to arge_set_pll, then we
> > try to send some packet without run MAC clock.
> > 3. problem that you explain
> >
> > First and second fixed by
> > http://my.ddteam.net/files/if_arge.c.patch. Not yet commited,
> > because not solve main problem.
> 
> This patch seems to cause interrupt storms on rb450g's arge1
> interface, at least if that interface is wired to the switch.  I would
> guess it has to do with the MAC clock?

Yeah, but not really this patch. This patch just workaround one problem
which is unhide second. I'm still not sure what is real problem
source, but think it is because clock for MAC output, or not run, or
run on incorrect frequency.

> 
> > We will test your patch and commit it ASAP.
> >
> > Thank you!
> >
> > WBW
> > --
> > Aleksandr Rybalko <ray at ddteam.net>
> > _______________________________________________
> > freebsd-mips at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> > To unsubscribe, send any mail to
> > "freebsd-mips-unsubscribe at freebsd.org"

WBW
-- 
Aleksandr Rybalko <ray at ddteam.net>


More information about the freebsd-mips mailing list