A few problems

YongHyeon PYUN pyunyh at gmail.com
Mon Mar 18 11:08:48 UTC 2013


On Sat, Mar 16, 2013 at 01:08:06PM +0400, Michael BlackHeart wrote:
> Hello there. I've got a couple of things I don't get or can't handle.
> 

[...]

> re0 at pci0:4:0:0: class=0x020000 card=0x512c1462 chip=0x816810ec rev=0x02 hdr=0x00
>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>     device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
>     class      = network
>     subclass   = ethernet
>     bar   [10] = type I/O Port, range 32, base 0xd800, size 256, enabled
>     bar   [18] = type Memory, range 64, base 0xfeaff000, size 4096, enabled
>     bar   [20] = type Prefetchable Memory, range 64, base 0xf8ff0000,
> size 65536, enabled
>     cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
>     cap 05[50] = MSI supports 1 message, 64 bit
>     cap 10[70] = PCI-Express 1 endpoint IRQ 1 max data 128(256) link x1(x1)
>                  speed 2.5(2.5)
>     cap 11[b0] = MSI-X supports 2 messages in map 0x20 enabled
>     cap 03[d0] = VPD
> ecap 0001[100] = AER 1 0 fatal 0 non-fatal 2 corrected
> ecap 0002[140] = VC 1 max VC0
> ecap 0003[160] = Serial 1 01000000684ce000
> 
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         description: ToISP
>         options=8218b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM,TSO4,WOL_MAGIC,LINKSTATE>
>         ether 00:21:85:1c:24:fa
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active

[...]

> One is that re0 doesn't neogatiate direct link with a connected PC
> (using non-crossover UTP), but sk0 does that easy. It seems to me that
> according to RTL8111 chip specification there shouldn't be any
> problem, probably it's a driver problem?
> 

What is your link parter for re0? I don't remember whether the PHY
hardware really supports automatic MDI crossover detection. Even if
the PHY hardware does not support it, the link partner would be
able to do that.

And could you show me the output of dmesg(re(4) and rgephy(4) only)
and "devinfo -rv | grep rgephy"?


More information about the freebsd-stable mailing list