Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2012 10:56:44 +0700
From:      Nugroho Atmotaruno <atmotaruno@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: re(4) intermittent up/down
Message-ID:  <CAETxY=r2Xwo9OPY6ESoDoaF6vdm2=O=bwuNxqcOq-tF_RhpCZg@mail.gmail.com>
In-Reply-To: <CAETxY=or4odiqAsXtF2T=jrBz3DcaeQ2zB8M-u-dTkGf9WE7-Q@mail.gmail.com>
References:  <CAETxY=o%2BxXREgSY2YaHWeToSJ8TFFkqLHxLLJnFU_KEkZKO=PA@mail.gmail.com> <20120224044000.GF13815@michelle.cdnetworks.com> <CAETxY=or4odiqAsXtF2T=jrBz3DcaeQ2zB8M-u-dTkGf9WE7-Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 23, 2012 at 9:09 PM, Nugroho Atmotaruno
<atmotaruno@gmail.com> wrote:
> On Fri, Feb 24, 2012 at 11:40 AM, YongHyeon PYUN <pyunyh@gmail.com> 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 re=
v=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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_=
HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>>> =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 broadca=
st 167.205.3.127
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::fad1:11ff:fe04:15d6%re0 prefixl=
en 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<PERFORMNUD,AUTO_LINKLOCAL>
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT <full=
-duplex>)
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active
>>>
>>
>> Would you try attached patch?
>
> Thanks for your reply, I'll try it tomorrow.
>

Hi Pyun,

I patched my machine last night, but the problem is still there.

[nugroho@xtreme ~]$ uname -a
FreeBSD xtreme.arc.itb.ac.id 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu
Feb 23 21:44:02 WIT 2012
nugroho@xtreme.arc.itb.ac.id:/sys/amd64/compile/GENERIC  amd64

[nugroho@xtreme ~]$ tail /var/log/messages
Feb 24 10:42:49 xtreme kernel: re0: link state changed to DOWN
Feb 24 10:42:52 xtreme kernel: re0: link state changed to UP
Feb 24 10:42:53 xtreme kernel: re0: link state changed to DOWN
Feb 24 10:42:55 xtreme kernel: re0: link state changed to UP
Feb 24 10:42:56 xtreme kernel: re0: link state changed to DOWN
Feb 24 10:43:02 xtreme kernel: re0: link state changed to UP
Feb 24 10:43:03 xtreme kernel: re0: link state changed to DOWN
Feb 24 10:43:06 xtreme kernel: re0: link state changed to UP
Feb 24 10:49:16 xtreme kernel: re0: link state changed to DOWN
Feb 24 10:49:19 xtreme kernel: re0: link state changed to UP


--=20
Regards,


Nugroho



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAETxY=r2Xwo9OPY6ESoDoaF6vdm2=O=bwuNxqcOq-tF_RhpCZg>