From owner-freebsd-net@FreeBSD.ORG Mon Jan 31 15:31:08 2011 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 10309106564A for ; Mon, 31 Jan 2011 15:31:08 +0000 (UTC) (envelope-from freebsd-net@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 834C68FC0A for ; Mon, 31 Jan 2011 15:31:06 +0000 (UTC) Received: from door.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Mon, 31 Jan 2011 16:29:36 +0100 id 00033C0D.4D46D560.000166B4 From: Milan Obuch To: freebsd-net@freebsd.org, pyunyh@gmail.com Date: Mon, 31 Jan 2011 16:29:50 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.5.5; i386; ; ) References: <20110131011510.GC1323@michelle.cdnetworks.com> <20110131020702.GA1229@michelle.cdnetworks.com> In-Reply-To: <20110131020702.GA1229@michelle.cdnetworks.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101311630.03924.freebsd-net@dino.sk> Cc: zeus@ibs.dn.ua Subject: Re: Problem with re0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 15:31:08 -0000 On Monday 31 January 2011 03:07:02 Pyun YongHyeon wrote: > On Sun, Jan 30, 2011 at 05:15:10PM -0800, Pyun YongHyeon wrote: > > On Sun, Jan 30, 2011 at 02:53:15PM +0100, Milan Obuch wrote: > > > On Sunday 30 January 2011 07:40:48 Zeus V Panchenko wrote: > > > > another detail for this nic > > > > > > > > dmidecode > > > > Base Board Information > > > > > > > > Manufacturer: ASUSTeK Computer INC. > > > > Product Name: AT5NM10-I > > > > Version: Rev x.0x > > > > Serial Number: MT7006K15200322 > > > > > > I did not followed this thread closely, but I checked my new board and > > > it is the same. > > > > > > > uname -a > > > > FreeBSD 8.2-PRERELEASE amd64 > > > > > > > > system was cvsup-ed 2011.01.20 > > > > > > > > if_re.c,v 1.160.2.17 2011/01/15 00:32:15 yongari > > > > > > > > dmesg > > > > rgephy0: PHY 1 on miibus0 > > > > rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > > > > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, > > > > 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, > > > > 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: > > > > 20:cf:30:89:5e:95 > > > > re0: [FILTER] > > > > > > > > pciconf -lv > > > > re0@pci0:2:0:0: class=0x020000 card=0x83a31043 chip=0x816810ec > > > > rev=0x03 hdr=0x00 vendor = 'Realtek Semiconductor' > > > > > > > > device = 'Gigabit Ethernet NIC(NDIS 6.0) > > > > (RTL8168/8111/8111c)' class = network > > > > subclass = ethernet > > > > > > All details are the same for my board (modulo serial number and MAC, of > > > course), and in my case it works with no problem, but only in 100 Mb > > > switch port. In 1 Gb port I have no link. I must verify my cables, > > > port on switch itself works just fine with another 1 Gb (intel) card. > > > > Would you try a patch at the following URL? > > http://people.freebsd.org/~yongari/re/rgephy.link.patch3 > > Previous one had a bug, please use updated one. > http://people.freebsd.org/~yongari/re/rgephy.link.patch4 > > > > > while connected directly NIC <-> NIC they flaps too > > > > > > I will try this against another 1 Gb card too, just to see what > > > happens... in 100 Mb mode it works just fine, as I mentioned already - > > > running flood ping with 1472 bytes packets for more than an hour I see > > > only four responses missing in more than 21 millions tries... > > > > > > Regards, > > > Milan > I checked my cables and one of them had bad pairing. Worked in 100 Mb mode, but not in 1 Gb mode. After I replaced it I check with flood ping, 1472 bytes packets again and no sign of problem here - one reply missing in almost 21 millions tries. How are your flaps 'visible'? What fails? Ping test is simple, so I could overlooked something, but now it works for in 1 Gb mode, too... Regards, Milan