From owner-freebsd-mips@FreeBSD.ORG Sat Mar 10 22:30:01 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BCBA106566C for ; Sat, 10 Mar 2012 22:30:01 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 20F3B8FC08 for ; Sat, 10 Mar 2012 22:30:00 +0000 (UTC) Received: by wern13 with SMTP id n13so322337wer.13 for ; Sat, 10 Mar 2012 14:29:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=E1hr4Lu69CPQTrR34KP/HbOdUJGyWuGIy5YE8VecJlQ=; b=ePUsT2nE9SqnHRVeEYrxfI1pCDuoV7ADYq7LCg+zsxHuTEvBG7A6hSSoFGyJUqJx/K AZcuqkQe4M+tFdzw/kGS+AHvb2t1VqPpnk1rjtz1GIiIkbHvaCynUBOhz46ntc0Ruu1i frzGcUEl88hbTpOuYqBbMuo+DR9I8nkWNtled1oyYKu81Pw+P7ExcAzNNqDs6WUWVqND p7vEEhwhLMXbVkTdg6pn+GXuhhtdQqH2o42rpAVUvBVgqBZaAnXFTfQvBaw7XErhjWO+ dD+KvfLQYSivGnk5zv2mrhToy239vuAyAiUq8IpizLUP/0ctuc987LOhc1a4Jm+yPDko BdjA== Received: by 10.216.136.149 with SMTP id w21mr3960887wei.90.1331418593824; Sat, 10 Mar 2012 14:29:53 -0800 (PST) Received: from rnote.ddteam.net (9-52-133-95.pool.ukrtel.net. [95.133.52.9]) by mx.google.com with ESMTPS id bg3sm18455532wib.10.2012.03.10.14.29.52 (version=SSLv3 cipher=OTHER); Sat, 10 Mar 2012 14:29:53 -0800 (PST) Date: Sun, 11 Mar 2012 00:29:08 +0200 From: Aleksandr Rybalko To: Juli Mallett Message-Id: <20120311002908.58ea1513.ray@ddteam.net> In-Reply-To: References: <20120310151128.647d4a18.ray@ddteam.net> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmGGcPaJAG5h8+h/2iHVSMs0dhLVoyF8TQbNv1M22il9jVuuKH5rQbBIlZbAJprkALU1k6+ Cc: freebsd-mips@freebsd.org Subject: Re: [PATCH] Fix for using NFS root with if_arge X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2012 22:30:01 -0000 On Sat, 10 Mar 2012 14:24:09 -0800 Juli Mallett wrote: > On Sat, Mar 10, 2012 at 05:11, Aleksandr Rybalko > 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 > > _______________________________________________ > > freebsd-mips@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > > To unsubscribe, send any mail to > > "freebsd-mips-unsubscribe@freebsd.org" WBW -- Aleksandr Rybalko