From owner-freebsd-current@FreeBSD.ORG Wed Nov 30 01:06:49 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D006A16A45B; Wed, 30 Nov 2005 01:06:48 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail4.its.rmit.edu.au (its-mu-mail4.its.rmit.edu.au [131.170.2.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id A772843DA3; Wed, 30 Nov 2005 01:06:31 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail4.its.rmit.edu.au (8.13.1/8.13.1/mail4) with ESMTP id jAU16EpG003254; Wed, 30 Nov 2005 12:06:24 +1100 (EST) Received: from goanna.cs.rmit.edu.au (goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id jAU14ifj013916; Wed, 30 Nov 2005 12:04:44 +1100 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.11.3/8.9.3/csnode) id jAU14hc10921; Wed, 30 Nov 2005 12:04:43 +1100 (EST) Date: Wed, 30 Nov 2005 12:04:43 +1100 From: Emil Mikulic To: Bill Paul Message-ID: <20051130010443.GC20782@cs.rmit.edu.au> References: <20051128100731.GA9802@cs.rmit.edu.au> <20051128154802.428F516A422@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051128154802.428F516A422@hub.freebsd.org> X-Operating-System: SunOS 5.9 X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 X-Authentication-Warning: localhost: emil pwned teh intarweb User-Agent: Mutt/1.5.9i X-Scanned-By: MIMEDefang 2.44 Cc: freebsd-current@FreeBSD.ORG, glebius@FreeBSD.ORG Subject: Re: bge driver autoneg failure and system-wide stalls X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2005 01:06:49 -0000 On Mon, Nov 28, 2005 at 03:48:02PM +0000, Bill Paul wrote: > [...] > Emil: > > The switch is managed, and does gigabit. It's a Nortel but I don't > > know the exact model off by heart (I can look it up tomorrow if it > > matters) > > It may, only if that helps determine whether the management API lets > you turn off the ability to announce gigE support. If this is, as you said, due to the wiring, then I'm not too concerned about getting a lower speed autonegotiated. Thanks for the 10_100_ONLY patch though. And the switch is a Nortel Networks BayStack 5510-48T and it _is_ possible to set a lower speed on a given port (this didn't occur to me until you suggested it) > [...] > > I realise that I am doing stupid things with broken wiring and that it > > won't work, but if the "periodic lockup" problem could be fixed, that > > would be an improvement to the bge(4) driver, IMO. > > The above change should get you a link and will prevent the periodic > lockup from occuring. I need to actually test the tsleep() change before > I can give you a patch to try. If it's helpful rather than detrimental to get another person to test the patch, I'd be more than happy to. I don't mind getting cut on any rough edges, and the machine is a test machine anyway. --Emil