From owner-freebsd-current@FreeBSD.ORG Fri Jan 3 04:37:50 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51AB3A22 for ; Fri, 3 Jan 2014 04:37:50 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2204A14F8 for ; Fri, 3 Jan 2014 04:37:49 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5539620D39 for ; Thu, 2 Jan 2014 23:37:48 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Thu, 02 Jan 2014 23:37:48 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=smtpout; bh=XPEkXuV4l4jvZTXigBm0pkt164g=; b=s8sGv KzCt4MQ9TBstCvMqUOS3yM+yioK4eJR38umEWwCMZELLnZBIAGeIsPUdCVZnf29c BBmhCdp3in+HDGwKhzsWYwCS/YQMLPA/oaj/kCxTF4ZQhR1cWhnAYRwSAuEkbpNG 501kw3OqDfOGiRJbiALw+XZAMI93rj/nnr3iUg= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 2BD3D108752; Thu, 2 Jan 2014 23:37:48 -0500 (EST) Message-Id: <1388723868.26369.66034745.5D25330A@webmail.messagingengine.com> X-Sasl-Enc: qf8tcsVBSfv8VMBX3p/dQxhFYWSlMQPWhT3RIjjWu1rc 1388723868 From: Mark Felder To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-1af17f61 Subject: Re: RTL8111/8168B not negotiating 1GB Date: Thu, 02 Jan 2014 22:37:48 -0600 In-Reply-To: References: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 03 Jan 2014 04:37:50 -0000 On Thu, Jan 2, 2014, at 19:39, Sam Fourman Jr. wrote: > Hello list, > > I have a Asus Sabertooth 990FXv2 motherboard, and a run of the mill > NetGear DGS2205 desktop gig switch > > with linux my Ethernet can negotiate at 1GB but with FreeBSD it can not > if I force the device to 1000baseT with ifconfig it does not work. > > > uname -a > FreeBSD NewBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r260188M: Thu Jan 2 > 04:27:49 CST 2014 sfourman@NewBSD:/usr/obj/usr/src/sys/GENERIC amd64 > > This is probably flying too far off-topic so feel free to ignore me, but this just popped in my head because I ran into this with a pair of Cisco devices recently: On some Cisco gear with certain GBICs / SFPs you can run into a situation where you have a physical link that claims to be up/up but is completely non-functional (no traffic, no mac addresses/arp). The solution is a command that is only available on these interfaces called "speed nonegotiate" which forces the link to work, bypassing negotiation (simply MDI/MDIX?). I don't know how the low level gigabit auto negotiation magic works or what it fully entails, but I'm wondering if it is something that could be replicated in the FreeBSD drivers/stack. I have a feeling that if it existed and he tried something like "ifconfig re0 speed nonegotiate" it would not work because he'd need to set that on his switch port as well, but I just thought I'd throw this out there. Here's a link mentioning the feature: http://www.cisco.com/en/US/docs/security/asa/asa70/configuration/guide/intrface.html I'm not sure where to find any true technical details of it, though.