From owner-freebsd-net@FreeBSD.ORG Thu Jan 13 09:54:34 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 1136B106564A for ; Thu, 13 Jan 2011 09:54:34 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id C12F48FC0C for ; Thu, 13 Jan 2011 09:54:33 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id CB5BF13DF5F; Thu, 13 Jan 2011 12:54:32 +0300 (MSK) Date: Thu, 13 Jan 2011 12:54:29 +0300 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <86656486.20110113125429@serebryakov.spb.ru> To: Marius Strobl In-Reply-To: <20110112225907.GA44318@alchemy.franken.de> References: <36074996.20110112192009@serebryakov.spb.ru> <20110112213208.GD12920@michelle.cdnetworks.com> <20110112225907.GA44318@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Pyun YongHyeon , freebsd-net@freebsd.org Subject: Re: [patch] re(4) problems on networks with disabled autonegotiation "solver" (WAS: Juniper e3k with ports limitied to...) -- REQUEST FOR REVIEW X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 09:54:34 -0000 Hello, Marius. You wrote 13 =FF=ED=E2=E0=F0=FF 2011 =E3., 1:59:07: > Note that even the RealTek supplied driver always triggers an > auto-negotiation when manually setting the media though. However, > at the same time it also comes with tons of uncommented PHY fix-up > code which might be relevant for this or the previous issue. One think I'm sure, that "mii-tool" on Linux helps now, and "ifconfig media / mediaopt" doesn't (without this patch & turned on option), so it seems, that Linux turn autonegotiation off when media is set manually. And, yes, without manual setting media (with autonegatiotion) Linux has same problem -- half/full duplex mismatch. > Unfortunately, I didn't get to checking whether the MAC versions > in question are amongst the ones that get patched so far. > In any case I don't think we can easily change this (default) > behavior after such a relatively long time as it would break POLA > for an unknown number of users, even if it probably shouldn't have > been made the default in the first place (but again on the other It is why I do option in such way, that old users, for whom current implementation works, doesn't notice any difference -- rgephy works exactly the same way as usual untill you set option. And, yes, I think, that additional media option will be better, but it looks like major feature and not small patch :) --=20 // Black Lion AKA Lev Serebryakov