From owner-freebsd-stable@FreeBSD.ORG Mon Aug 11 13:03:34 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C65B1065681 for ; Mon, 11 Aug 2008 13:03:34 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id E31288FC38 for ; Mon, 11 Aug 2008 13:03:33 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KSX3b-0002Kc-IP; Mon, 11 Aug 2008 14:03:31 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KSX3b-0004H8-H2; Mon, 11 Aug 2008 14:03:31 +0100 To: pyunyh@gmail.com In-Reply-To: <20080808101831.GD38118@cdnetworks.co.kr> Message-Id: From: Pete French Date: Mon, 11 Aug 2008 14:03:31 +0100 Cc: stable@freebsd.org Subject: Re: should looking at an interface with 'ifconfig' trigger a change ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 13:03:34 -0000 Pyun YongHyeon wrote: > Try attached patch and check whether bce(4) correctly reports link > state changes. > > After seeing 'link state changed to UP' message, unplug the cable > and see whether it reports link DOWN. The message should be printed > in a second. Also try replugging cable and you should see link UP > message within several seconds. Since auto-negotation takes more > time you may have to wait for a while. I do not have phsyical access to the machine, so I did this using a sutdown of the interface on the sitch - but yes, it works! This fixes the progem with lagg as well - it now fails over to the other interface properly. Such a simple patch - if this has no ill effects then I will deploy it on al our servers,m and hope for it to be committed soon. All new HP servers appear to come with bce interfaces, so this is an importnat fix for us, and probably a lot of other people too. Thanks. -pete.