From owner-cvs-all@FreeBSD.ORG Wed Dec 13 16:07:30 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 605A916A403; Wed, 13 Dec 2006 16:07:30 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailout1.pacific.net.au (mailout1-3.pacific.net.au [61.8.2.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id D136343D31; Wed, 13 Dec 2006 16:05:18 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id 831605A3F66; Thu, 14 Dec 2006 03:06:36 +1100 (EST) Received: from besplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 3CAB38C04; Thu, 14 Dec 2006 03:06:35 +1100 (EST) Date: Thu, 14 Dec 2006 03:06:34 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: "Bjoern A. Zeeb" In-Reply-To: <20061213125524.G91892@maildrop.int.zabbadoz.net> Message-ID: <20061214025300.A1220@besplex.bde.org> References: <200612120511.kBC5BCvi018697@repoman.freebsd.org> <20061212231257.M91892@maildrop.int.zabbadoz.net> <20061213113025.O833@delplex.bde.org> <457F820B.6040104@samsco.org> <20061213125524.G91892@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Scott Long , src-committers@FreeBSD.org, Scott Long , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 16:07:30 -0000 On Wed, 13 Dec 2006, Bjoern A. Zeeb wrote: > On Tue, 12 Dec 2006, Scott Long wrote: > [..] >> I'll try to run some tests with the third write disabled, but I don't have >> much time left to devote to this particular project. If others would be >> willing to test with the third write removed, I'd appreciate it. It might >> be interesting to test with the second write removed as >> well (i.e. both writes in bge_reset). I'll post patches if anyone wants >> to test but can't grok what I'm saying here. > > ok, I only tried with the two writes removed from bge_reset and it > started to work again. At least the machine no longer hangs on boot > and the first bge port works. Cannot easily test more atm. I'm getting closer to testing with various numbers of writes together with optionally waiting for the firmware to indicate sync by complementing the value. Maybe the problem is just that the firmware doesn't like the value being set without syncing with the previous setting. While editing, I noticed that the first write (in bge_sig_pre_reset()) is already avoided except in asf mode because "Some chips don't like it". Someone named scottl may have already been bitten by this. He added a tunable to kill the default of asf mode being enabled, since leaving it enabled gave a complete system freeze for the same operation that now freezes on the third write. Bruce