From owner-freebsd-net@FreeBSD.ORG Wed Jan 12 17:43:30 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DACC61065670 for ; Wed, 12 Jan 2011 17:43:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8B2818FC0C for ; Wed, 12 Jan 2011 17:43:30 +0000 (UTC) Received: by gwj21 with SMTP id 21so320637gwj.13 for ; Wed, 12 Jan 2011 09:43:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=siZ/vhPmojqp2bqj7I/TqFpg7NpeDVkzBqCVshFSp7I=; b=FcFXqlNa66FtmdJTqSVoESpPrbl+o0eKkkkTnFYaTNcS+KckolWFAERuuKRFhYSza+ 3uSaCtdvtkQUDNr46lZ/TYWRpU0QXHP/M7JVn2/hZ5GcsVNTWrdwIPjwOy/hfJKHkSny 6r5i5erw3LUCUMFianjG0h0AcdwTAIQolsgmE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=LC5WxrpLpyel0KmXY9QGCYilLTQJeZTdswYDvw8IJ0u5yrjqBhnq6vrTvatYJ7S8cz 2r9fCNGCvVOMcji9U1ZxvjoQDb/YU0iZ8tz8Xvqln2DOVn4LmlTWeoydt4Tv6Bx+w42C hKWyjtdqNhwPurMZoR12Ulvfo7ErBNnKXyLzs= Received: by 10.100.139.20 with SMTP id m20mr771940and.138.1294854209430; Wed, 12 Jan 2011 09:43:29 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id c28sm1077452ana.21.2011.01.12.09.43.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 09:43:27 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 12 Jan 2011 09:42:52 -0800 From: Pyun YongHyeon Date: Wed, 12 Jan 2011 09:42:52 -0800 To: "Bjoern A. Zeeb" Message-ID: <20110112174252.GB12920@michelle.cdnetworks.com> References: <1512738982.20110111124729@serebryakov.spb.ru> <20110111200007.GC6278@michelle.cdnetworks.com> <20110112102248.F14966@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110112102248.F14966@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: Juniper e3k with ports limitied to 100Mbit and re NICs on MSI MoBo: problems with duplex negotiation (Hetzner host provider discard FreeBSD support due this bug) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 17:43:31 -0000 On Wed, Jan 12, 2011 at 10:36:09AM +0000, Bjoern A. Zeeb wrote: > On Tue, 11 Jan 2011, Pyun YongHyeon wrote: > > >On Tue, Jan 11, 2011 at 12:47:29PM +0300, Lev Serebryakov wrote: > >> > >> media: Ethernet 100baseTX (100baseTX ) > > > >I can see what's going on here. Link partner used forced media > >configuration, probably 100baseTX/full-duplex, and re(4)'s > >resolved link is 100baseTX/half-duplex. > > I can confirm that the switch port should be (manually) set to 100/FD. > It's documented on their support wiki (in German). > > > >rgephy(4) currently always use auto-negotiation to work-around link > >establishment issues reported in past. I don't know how Linux > >managed to address link establishment issues for > >non-autonegotiation case though. Perhaps a lot of vendor supplied > > As I read your reply, there had been a time when manually setting > 100/FD was possible but it didn't quite work? > Correct. Many cases(probably old controllers) it worked but some revision of PHY did not like manual configuration. I don't remember details. > > >DSP fixups addressed that issue but I'm not sure. > >For your case, the only way to address the issue at this moment is > >to use auto-negotiation but that would establish 1000baseT link > >which would add cost for you. Alternatively request half-duplex > >configuration to the provider to get a agreed link duplex. > > We should still try to fix it somehow. Also it would be nice if re(4), > or rephy(4) if we had that, would document the issue properly in BUGS. > > > >See > >http://lists.freebsd.org/pipermail/freebsd-amd64/2011-January/013589.html > >for details on parallel detection. > > As someone from Hetzner has pointed out to me the original discussion > seemd to have been here: > > http://lists.freebsd.org/pipermail/freebsd-stable/2010-November/059894.html > > > While I can understand the problem, has anyone contacted RealTek for > documentation to solve that matter, so that we could equally fix the > things as other major OSes have done by now (either themselves or by > a vendor update)? > Recently I got contact point to the vendor. The vendor is not willing to provide data sheet but they are generous enough to donate bunch of engineering sample boards to me. I'll ask some specific questions to the vendor. Let's see how it goes.