From owner-freebsd-stable@FreeBSD.ORG Tue Apr 21 00:48:30 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 029DB1065670 for ; Tue, 21 Apr 2009 00:48:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id C1CA68FC08 for ; Tue, 21 Apr 2009 00:48:29 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id k40so856938rvb.43 for ; Mon, 20 Apr 2009 17:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Y7Z3glvcQBfSnFAdnUFJi15rNcd1qKaWCPbMSBKX+UU=; b=ukCIf3nrTsBR/Csy9Yu4y2TEYmC/YA0hrjH3+16yfTOaroemCsakWXrQ6nqPyPJCW0 lrqwE6hCiooM9ZJzjsqN9moF+3LxZtdbhx5srT8k8XF3AmGcQOg+PZsIrHuIouhrx/PZ FXKAVs8zArn01Us1wMNQvOap+NiiAzwspTc0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=HePA85nvmMuORP1C41MDE9s4qCHEv86nP6v+aA2t3500dSf6uuPz8XRMEVirytuscN SO+GPog4BY0SrfoeI0xLgo2k+ETuB/ZFe0sy7yeu4a0LB7pKFWfNR1dtvHPwsMlgzOrM D1P/tsSssLGzY5YrJIi4xE/o1QohRFeqDJE5c= Received: by 10.141.107.13 with SMTP id j13mr2678491rvm.251.1240274909316; Mon, 20 Apr 2009 17:48:29 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id b8sm11882608rvf.26.2009.04.20.17.48.27 (version=SSLv3 cipher=RC4-MD5); Mon, 20 Apr 2009 17:48:28 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Tue, 21 Apr 2009 09:52:09 +0900 From: Pyun YongHyeon Date: Tue, 21 Apr 2009 09:52:09 +0900 To: xer Message-ID: <20090421005209.GD93322@michelle.cdnetworks.co.kr> References: <20090407120032.633E410656D5@hub.freebsd.org> <20090410044340.GJ37714@michelle.cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090410044340.GJ37714@michelle.cdnetworks.co.kr> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: watchdog timeout X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 00:48:30 -0000 On Fri, Apr 10, 2009 at 01:43:40PM +0900, Pyun YongHyeon wrote: > On Wed, Apr 08, 2009 at 10:41:44AM +0200, xer wrote: > > Hello > > I have some problems with 3Com nics, after a upgrade from 5.5-STABLE to > > 6.4-STABLE. > > > > This machine has two 3com nics (one is LAN other is WAN) and i see too much > > "watchdog timeout" on both cards. > > This on/off up/down on cards, affect the interrupt to clients that are > > downloading from apache web server, especially on large files. > > > > -------------------------------------------- > > xer:/root# dmesg > > xl1: watchdog timeout > > xl1: link state changed to DOWN > > xl1: link state changed to UP > > xl1: watchdog timeout > > xl1: link state changed to DOWN > > xl1: link state changed to UP > > xl1: watchdog timeout > > xl1: link state changed to DOWN > > xl1: link state changed to UP > > --------------------------------------------- > > > > xer:/root# cat /var/run/dmesg.boot | grep xl > > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec00-0xec7f mem > > 0xfceffc00-0xfceffc7f irq 23 at device 11.0 on pci2 > > miibus0: on xl0 > > xlphy0: <3c905C 10/100 internal PHY> on miibus0 > > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > xl0: Ethernet address: 00:01:02:e0:04:1b > > xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xe880-0xe8ff mem > > 0xfceff800-0xfceff87f irq 20 at device 12.0 on pci2 > > miibus1: on xl1 > > xlphy1: <3c905C 10/100 internal PHY> on miibus1 > > xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > xl1: Ethernet address: 00:01:02:df:fe:ed > > --------------------------------------------- > > Another doubt would be my kernel config, maybe there is something wrong > > that i cannot see, i'll post at the end of this post, 'cause is too long. > > > > As you can see, the cards are 3c905C-TX model. > > Someone told me to change drivers, but i cannot understand this advice. > > I got same errors with same cards but with another mainboard, same problem, > > watchdog appears after an upgrade from 5.4-STABLE to 6.4-STABLE. > > > > I don't think that to change nic's pci slots, will solve the problem, i > > think that maybe change the nics would resolve the matter, but i cannot > > access to both FreeBSD phisically, cause the boxes are too far from me > > (about 3500 km). > > > > I'm asking you some advices, and i can i fix this problem. > > p.s. with both 5.4 or 5.5 old kernel, the nics was fine. > > > > I vaguely remember there were a couple of reports on xl(4) watchdog > timeouts. I'm not sure this came from missing Tx interrupts but > would you try attached patch? > Note, it was generated against HEAD and you should experiment the > attached patch on local box prior to applying to your production > server. For the records, patch committed to HEAD(r191344, r191345).