re0: RealTek 8168/8111B: no carrier

Alexander Shikoff minotaur at crete.org.ua
Tue Nov 6 06:38:28 PST 2007


On Tue, Nov 06, 2007 at 04:19:14PM +0200, Alexander Shikoff wrote:
> Hello,
> 
> I have box with 7.0-BETA2 installed (csup-ed and built today).
> There is a problem with on-board Gigabit Realtek card:
> 
> re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xc000-0xc0ff mem 0xf2000000-0xf2000fff irq 17 at device 0.3
> re0: Using 2 MSI messages
> miibus0: <MII bus> on re0
> re0: Ethernet address: 00:1a:4d:52:4e:b1
> re0: [FILTER]
> re0: [FILTER]
> 
> It is connected to another FreeBSD 6.2 box with cross-over UTP-cable.
> At the other side there is 'active' status. But re0 at my side
> shows always 'no carrier'. I tried to change UTP-patch-cord but
> without success.
> 
> # pciconf -lv
> [...]
> re0 at pci0:3:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x01 hdr=0x00
>     vendor     = 'Realtek Semiconductor'
>     device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
>     class      = network
>     subclass   = ethernet
> [...]

Further investigation... It seems that re(4) driver does not
support auto-negotiation correctly. If I manually set media to 100baseTX and 
bring up interface with 'ifconfig re0 up' then it works.

-- 
Kind Regards,	Alexander Shikoff
minotaur at crete.org.ua
Mob.: +380 67 946 31 49


More information about the freebsd-net mailing list