From owner-freebsd-net@FreeBSD.ORG Mon Jan 31 21:13:50 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 F2BD0106566C for ; Mon, 31 Jan 2011 21:13:49 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B218F8FC17 for ; Mon, 31 Jan 2011 21:13:49 +0000 (UTC) Received: by iyb26 with SMTP id 26so5407656iyb.13 for ; Mon, 31 Jan 2011 13:13:49 -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=CgV62o0VdmUQuxy8gRquHoqn6/3LzWiY+wLPAul/mc4=; b=jB+WWgbbdr6s9aKQNnGc5Qvtth9cFow8wtfsTeHt5cUhcy/e9NAfjvcYn/O7PT2ZsM k4sP5gb+aem770y2zURUD1y+R0x5q/wvmycpN9ctHWOrB0eSL3VzDbFeH80crDK9qwxq yodG3QFLCosCr7hQZiNBxUikbjaOgyNWZ67xY= 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=SGDUQ+843WN9AUnmbsEpGtR4zABiBF0kCRPkt9zQqqUoGqjct9q+ghsH+sl2PxSrUh W8fiW70zUEtV7/NCNaF8aUKdfPX3dDZBUOJvphfvj9qlKx0DcNQWviLFqHGM7Wu5x1tZ xDFNf4TOyvd6qLKUklFaYnsEH42qlMalCSXYU= Received: by 10.42.230.1 with SMTP id jk1mr8601047icb.67.1296508427982; Mon, 31 Jan 2011 13:13:47 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id y8sm16393311ica.2.2011.01.31.13.13.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 13:13:45 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 31 Jan 2011 13:13:46 -0800 From: Pyun YongHyeon Date: Mon, 31 Jan 2011 13:13:46 -0800 To: freebsd-net@freebsd.org Message-ID: <20110131211346.GD1275@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> <20110131020720.GB1229@michelle.cdnetworks.com> <20110131121509.GE14888@relay.ibs.dn.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110131121509.GE14888@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 21:13:50 -0000 On Mon, Jan 31, 2011 at 02:15:09PM +0200, Zeus V Panchenko wrote: > Pyun YongHyeon (pyunyh@gmail.com) [11.01.31 04:08] wrote: > > > 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 > > no change :( > interface continues to flap > Then I have no idea. Does other OS work with your hardware without issues? As last resort, could you try vendor's FreeBSD driver? The vendor's driver applies a bunch of magic DSP fixups which re(4) does not have. I don't know whether it makes difference or not but it would be worth a try. Note, vendor's driver treat your controller as old 8139 such that it disables all offload features and does not work on non-x86 architectures.