From owner-freebsd-net@FreeBSD.ORG Tue Jan 11 19:39:43 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 3A985106564A for ; Tue, 11 Jan 2011 19:39:43 +0000 (UTC) (envelope-from artem@aws-net.org.ua) Received: from lazy.aws-net.org.ua (lazy.aws-net.org.ua [IPv6:2a00:1db0:20::828:140]) by mx1.freebsd.org (Postfix) with ESMTP id 852118FC15 for ; Tue, 11 Jan 2011 19:39:42 +0000 (UTC) Received: from [192.168.32.4] (alf.aws-net.org.ua [85.90.196.192]) (authenticated bits=0) by lazy.aws-net.org.ua (8.14.3/8.14.3) with ESMTP id p0BJdWCO083255 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=OK) for ; Tue, 11 Jan 2011 21:39:40 +0200 (EET) (envelope-from artem@aws-net.org.ua) Message-ID: <4D2CB1F5.6080106@aws-net.org.ua> Date: Tue, 11 Jan 2011 21:39:33 +0200 From: Artyom Viklenko Organization: Art&Co. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <1512738982.20110111124729@serebryakov.spb.ru> <20110111163825.GF7511@numachi.com> <76226157.20110111222913@serebryakov.spb.ru> In-Reply-To: <76226157.20110111222913@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (lazy.aws-net.org.ua [188.230.120.140]); Tue, 11 Jan 2011 21:39:40 +0200 (EET) 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 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 19:39:43 -0000 11.01.2011 21:29, Lev Serebryakov пишет: > Hello, Brian. > You wrote 11 января 2011 г., 19:38:25: > > >>> Very large and famous (due to very attractive prices) hosting >>> provider Hetzner.de discards FreeBSD support on dedicated servers, >>> because these servers can niot negotiate 100Mbit/DUPLEX when >>> switches' ports are limited to 100Mbit (1Gbit connection costs >>> additional money) only under FreeBSD. Linux works fine. >> How are the switches being forced to 100/full? > I don't know, I never work with Juniper e3k switches (And any other > Juniper products at all). > > All I know, that older Juniper Switches in not-so-new DCs of same > provider doesn't have this problem, and, on other hand, Linux and > Windows 2008 don't have problems with new ones too. > >> If they're doing so by disabling autonegotiation, then that's where >> some grief may come from. > Linux work with autonegotiation, as I can see (It is outpuit from > Rescue Linux system on SAME my server, where FreeBSD shows > half-duplex even if forced to full-duplex): > > root@rescue ~ # mii-tool -v eth0 > eth0: 100 Mbit, full duplex, link ok > product info: vendor 00:07:32, model 17 rev 2 > basic mode: 100 Mbit, full duplex > basic status: link ok > capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control > link partner: 100baseTx-HD ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Looks very strange for me... 'HD' means half-duplex? May be linux driver defaults to full-duplex if autoneg fails?.. > root@rescue ~ # ethtool eth0 > Settings for eth0: > Supported ports: [ TP MII ] > Supported link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Half 1000baseT/Full > Supports auto-negotiation: Yes > Advertised link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Half 1000baseT/Full > Advertised auto-negotiation: No > Speed: 100Mb/s > Duplex: Full > Port: MII > PHYAD: 0 > Transceiver: internal > Auto-negotiation: off > Supports Wake-on: pumbg > Wake-on: g > Current message level: 0x00000033 (51) > Link detected: yes > root@rescue ~ # > > So, it seems, that autonegotiation is disabled, but it works for > Linux, and manual setting of media and mediaopt doesn't help FreeBSD. > > Also, please note, that when port is in 1Gib mode (which can be buyed > for additional money, which I can not afford) FreeBSD works fine. > -- Sincerely yours, Artyom Viklenko. ------------------------------------------------------- artem@aws-net.org.ua | http://www.aws-net.org.ua/~artem artem@viklenko.net | JID: artem@jabber.aws-net.org.ua FreeBSD: The Power to Serve - http://www.freebsd.org