Date: Wed, 7 Nov 2007 13:52:39 +0200 From: Alexander Shikoff <minotaur@crete.org.ua> To: Pyun YongHyeon <pyunyh@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: re0: RealTek 8168/8111B: no carrier Message-ID: <20071107115239.GA1462@crete.org.ua> In-Reply-To: <20071107101407.GF70832@cdnetworks.co.kr> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:1a:4d:52:4e:b1
media: Ethernet autoselect (10baseT/UTP <half-duplex>)
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:1a:4d:52:4e:b1
media: Ethernet autoselect (100baseTX <full-duplex>)
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071107115239.GA1462>
