From owner-freebsd-net@FreeBSD.ORG Mon Jan 31 01:20:33 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 9598D1065674 for ; Mon, 31 Jan 2011 01:20:33 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 65BFF8FC19 for ; Mon, 31 Jan 2011 01:20:33 +0000 (UTC) Received: by pzk32 with SMTP id 32so889309pzk.13 for ; Sun, 30 Jan 2011 17:20:32 -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=2jfp99fP6kNBq943hD8i2aHK5kZ+3tiyuJpGJ9TMkzE=; b=E93oVAl9/3MH5mZ9fVqqmrHZBMWJwSbTiDH0TATZP5y1kHf0p5KsRuKcKOzkS3Jkdz VtAyZCSFwaHnTiqtP/NOASoSAI43kpeGxZMDwYU2wwewaAWztNu8L3q/x7xVO5V0Wf9+ ffuVwPKNLtd6FIB/NsweRSA00FluiLHA7JWqU= 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=NwZQF68eVkrRfZ/QmSfYXb9m0mxXExaqg56xuf/U+bIqSvnD8I2CxreNkevEqvuqvI TGMkRUm2WLZx+CDdmSaSFuHBKxvKrKa1oYJ7frqHI9MyZXb566Tp+0KAi3/431XxWrXP JGam1ihW0VxHOo+ipvRa+Z3TA745CXPlm1R5c= Received: by 10.142.223.3 with SMTP id v3mr5467788wfg.20.1296436832672; Sun, 30 Jan 2011 17:20:32 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id f5sm17716192wfo.4.2011.01.30.17.20.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Jan 2011 17:20:31 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 30 Jan 2011 17:20:32 -0800 From: Pyun YongHyeon Date: Sun, 30 Jan 2011 17:20:32 -0800 To: freebsd-net@freebsd.org Message-ID: <20110131012032.GD1323@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110130064048.GA14888@relay.ibs.dn.ua> 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 01:20:33 -0000 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