[PATCH] Fix for using NFS root with if_arge

Juli Mallett jmallett at FreeBSD.org
Sat Mar 10 22:50:53 UTC 2012


On Sat, Mar 10, 2012 at 14:29, Aleksandr Rybalko <ray at ddteam.net> wrote:
> On Sat, 10 Mar 2012 14:24:09 -0800
> Juli Mallett <jmallett at FreeBSD.org> wrote:
>> 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.

I guess I really don't understand the nature of the problem.  It looks
like this relates to moving the ring initialization out to attach-time
— why not just make the stop function do the right thing and free
allocated resources, instead of doing the latter in detach?  Is it
simply the lack of resetting the tx_prod, tx_cons, tx_cnt and rx_cons
fields in the init function if you move the ring initialization to
attach?  It looks to me like that could be the problem.


More information about the freebsd-mips mailing list