From owner-freebsd-stable@FreeBSD.ORG Tue Aug 12 01:04:21 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 49E361065675 for ; Tue, 12 Aug 2008 01:04:21 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 10F7F8FC20 for ; Tue, 12 Aug 2008 01:04:20 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3724575rvf.43 for ; Mon, 11 Aug 2008 18:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=bngCZHMWskZ2EpGhPFDS00WThy2DyL5DpUAm15077m4=; b=uC5jOA+HV5i1E43k6NnMfYlCDxtecSIDqj44eC0jstY8Hnmj/vEEhlaWiWMQ1QxyQa NLlTk+FZpL0GRBVzpxIIQrmiqvYz8VQ2NmD+M0Tj9noK5WbEgweTvh1++dn+l988weY8 KNrRnZ8j+AVJY5Yp1BZN/+154kE7nwM9qw6HA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=P6ZoRInPX4IQD9pZVzhxzOnNWg1jtkA0smgy9t0fvfdX+S3gbwMaZSzAFsyvOGVpSs 2ItLfA3vdRAs5+r4kztqES+x1lg6pk581Tfj9+WsTdohnxAwKI/eWNyJ7+fo5DThf8c0 yZiZIF5rdElDGy8fc/KeEE+k6qHle12PyPhR8= Received: by 10.141.88.3 with SMTP id q3mr3953052rvl.94.1218503060762; Mon, 11 Aug 2008 18:04:20 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id g31sm9933269rvb.2.2008.08.11.18.04.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 Aug 2008 18:04:19 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m7C1282I054658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Aug 2008 10:02:08 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m7C125Xa054657; Tue, 12 Aug 2008 10:02:05 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 12 Aug 2008 10:02:04 +0900 From: Pyun YongHyeon To: Pete French Message-ID: <20080812010204.GA54362@cdnetworks.co.kr> References: <20080808101831.GD38118@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i 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 Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 01:04:21 -0000 On Mon, Aug 11, 2008 at 02:03:31PM +0100, Pete French wrote: > 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. > Thanks for testing! Patch committed to HEAD with svn r181619. > -pete. -- Regards, Pyun YongHyeon