From owner-freebsd-stable@FreeBSD.ORG Fri Aug 18 11:23:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2F6316A4E9 for ; Fri, 18 Aug 2006 11:23:22 +0000 (UTC) (envelope-from horcicka@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6399543D76 for ; Fri, 18 Aug 2006 11:23:17 +0000 (GMT) (envelope-from horcicka@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1396347nfc for ; Fri, 18 Aug 2006 04:23:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=IsOaEjs+Cb1OakAqWNMfU1EkgN5obY62Gdj/EiDgsk34LIKLvoaR3wZ94J48YW3CpGuMknlPCmjXM6AogavxYO+Nwr8ZPuqtOMFU6QPsFdeEWTvpmVqlZEXqWAftCdiBikwLbfQkVEqa9Mu5O5ncig34W00Zmg1VbYeSH/4+h4s= Received: by 10.49.26.18 with SMTP id d18mr3887494nfj; Fri, 18 Aug 2006 04:23:15 -0700 (PDT) Received: by 10.78.134.5 with HTTP; Fri, 18 Aug 2006 04:23:15 -0700 (PDT) Message-ID: <437bc1590608180423n513b58c1yd978b2fcf8997ef6@mail.gmail.com> Date: Fri, 18 Aug 2006 13:23:15 +0200 From: "Martin Horcicka" Sender: horcicka@gmail.com To: pyunyh@gmail.com In-Reply-To: <20060818092255.GD55509@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44E51C93.5090000@umn.edu> <20060818021643.GA74158@dan.emsphone.com> <437bc1590608180151m1017a50cg31c7817d1aeb0dfe@mail.gmail.com> <20060818092255.GD55509@cdnetworks.co.kr> X-Google-Sender-Auth: ff762d730804f5dd Cc: freebsd-stable@freebsd.org, Dan Nelson , Alan Amesbury Subject: Re: FreeBSD boots too fast on Dell PE850 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: Fri, 18 Aug 2006 11:23:23 -0000 2006/8/18, Pyun YongHyeon : > On Fri, Aug 18, 2006 at 10:51:07AM +0200, Martin Horcicka wrote: > > 2006/8/18, Dan Nelson : > > >In the last episode (Aug 17), Alan Amesbury said: > > >> OK, booting *too* quickly is a somewhat unusual problem..... I have > > >> FreeBSD 6.1-RELEASE-p3 running on a Dell PowerEdge 850. For some > > >> reason, in the PowerEdge 850 Dell chose to replace the perfectly > > >> adequate em(4) adapters found on the PE750 with bge(4) hardware. > > >> FreeBSD identifies these adapters as BCM5750A1, but Dell says they're > > >> actually Broadcom 5721J adapters instead. See > > >> > > >> http://www.dell.com/downloads/global/products/pedge/en/850_specs.pdf > > >> > > >> for details. The switch to which the host is connected is a Cisco > > >> Catalyst 3750. How this relates to FreeBSD, however..... > > > > > >Have you enabled portfast on the Cisco? > > > > > >http://www.cisco.com/warp/public/473/12.html#c2k > > > > We have similar problems on various hardware and we also believe it's > > caused by the Spanning Tree Protocol procedure done during the switch > > port initialization. I don't like the idea of using portfast as it > > makes the switch less robust so I tried to delay the boot using an rc > > script as well: ... > I think it's job of device driver. If the driver find its link > negotiation is in progress it should not send frames. > Unfortunately not all drivers handle this correctly. Unfortunately, I don't know how it works exactly. In our case when the autodetection is disabled and there is e.g. 100/full configured manually on both, switch and the FreeBSD box, ifconfig shows the interface status wery early as "active". I suspect the switch (Cisco) to activate the port (from the point of view of the FreeBSD box) but not to forward any "normal" frames until the Spanning Tree Protocol procedure is finished for that port. But it's just a guess. I don't know the negotiation protocol in Ethernet at all and I would really welcome a commentary from someone who does. Martin