From owner-freebsd-net@FreeBSD.ORG Thu Feb 23 14:09:15 2012 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 BE293106566B for ; Thu, 23 Feb 2012 14:09:15 +0000 (UTC) (envelope-from atmotaruno@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6E41D8FC14 for ; Thu, 23 Feb 2012 14:09:15 +0000 (UTC) Received: by vcmm1 with SMTP id m1so1193383vcm.13 for ; Thu, 23 Feb 2012 06:09:14 -0800 (PST) Received-SPF: pass (google.com: domain of atmotaruno@gmail.com designates 10.220.108.138 as permitted sender) client-ip=10.220.108.138; Authentication-Results: mr.google.com; spf=pass (google.com: domain of atmotaruno@gmail.com designates 10.220.108.138 as permitted sender) smtp.mail=atmotaruno@gmail.com; dkim=pass header.i=atmotaruno@gmail.com Received: from mr.google.com ([10.220.108.138]) by 10.220.108.138 with SMTP id f10mr920136vcp.16.1330006154885 (num_hops = 1); Thu, 23 Feb 2012 06:09:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=cXKAUzAX+LAPk1sTNyz+q3UkaBDesbvGozQ3OQNHpBA=; b=YCJNdCJu9B5PXYxLuP3hKjUbaewE/qxHThO+WBjxXpUAxPbjBb2g0l93E9WNumON8D Dv6KKA8jPZbDJ/C0QkGIoNTsmb2DA2FRpQBRAubIPHW/4MVPwGsSjT6nKLaexjXa9Q4k Kb6t8lrazPSKp+y7z3pm6/HgitGwJlRVVv5P4= MIME-Version: 1.0 Received: by 10.220.108.138 with SMTP id f10mr749333vcp.16.1330006154819; Thu, 23 Feb 2012 06:09:14 -0800 (PST) Received: by 10.52.65.110 with HTTP; Thu, 23 Feb 2012 06:09:14 -0800 (PST) In-Reply-To: <20120224044000.GF13815@michelle.cdnetworks.com> References: <20120224044000.GF13815@michelle.cdnetworks.com> Date: Thu, 23 Feb 2012 21:09:14 +0700 Message-ID: From: Nugroho Atmotaruno To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: re(4) intermittent up/down 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: Thu, 23 Feb 2012 14:09:15 -0000 On Fri, Feb 24, 2012 at 11:40 AM, YongHyeon PYUN wrote: > On Thu, Feb 23, 2012 at 04:57:27AM +0700, Nugroho Atmotaruno wrote: >> Hi all, >> >> I'm using FBSD 9.0-RELEASE with TPLink TG-3268 (rl8169) flapping >> (UP/DOWN every several seconds). >> >> [nugroho@xtreme ~]$ uname -a >> FreeBSD xtreme.arc.itb.ac.id 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue >> Jan?? 3 07:46:30 UTC 2012 >> root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC?? amd64 >> >> [root@xtreme ~]# tail /var/log/messages >> Feb 23 04:47:05 xtreme kernel: re0: link state changed to UP >> Feb 23 04:47:07 xtreme kernel: re0: link state changed to DOWN >> Feb 23 04:47:10 xtreme kernel: re0: link state changed to UP >> Feb 23 04:47:16 xtreme kernel: re0: link state changed to DOWN >> Feb 23 04:47:19 xtreme kernel: re0: link state changed to UP >> Feb 23 04:47:20 xtreme kernel: re0: link state changed to DOWN >> Feb 23 04:47:23 xtreme kernel: re0: link state changed to UP >> Feb 23 04:48:44 xtreme kernel: re0: link state changed to DOWN >> Feb 23 04:48:47 xtreme kernel: re0: link state changed to UP >> >> >> [root@xtreme ~]# pciconf -lcv >> re0@pci0:2:5:0: class=3D0x020000 card=3D0x816910ec chip=3D0x816910ec rev= =3D0x10 hdr=3D0x00 >> =C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'Realtek Semiconductor Co., Ltd.' >> =C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D 'RTL-8169 Gigabit Ethernet' >> =C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D network >> =C2=A0 =C2=A0 subclass =C2=A0 =3D ethernet >> =C2=A0 =C2=A0 cap 01[dc] =3D powerspec 2 =C2=A0supports D0 D1 D2 D3 =C2= =A0current D0 >> >> [root@xtreme ~]# devinfo -rv | grep rg >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rgephy0 pnpinfo = oui=3D0xe04c model=3D0x11 rev=3D0x3 at phyno=3D1 >> >> [root@xtreme ~]# ifconfig re0 >> re0: flags=3D8843 metric 0 mtu 1= 500 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D389b >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether f8:d1:11:04:15:d6 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 167.205.3.4 netmask 0xffffff80 broadcas= t 167.205.3.127 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::fad1:11ff:fe04:15d6%re0 prefixle= n 64 scopeid 0x7 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 2403:8000:1:1880::4 prefixlen 64 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT ) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active >> > > Would you try attached patch? Thanks for your reply, I'll try it tomorrow. --=20 Regards, Nugroho