From owner-freebsd-net@FreeBSD.ORG Wed Nov 7 12:32:08 2007 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 C002316A46C for ; Wed, 7 Nov 2007 12:32:08 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from crow.padonki.org.ua (crow.padonki.org.ua [213.186.192.71]) by mx1.freebsd.org (Postfix) with ESMTP id 7752113C4BB for ; Wed, 7 Nov 2007 12:32:08 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from minotaur by crow.padonki.org.ua with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1IpjSZ-0000fA-H2; Wed, 07 Nov 2007 13:52:39 +0200 Date: Wed, 7 Nov 2007 13:52:39 +0200 From: Alexander Shikoff To: Pyun YongHyeon Message-ID: <20071107115239.GA1462@crete.org.ua> References: <20071106141913.GA93023@crete.org.ua> <20071106143819.GA22249@crete.org.ua> <20071107002430.GA70832@cdnetworks.co.kr> <20071107073708.GA32211@crete.org.ua> <20071107075134.GD70832@cdnetworks.co.kr> <20071107083204.GA33900@crete.org.ua> <20071107101407.GF70832@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline In-Reply-To: <20071107101407.GF70832@cdnetworks.co.kr> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Alexander Shikoff Cc: freebsd-net@freebsd.org Subject: Re: re0: RealTek 8168/8111B: no carrier X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Shikoff List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 12:32:08 -0000 On Wed, Nov 07, 2007 at 07:14:07PM +0900, Pyun YongHyeon wrote: > I couldn't see guilty code. In fact I couldn't reproduce it here. > Since RTL8168/8111 has built-in crossover detection feature how about > using straight cable? Further investigation: auto-negotiation works only after 'iconfig re0 up' command. How to reproduce: 1. Connect cross-over cable via re0 at 7.0-box and rl0 at 6.2-box. 1. Do not place any configuration for re0 in rc.conf 2. Boot a 7.0-BETA2 box. Just after reboot re0 does not get UP status. I see: # ifconfig re0 re0: flags=8802 metric 0 mtu 1500 options=9b ether 00:1a:4d:52:4e:b1 media: Ethernet autoselect (10baseT/UTP ) status: no carrier ... and in console: re0: link state changed to DOWN 4. Force re0 UP with ifconfig re0 up. Then re0 starts and auto-negotiation works: # ifconfig re0 up # ifconfig re0: flags=8843 metric 0 mtu 1500 options=9b ether 00:1a:4d:52:4e:b1 media: Ethernet autoselect (100baseTX ) status: active So this problem turns into problem of automatic start of re0 interface. Sorry for this inconvenience with negotiation, but issue with automatic start is actual. Thanks! -- Kind Regards, Alexander Shikoff minotaur@crete.org.ua Mob.: +380 67 946 31 49