From owner-freebsd-mips@FreeBSD.ORG Mon May 20 15:34:43 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 167613EF; Mon, 20 May 2013 15:34:43 +0000 (UTC) (envelope-from freebsd-mips@dino.sk) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) by mx1.freebsd.org (Postfix) with ESMTP id 26794134; Mon, 20 May 2013 15:34:41 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by mailhost.netlab.sk with ESMTPSA; Mon, 20 May 2013 17:34:44 +0200 id 004EB833.519A4294.00005E27 Date: Mon, 20 May 2013 17:34:38 +0200 From: Milan Obuch To: Juli Mallett Subject: Re: Ubiquiti EdgeRouter Lite works multi-user with -CURRENT. Message-ID: <20130520173438.168d7eed@zeta.dino.sk> In-Reply-To: References: <20130516111059.38543d57@wind.dino.sk> <20130516131642.adfae355aa3bf7767e9b56e5@ddteam.net> <20130516124248.33ae4e05@wind.dino.sk> <51952112.9010607@rewt.org.uk> <20130517192206.5db0533f@zeta.dino.sk> <51966CB6.2040701@rewt.org.uk> <20130520110659.1d1d2165@zeta.dino.sk> <20130520164001.5f7d99b8@zeta.dino.sk> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Aleksandr Rybalko , "freebsd-mips@FreeBSD.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 15:34:43 -0000 On Mon, 20 May 2013 08:23:42 -0700, Juli Mallett wrote: > On Mon, May 20, 2013 at 7:40 AM, Milan Obuch > wrote: > > Thanks, I found it - device octm was unknowingly commented out. > > Maybe as I have no octm in devinfo I left it out, no idea. Now it > > works. > > I don't see how commenting out octm should break that... weird! > > > Back to the original talk - GPIO. I found on Edgerouter Lite pin 11 > > is used for reset switch - aka 'Factory Default' button. > > > > Status is > > pin 11: 1 F/D, caps: > > when not pressed and > > pin 11: 0 F/D, caps: > > when pressed. > > Great! > It was just simple try and find method :) > > However, I found a problem with ethernet driver. It works only in > > gigabit mode - connected to 100baseT switch is correctly > > negotiated, it seems, but no traffic flows, either way, probably. > > What could I do to diagnose root cause of this problem? > > I can't speak to root cause diagnosis right now. It sounds like I > need to dig out a copy of UBNT's GPL-compliance-bundle including their > Simple Executive and Linux Ethernet driver patches; I may have missed > some delta that would fix autonegotiation. > > Out of curiosity: do you know what batch your ERLite is from? I have > one on which the Ethernet ports seem to have pretty much stopped > working after a few months of always-on use. I can't even get traffic > to pass from within U-Boot. I find that kind of thing worrying. (It > seems unrelated to the symptoms you describe, but it makes me slightly > doubt the integrity of the PHYs being used.) > How can I find that? My box is open, disassembled, so anything not hidden under heatsink on bottom of the board is visible. There is year 2012 silk stamped on board, as an example, but that is maybe general, not telling you what you are asking... > Thanks, > juli. Regards, Milan