re(4) intermittent up/down

Nugroho Atmotaruno atmotaruno at gmail.com
Fri Feb 24 03:56:46 UTC 2012


On Thu, Feb 23, 2012 at 9:09 PM, Nugroho Atmotaruno
<atmotaruno at gmail.com> wrote:
> On Fri, Feb 24, 2012 at 11:40 AM, YongHyeon PYUN <pyunyh at 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 at 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 at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC?? amd64
>>>
>>> [root at 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 at xtreme ~]# pciconf -lcv
>>> re0 at pci0:2:5:0: class=0x020000 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00
>>>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>>>     device     = 'RTL-8169 Gigabit Ethernet'
>>>     class      = network
>>>     subclass   = ethernet
>>>     cap 01[dc] = powerspec 2  supports D0 D1 D2 D3  current D0
>>>
>>> [root at xtreme ~]# devinfo -rv | grep rg
>>>                 rgephy0 pnpinfo oui=0xe04c model=0x11 rev=0x3 at phyno=1
>>>
>>> [root at xtreme ~]# ifconfig re0
>>> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>>         options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>>>         ether f8:d1:11:04:15:d6
>>>         inet 167.205.3.4 netmask 0xffffff80 broadcast 167.205.3.127
>>>         inet6 fe80::fad1:11ff:fe04:15d6%re0 prefixlen 64 scopeid 0x7
>>>         inet6 2403:8000:1:1880::4 prefixlen 64
>>>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>>>         media: Ethernet autoselect (1000baseT <full-duplex>)
>>>         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 at 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 at xtreme.arc.itb.ac.id:/sys/amd64/compile/GENERIC  amd64

[nugroho at 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


-- 
Regards,


Nugroho


More information about the freebsd-net mailing list