From owner-freebsd-stable@FreeBSD.ORG Fri Mar 20 04:32:45 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB1701065679; Fri, 20 Mar 2009 04:32:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5CF8A8FC08; Fri, 20 Mar 2009 04:32:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id E47182844E; Fri, 20 Mar 2009 12:32:43 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 0B5B2EC765E; Fri, 20 Mar 2009 12:32:43 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id X-aK8sOoYC7R; Fri, 20 Mar 2009 12:32:37 +0800 (CST) Received: from charlie.delphij.net (c-69-181-141-49.hsd1.ca.comcast.net [69.181.141.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id C32ACEC70D8; Fri, 20 Mar 2009 12:32:35 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=hZtWW1pyqDZlxlXTSfuMekMsdnCKsPrqG+OzOc91WlHT7ik5eD+vv/REQoIww7bZZ +tmz1+PzgT61PeHfdNYMw== Message-ID: <49C31C5F.9070402@delphij.net> Date: Thu, 19 Mar 2009 21:32:31 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.19 (X11/20090217) MIME-Version: 1.0 To: pyunyh@gmail.com References: <20090303123156.GC84434@michelle.cdnetworks.co.kr> <20090304011019.GA87142@michelle.cdnetworks.co.kr> In-Reply-To: <20090304011019.GA87142@michelle.cdnetworks.co.kr> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Mailing List , Cristiano Deana , delphij@FreeBSD.org Subject: Re: bce: unable to fix media X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 04:32:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Pyun, Pyun YongHyeon wrote: > On Tue, Mar 03, 2009 at 02:26:11PM +0100, Cristiano Deana wrote: >> 2009/3/3 Pyun YongHyeon : >> >>>> # ifconfig bce0 media 1000baseSX >>>> ifconfig: SIOCSIFMEDIA (media): Device not configured >>> I don't have experience on bce(4) hardwares so I'm not sure but how >>> about adding full-duplex? >>> e.g. ifconfig bce0 media 1000baseSX mediaopt full-duplex >> Thanks, that works. But put the card in "no carrier". >> I will let in autoselect >> > > Yeah, that would be the reason why you always have to rely on > auto-negotiation. IIRC bce(4) has some problem when 1000baseSX not being auto-negotiated so I believe that your analysis is right. >>>> or (according to bce(4)): >>>> >>>> # ifconfig bce0 media 1000baseTX >>>> ifconfig: SIOCSIFMEDIA (media): Device not configured >>>> >>> I guess your PHY type is not for 1000baseT. That's not valid option >>> for your controller. >> I think there is a typo o incomplete description in bce(4): >> >> 1000baseTX Set 1000baseTX operation over twisted pair. Only >> full-duplex mode is supported. >> >> No entry for "1000baseSX". > > bce(4) man page should reflect reality. I think the man page was > written when there was no support for TBI. Things has changed since > then(e.g BCM5709, 1000baseSX/2500baseSX support etc). > Xin Li, would you take care of this?(CCed) Yes. I'll give this a shoot, thanks for pointing out! Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknDHF8ACgkQi+vbBBjt66D6UQCbBoAJjHQIuUxs6Dzjz38Razqj 5EkAoKYQnzKsTtE6sdPPpi15+1XXwS0n =bE5N -----END PGP SIGNATURE-----