From owner-freebsd-mips@FreeBSD.ORG Sat Dec 31 12:36:50 2011 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 A3E261065679 for ; Sat, 31 Dec 2011 12:36:50 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 65B288FC0A for ; Sat, 31 Dec 2011 12:36:50 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 372DD11609C; Sat, 31 Dec 2011 12:36:49 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: <98BA8EF5-E808-43F8-92A8-68B14CAF998F@lassitu.de> Date: Sat, 31 Dec 2011 13:36:48 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <2A05E0AA-5AA5-47FD-90EA-BD6B23A01EFE@lassitu.de> References: <20111231000638.d257448c.ray@ddteam.net> <98BA8EF5-E808-43F8-92A8-68B14CAF998F@lassitu.de> To: freebsd-mips@freebsd.org X-Mailer: Apple Mail (2.1251.1) Cc: Aleksandr Rybalko Subject: Re: arge problem on MR3420 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, 31 Dec 2011 12:36:50 -0000 Am 30.12.2011 um 23:49 schrieb Stefan Bethke: > OK, trying to pull in everyone. There seems to be a problem with = if_arge on certain chips/platforms. I've encountered it on TL-MR3420 = and WRT-160NL. I'm currently working off Adrians gitorious repo. The problem is limited to BOOTP; if I mount a USB stick as root, I can = bring up arge1 without issue. On the AR7241, arge0 is connected to a phy and the blue WAN port, arge1 = is connected to the built-in switch. The port speeds are fixed (1000 = for the switch, 100 for the phy). With BOOTP enabled, I'm getting an interrupt storm on intr 3. I've = enabled debugging for arge, and it seems there is a TX underrun that is = not being cleared in that case. I'm not fully understanding the code, = so I'm not sure why the TX underrun is not being cleared, or keeps = reoccurring. Stefan --=20 Stefan Bethke Fon +49 151 14070811