Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2010 16:08:25 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        "Kirk Davis" <kirk.davis@epsb.ca>, "Jack Vogel" <jfvogel@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Intel em0: watchdog timeout
Message-ID:  <201002222107.o1ML7v3Z059734@lava.sentex.ca>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002222107.o1ML7v3Z059734>