From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 20:22:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E556C106564A for ; Mon, 26 Jan 2009 20:22:57 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA8B8FC1A for ; Mon, 26 Jan 2009 20:22:57 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from [172.23.170.136] (helo=anti-virus01-07) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1LRXyy-0003ln-MH; Mon, 26 Jan 2009 20:22:56 +0000 Received: from [92.238.154.32] (helo=Mercury.galaxy.lan.lcl) by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52) id 1LRXyy-0001O9-6P; Mon, 26 Jan 2009 20:22:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 26 Jan 2009 20:24:02 -0000 Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <01FB8F39BAD0BD49A6D0DA8F78973929561F@Mercury.galaxy.lan.lcl> In-Reply-To: <497E07D1.3030604@optiksecurite.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Link UP/DOWN problem with re0 on FreeBSD 7.1 Thread-Index: Acl/6BGGh6SzvMqTTSixnIhvZ5QePgAC8mUw References: <497DDDB7.4000702@optiksecurite.com> <497E07D1.3030604@optiksecurite.com> From: "Graeme Dargie" To: "FreeBSD" , Cc: Subject: RE: Link UP/DOWN problem with re0 on FreeBSD 7.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 20:22:58 -0000 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"