From owner-freebsd-net@FreeBSD.ORG Thu Jan 13 18:46:20 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 D32E2106564A for ; Thu, 13 Jan 2011 18:46:20 +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 5DE6D8FC0C for ; Thu, 13 Jan 2011 18:46:19 +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 CEEC613DF5F; Thu, 13 Jan 2011 21:46:18 +0300 (MSK) Date: Thu, 13 Jan 2011 21:46:15 +0300 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <135703454.20110113214615@serebryakov.spb.ru> To: Marius Strobl In-Reply-To: <20110113173925.GA49356@alchemy.franken.de> References: <36074996.20110112192009@serebryakov.spb.ru> <20110112213208.GD12920@michelle.cdnetworks.com> <20110112225907.GA44318@alchemy.franken.de> <20110113173925.GA49356@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 18:46:20 -0000 Hello, Marius. You wrote 13 =FF=ED=E2=E0=F0=FF 2011 =E3., 20:39:25: > Therefore I'd like to commit the following patch (requires sources > from head and stable branches), unless there's an objection or it > doesn't work as expected: > http://people.freebsd.org/~marius/rgephy.c.diff It doesn't work for me. It allows to set "flag0" but without any effect, ifconfig shows half-duplex and speed is about 180KiB/s... onlyone# ifconfig re0 media auto onlyone# ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 options=3D389b ether 6c:62:6d:a7:bb:37 inet 46.4.40.135 netmask 0xffffffc0 broadcast 46.4.40.191 media: Ethernet autoselect (100baseTX ) status: active onlyone# ifconfig re0 media 100baseTX mediaopt full-duplex,flag0 onlyone# ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 options=3D389b ether 6c:62:6d:a7:bb:37 inet 46.4.40.135 netmask 0xffffffc0 broadcast 46.4.40.191 media: Ethernet 100baseTX (100baseTX ) status: active onlyone# --=20 // Black Lion AKA Lev Serebryakov