From owner-freebsd-current@FreeBSD.ORG Thu Jul 27 00:52:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60C4116A4DD for ; Thu, 27 Jul 2006 00:52:58 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2E5443D49 for ; Thu, 27 Jul 2006 00:52:57 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id c63so20847pyc for ; Wed, 26 Jul 2006 17:52:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=FVlfTwtbn8Hm8mAcIaUtgauy3zw3xdQGwzIBFTa0qrYZB5Y67NQN3TS0t7ZVHvv9CCAVgvVojlag12HqEeubR0r7iCMbgfYKhXX3Z/wkU/+ygSTspRQ9BREzLrU6WBpFNpIIwzZQxwM3gFsSgDaGetEfPm1dS+y6GRwVWn0H7Gk= Received: by 10.35.61.14 with SMTP id o14mr12186316pyk; Wed, 26 Jul 2006 17:52:57 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 38sm2215763nzk.2006.07.26.17.52.54; Wed, 26 Jul 2006 17:52:56 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k6R0rSIv019787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Jul 2006 09:53:28 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k6R0rR5B019786; Thu, 27 Jul 2006 09:53:27 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 27 Jul 2006 09:53:27 +0900 From: Pyun YongHyeon To: Jeremie Le Hen Message-ID: <20060727005326.GA19286@cdnetworks.co.kr> References: <20060721123448.GV6253@obiwan.tataz.chchile.org> <2a41acea0607210927s108d1326qdad02b7d29376a09@mail.gmail.com> <20060725123603.GH6253@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060725123603.GH6253@obiwan.tataz.chchile.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Jack Vogel Subject: Re: [fbsd] Re: em(4) watchdog timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 00:52:58 -0000 On Tue, Jul 25, 2006 at 02:36:03PM +0200, Jeremie Le Hen wrote: > On Fri, Jul 21, 2006 at 09:27:31AM -0700, Jack Vogel wrote: > > hitting watchdog means you have a hang of some sort. > > try 'sysctl dev.em.0.debug_info=1' and see if that gives any clues. > > dev.em.0.debug_info: > % em0: Adapter hardware address = 0xc2a32130 > % em0: CTRL = 0x18f00241 RCTL = 0x801a > % em0: Packet buffer = Tx=16k Rx=48k > % em0: Flow control watermarks high = 47104 low = 45604 > % em0: tx_int_delay = 66, tx_abs_int_delay = 66 > % em0: rx_int_delay = 0, rx_abs_int_delay = 66 > % em0: fifo workaround = 0, fifo_reset_count = 0 > % em0: hw tdh = 149, hw tdt = 149 > % em0: Num Tx descriptors avail = 256 > % em0: Tx Descriptors not avail1 = 0 > % em0: Tx Descriptors not avail2 = 0 > % em0: Std mbuf failed = 0 > % em0: Std mbuf cluster failed = 0 > % em0: Driver dropped packets = 0 > > dev.em.0.stats: > % em0: Excessive collisions = 0 > % em0: Symbol errors = 0 > % em0: Sequence errors = 0 > % em0: Defer count = 0 > % em0: Missed Packets = 0 > % em0: Receive No Buffers = 0 > % em0: Receive length errors = 0 > % em0: Receive errors = 0 > % em0: Crc errors = 0 > % em0: Alignment errors = 0 > % em0: Carrier extension errors = 0 > % em0: RX overruns = 0 > % em0: watchdog timeouts = 6 > % em0: XON Rcvd = 0 > % em0: XON Xmtd = 0 > % em0: XOFF Rcvd = 0 > % em0: XOFF Xmtd = 0 > % em0: Good Packets Rcvd = 3720143 > % em0: Good Packets Xmtd = 1246413 > > Most of provided debugging informations are meaningless for me. > Is any minded soul able to understand this ? > I think the debug_info is useless as it's the output after hardware reset. Would you try latest em(4) in CURRENT? I've fixed a DMA related bug. Not sure it helps. -- Regards, Pyun YongHyeon