From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 16 23:06:37 2008 Return-Path: Delivered-To: sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A9861065676 for ; Tue, 16 Dec 2008 23:06:36 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id B61DE8FC2A for ; Tue, 16 Dec 2008 23:06:35 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id mBGN6UqN087985; Wed, 17 Dec 2008 00:06:30 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id mBGN6UIe087984; Wed, 17 Dec 2008 00:06:30 +0100 (CET) (envelope-from marius) Date: Wed, 17 Dec 2008 00:06:30 +0100 From: Marius Strobl To: Ruben de Groot Message-ID: <20081216230630.GY15733@alchemy.franken.de> References: <20081103221111.GA8256@alchemy.franken.de> <20081105195630.GA52831@ei.bzerk.org> <20081109183232.GC76319@alchemy.franken.de> <20081119080344.GA96293@ei.bzerk.org> <20081119220317.GP64456@alchemy.franken.de> <20081120054711.GA11035@ei.bzerk.org> <20081201211806.GF82355@alchemy.franken.de> <20081202115653.GA90256@ei.bzerk.org> <20081209213613.GA21283@alchemy.franken.de> <20081216140311.GA21651@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081216140311.GA21651@ei.bzerk.org> User-Agent: Mutt/1.4.2.3i Cc: sparc64@FreeBSD.org Subject: Re: Panic in 7.1-PRERELEASE (was: Re: kgdb on sparc64) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 23:06:38 -0000 On Tue, Dec 16, 2008 at 03:03:11PM +0100, Ruben de Groot wrote: > On Tue, Dec 09, 2008 at 10:36:13PM +0100, Marius Strobl typed: > > On Tue, Dec 02, 2008 at 12:56:53PM +0100, Ruben de Groot wrote: > > > On Mon, Dec 01, 2008 at 10:18:06PM +0100, Marius Strobl typed: > > > > On Thu, Nov 20, 2008 at 06:47:11AM +0100, Ruben de Groot wrote: > > > > > > > > > > Thanks. I've moved all websites away from this machine, so it's available for any > > > > > further tests to help find a solution. > > > > > > > > > > > > > Could you please give the patch at: > > > > http://people.freebsd.org/~marius/dc_bitbang_delay.diff > > > > a try? It's based on information gained from other drivers for > > > > the same chips that there should be an delay after every write > > > > when bit-banging the MII, which hopefully solves the bus wedging > > > > you're seeing. So far I didn't manage to reproduce the problem > > > > though, so I can't test whether the patch makes an actual > > > > difference either. > > > > > > Thanks for looking into this. > > > Running with this patch right now. It'll take some time to conclude if this > > > fixes the issue, as the panics normally happen only once every 2-3 days. > > > > > > > How is it doing so far? > > Yes, well, the server has been running for exactly 14 days with your patch now > without any troubles. So today I switched the websites back from my -current > machine as the latter was developing some (unrelated) problems. > > So I'd say the issue looks like it's solved. Thanks again! > Could you please switch to the version that is in 7-STABLE (if_dc.c 1.192.2.6/if_dcreg.h 1.54.2.3 or r186137 if you use svn) now? Relative to the version you're running it has an edge case fixed and isn't as inefficient with the register access. I don't expect regressions from this version compared to the old patch but nevertheless it would be great to use the remaining time until 7.1-RELEASE for verifying whether what's in the tree now actually also solves the problem you were seeing. Marius