Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 20:24:02 -0000
From:      "Graeme Dargie" <arab@tangerine-army.co.uk>
To:        "FreeBSD" <freebsd@optiksecurite.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Link UP/DOWN problem with re0 on FreeBSD 7.1
Message-ID:  <01FB8F39BAD0BD49A6D0DA8F78973929561F@Mercury.galaxy.lan.lcl>
In-Reply-To: <497E07D1.3030604@optiksecurite.com>
References:  <497DDDB7.4000702@optiksecurite.com> <497E07D1.3030604@optiksecurite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If you do a dmesg are you also showing a watchdog time out for the nic ?

I only ask as I am having the exact same problem with the exact same =
card and I have yet to find a solution, if I come across something I =
will let you know.

Regards
Graeme

-----Original Message-----
From: FreeBSD [mailto:freebsd@optiksecurite.com]=20
Sent: 26 January 2009 18:58
To: freebsd-questions@freebsd.org
Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1

FreeBSD a =E9crit :
> Hi everyone,
>=20
> Just to put you in context, I applied the following patch to make the=20
> card available:
>=20
> SVN rev 186389 on 2008-12-22 00:46:22Z by yongari
>=20
> Since we don't request reset for rlphy(4), the link state 'UP'
> event from mii(4) may not be delivered if valid link was already
> established. To address the issue, check current link state after
> driving MII_TICK. This should fix a regression introduced in
> r185753 on fast ethernet controllers.
>=20
> ---
>=20
> I don't have any issue related to that anymore. The problem is that I=20
> get link UP/DOWN a few times per hour on 3 identical machines that I=20
> dumped/restored. They are all pluged in a Cisco switch that works fine =

> for every other PCs.
>=20
> Jan 26 06:09:15 term005 kernel: re0: link state changed to DOWN
> Jan 26 06:09:17 term005 kernel: re0: link state changed to UP
>=20
> I tried to switch cables, but I got the same result.
>=20
> There is the pciconf -lv output:
>=20
> re0@pci0:3:0:0: class=3D0x020000 card=3D0x02831028 chip=3D0x816810ec =
rev=3D0x02=20
> hdr=3D0x00
>     vendor     =3D 'Realtek Semiconductor'
>     device     =3D 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
>     class      =3D network
>     subclass   =3D ethernet
>=20
> There is the output of vmstat -i:
>=20
> interrupt                          total       rate
> irq18: re0 ehci0++                 63766          0
> irq19: atapci0                    277001          3
> cpu0: timer                    156068748       1961
> Total                          156409515       1966
>=20
> Could it be related to the fact that there is re0 and ehci0++ on the=20
> same IRQ?
>=20
> Thank you for your help,
>=20
> Martin

I just tried with a brand new Dell 2708 switch and the problem is still=20
there. I just confirmed that the UP/DOWN occurs every 10 minutes (+- a=20
few seconds).

Thanks again,

Martin

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01FB8F39BAD0BD49A6D0DA8F78973929561F>