From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 18:56:04 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 8B0EC106566C for ; Mon, 26 Jan 2009 18:56:04 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 60EE58FC2A for ; Mon, 26 Jan 2009 18:56:04 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [69.69.69.183] ([69.70.93.206]) by VL-MO-MR003.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KE300071DXFIU00@VL-MO-MR003.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 26 Jan 2009 13:56:03 -0500 (EST) Message-id: <497E07D1.3030604@optiksecurite.com> Date: Mon, 26 Jan 2009 13:58:25 -0500 From: FreeBSD User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) To: "freebsd-questions@freebsd.org" References: <497DDDB7.4000702@optiksecurite.com> In-reply-to: <497DDDB7.4000702@optiksecurite.com> 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 18:56:04 -0000 FreeBSD a écrit : > Hi everyone, > > Just to put you in context, I applied the following patch to make the > card available: > > SVN rev 186389 on 2008-12-22 00:46:22Z by yongari > > 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. > > --- > > I don't have any issue related to that anymore. The problem is that I > get link UP/DOWN a few times per hour on 3 identical machines that I > dumped/restored. They are all pluged in a Cisco switch that works fine > for every other PCs. > > 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 > > I tried to switch cables, but I got the same result. > > There is the pciconf -lv output: > > re0@pci0:3:0:0: class=0x020000 card=0x02831028 chip=0x816810ec rev=0x02 > hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > class = network > subclass = ethernet > > There is the output of vmstat -i: > > interrupt total rate > irq18: re0 ehci0++ 63766 0 > irq19: atapci0 277001 3 > cpu0: timer 156068748 1961 > Total 156409515 1966 > > Could it be related to the fact that there is re0 and ehci0++ on the > same IRQ? > > Thank you for your help, > > Martin I just tried with a brand new Dell 2708 switch and the problem is still there. I just confirmed that the UP/DOWN occurs every 10 minutes (+- a few seconds). Thanks again, Martin