From owner-freebsd-net@FreeBSD.ORG Mon Jan 31 02:07:20 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 74691106566C for ; Mon, 31 Jan 2011 02:07:20 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 42C418FC1B for ; Mon, 31 Jan 2011 02:07:20 +0000 (UTC) Received: by pwi10 with SMTP id 10so1119229pwi.13 for ; Sun, 30 Jan 2011 18:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:date:to:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=4QLAYQh5Z9sW+mZ1zrnmTHtYg55K83BsPzesUtm5+vw=; b=lXddwgbREdKEL6WhJJKu6vZ71JYVh3iYSABsXeHT643ds/GEZZmjfsHNRYvlksfd5o VwYwebJRKFxEuocC/BDYmnVMfY3K+cfG+f4da0/eAvEFsnRpHCU2nwQZJGTzTCih84Ia /NPzu160B+9aV2vfpqb/g0IHrE/DzSJtdGZng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Q922mxDf4C1jwAWXbRCWgm7CaBP1x8wc2N0OV7vLDFwux28GvfseS07U4w3rzRTIvu 0wZAaYYBrdF9nDPUzWWGs6gKl6Txs0BzOx0MLv6+ALvC0kGZF8dLmHVPLBU4LlRG+Uph vsTFK+XHV/WvgKJoO4ND6g29HI7fE2Lsz5h+0= Received: by 10.142.185.17 with SMTP id i17mr5503822wff.389.1296439639456; Sun, 30 Jan 2011 18:07:19 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id w14sm27570043wfd.6.2011.01.30.18.07.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Jan 2011 18:07:18 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 30 Jan 2011 18:07:20 -0800 From: Pyun YongHyeon Date: Sun, 30 Jan 2011 18:07:20 -0800 To: freebsd-net@freebsd.org Message-ID: <20110131020720.GB1229@michelle.cdnetworks.com> References: <20101112070759.GA36248@relay.ibs.dn.ua> <20101112230000.GD22460@michelle.cdnetworks.com> <20110121125917.GA48950@relay.ibs.dn.ua> <20110130064048.GA14888@relay.ibs.dn.ua> <20110131012032.GD1323@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110131012032.GD1323@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Subject: Re: Problem with re0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com 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 02:07:20 -0000 On Sun, Jan 30, 2011 at 05:20:32PM -0800, Pyun YongHyeon wrote: > On Sun, Jan 30, 2011 at 08:40:48AM +0200, 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 > > > > 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 > > > > > > while connected directly NIC <-> NIC they flaps too > > > > so, the issue with switch related causes can be excluded i believe > > > > The RTL8168/8111D sample board I have does not show this kind of > issue. This happens only when established link is 1000baseT, right? > I slightly changed PHY's link detection code so would you try that > patch at the following URL? > http://people.freebsd.org/~yongari/re/rgephy.link.patch3 Previous one had a bug, please update one. http://people.freebsd.org/~yongari/re/rgephy.link.patch4