From owner-freebsd-net@FreeBSD.ORG Mon Feb 22 21:08:05 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46EBC106568D for ; Mon, 22 Feb 2010 21:08:05 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id EBA108FC25 for ; Mon, 22 Feb 2010 21:08:04 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id o1ML7v3Z059734; Mon, 22 Feb 2010 16:07:57 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <201002222107.o1ML7v3Z059734@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 22 Feb 2010 16:08:25 -0500 To: "Kirk Davis" , "Jack Vogel" From: Mike Tancsa In-Reply-To: <529374128DC1B04D9D037911B8E8F05301C17A55@Exchange26.EDU.ep sb.ca> References: <529374128DC1B04D9D037911B8E8F05301C17A51@Exchange26.EDU.epsb.ca> <43416_1266864062_4B82CFBE_43416_81_1_2a41acea1002221043k1b8742c9m8fb484a8e8a4fdda@mail.gmail.com> <529374128DC1B04D9D037911B8E8F05301C17A54@Exchange26.EDU.epsb.ca> <43669_1266865888_4B82D6E0_43669_263_1_2a41acea1002221113v26804200q4f3971c3359dffab@mail.gmail.com> <529374128DC1B04D9D037911B8E8F05301C17A55@Exchange26.EDU.epsb.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: Intel em0: watchdog timeout X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2010 21:08:05 -0000 At 03:46 PM 2/22/2010, Kirk Davis wrote: >Does this need to be done in loader.conf? It doesn't seem to take from >the command line. ># sysctl dev.em.2.stats=1 >dev.em.2.stats: -1 -> -1 > ># sysctl dev.em.2.stats >dev.em.2.stats: -1 Hi, After you issue those commands, the driver will spit out a lot of useful stats to syslog. It will report something like the following in /var/log/messages Feb 22 16:06:31 offsite kernel: em0: Excessive collisions = 0 Feb 22 16:06:31 offsite kernel: em0: Sequence errors = 0 Feb 22 16:06:31 offsite kernel: em0: Defer count = 0 Feb 22 16:06:31 offsite kernel: em0: Missed Packets = 0 Feb 22 16:06:31 offsite kernel: em0: Receive No Buffers = 0 Feb 22 16:06:31 offsite kernel: em0: Receive Length Errors = 0 Feb 22 16:06:31 offsite kernel: em0: Receive errors = 0 Feb 22 16:06:31 offsite kernel: em0: Crc errors = 0 Feb 22 16:06:31 offsite kernel: em0: Alignment errors = 0 Feb 22 16:06:31 offsite kernel: em0: Collision/Carrier extension errors = 0 Feb 22 16:06:31 offsite kernel: em0: RX overruns = 0 Feb 22 16:06:31 offsite kernel: em0: watchdog timeouts = 0 Feb 22 16:06:31 offsite kernel: em0: RX MSIX IRQ = 0 TX MSIX IRQ = 0 LINK MSIX IRQ = 0 Feb 22 16:06:31 offsite kernel: em0: XON Rcvd = 0 Feb 22 16:06:31 offsite kernel: em0: XON Xmtd = 0 Feb 22 16:06:31 offsite kernel: em0: XOFF Rcvd = 0 Feb 22 16:06:31 offsite kernel: em0: XOFF Xmtd = 0 Feb 22 16:06:31 offsite kernel: em0: Good Packets Rcvd = 2559032551 Feb 22 16:06:31 offsite kernel: em0: Good Packets Xmtd = 1568751141 Feb 22 16:06:31 offsite kernel: em0: TSO Contexts Xmtd = 0 Feb 22 16:06:31 offsite kernel: em0: TSO Contexts Failed = 0 ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike