Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2011 07:15:28 +0100
From:      Lasse Bo Larsen <lbl@unoc.dk>
To:        miwi <miwi@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD 8.1 re0 shows half duplex
Message-ID:  <AANLkTik2xuv2GSXF08ja7oPeSJdHtKTpMR2pn9E83nQM@mail.gmail.com>
In-Reply-To: <AANLkTi=B0mtn6JswLcxxHPOu19=D=r9onew21xC9mpd-@mail.gmail.com>
References:  <AANLkTi=B0mtn6JswLcxxHPOu19=D=r9onew21xC9mpd-@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

It seems im using the same chip.

[lbl@atom0 ~]$ uname -a
FreeBSD atom0.xserv.dk 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19
02:36:49 UTC 2010
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
[lbl@atom0 ~]$ ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
	ether 00:1c:c0:7f:6f:64
	inet6 fe80::21c:c0ff:fe7f:6f64%re0 prefixlen 64 scopeid 0x1
	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
[lbl@atom0 ~]$ pciconf -lv | grep -A 4 ^re0
re0@pci0:1:0:0:	class=0x020000 card=0x01008680 chip=0x816810ec rev=0x02 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)'
    class      = network
    subclass   = ethernet
[lbl@atom0 ~]$

I have for a long time experienced collisions, but I haven't had the
time to look at it yet, the interface holds 3 vlans so.

http://xserv.dk/munin/xserv.dk/atom0.xserv.dk/if_errcoll_re0.html

The funny thing is that i got 3 of the same types of main boards
running and its only happening on 2 of them so i think its a
hardware/network problem.

/lbl

On 17 January 2011 06:08, Martin Wilke <miwi@freebsd.org> wrote:
> Howdy Guys,
>
> I have a strange problem, I'm on FreeBSD 8.1 and ifconfig re0 shows
> half-duplex (see output) and the download speed
> is damn slow, maximum 20 kbps. I'm not sure how to debug this so it would be
> nice if someone can
> help me to fix it.
>
> When i change it manually via command line, the media line appeared to have
> 2 entries -- full-duplex and half-duplex
>
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
> ether 6c:62:6d:90:6e:63
> inet XXXXXX netmask 0xffffffc0 broadcast XXXXXX
> media: Ethernet 100baseTX <full-duplex> (100baseTX <half-duplex>)
> status: active
>
>
> main# uname -a
> FreeBSD XXXX 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Fri Jan 14 04:15:56
> UTC 2011 root@freebsd:/usr/obj/usr/src/sys/GENERIC amd64
> main#
>
> # dmesg
> re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port
> 0xe800-0xe8ff mem 0xfbeff000-0xfbefffff,0xf6ff0000-0xf6ffffff irq 16 at
> device 0.0 on pci6
> re0: Using 1 MSI messages
> re0: Chip rev. 0x3c000000
> re0: MAC rev. 0x00400000
> miibus0: <MII bus> on re0
> re0: Ethernet address: 6c:62:6d:90:6e:63
> re0: [FILTER]
> re0: link state changed to UP
> main#
>
> # pciconf -lv
> re0@pci0:6:0:0: class=0x020000 card=0x75221462 chip=0x816810ec rev=0x02
> hdr=0x00
> vendor = 'Realtek Semiconductor'
> device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)'
> class = network
> subclass = ethernet
>
>
> # dmideco
> http://nopaste.unixfreunde.de/46256
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik2xuv2GSXF08ja7oPeSJdHtKTpMR2pn9E83nQM>