From owner-freebsd-current@FreeBSD.ORG Sat Jan 21 00:47:41 2006 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 04C4616A41F for ; Sat, 21 Jan 2006 00:47:41 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 401D543D45 for ; Sat, 21 Jan 2006 00:47:40 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail06.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k0L0lZjV006492 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 21 Jan 2006 11:47:36 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id k0L0lZHh032043; Sat, 21 Jan 2006 11:47:35 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id k0L0lZHX032042; Sat, 21 Jan 2006 11:47:35 +1100 (EST) (envelope-from pjeremy) Date: Sat, 21 Jan 2006 11:47:35 +1100 From: Peter Jeremy To: Ted Faber Message-ID: <20060121004735.GM25397@cirb503493.alcatel.com.au> References: <20060120173633.GD45194@hut.isi.edu> <20060120220454.GB97186@hut.isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060120220454.GB97186@hut.isi.edu> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: slow bfe0, dropouts - solved 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: Sat, 21 Jan 2006 00:47:41 -0000 On Fri, 2006-Jan-20 14:04:54 -0800, Ted Faber wrote: >The problem was that the linksys detected the card as half duplex even >when the card was ifconfiged to be full duplex. This is fairly normal. I presume this is a non-managed switch - in which case the ports will be in autonegotiate mode. As soon as you "ifconfig bfe0 ... media 100baseTX mediaopt full-duplex", you have disabled autonegotiate in your host. The switch will sense that you are running 100Mbps but without autonegotiation, cannot detect full- duplex and will default to half-duplex. You _must_ either have both ends of the link set to autonegotiate or both ends set to the same configuration. Having autonegotiate enabled on one end only will cause problems. > There is no way to >configure teh card to be half-duplex. No, if you specify the speed and don't specify full-duplex then you are running half-duplex: autonegotiate: ifconfig bfe0 ... media autoselect 100baseTX half-duplex: ifconfig bfe0 ... media 100baseTX 100baseTX full-duplex: ifconfig bfe0 ... media 100baseTX mediaopt full-duplex > There's no obvious way to tell >the linksys box not to try to figure out the settings of the interface. If it's a managed switch then you can configure the interface settings via the management interface. Otherwise, the switch will normally be in autonegotiate mode (assuming it supports N-way) - refer to the switch documentation for details. -- Peter Jeremy