From owner-freebsd-net@FreeBSD.ORG Sun Nov 14 03:53:41 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 769EC106566C for ; Sun, 14 Nov 2010 03:53:41 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 2E6718FC08 for ; Sun, 14 Nov 2010 03:53:41 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:808a:bf97:8eb:f23b] ([IPv6:2607:f3e0:0:4:808a:bf97:8eb:f23b]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id oAE3rcGg020647 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 13 Nov 2010 22:53:39 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <4CDF5D24.5000801@sentex.net> Date: Sat, 13 Nov 2010 22:53:08 -0500 From: Mike Tancsa User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Patrick Mahan References: <4CDF09BD.3050509@mahan.org> <4CDF4AE6.5070507@mahan.org> In-Reply-To: <4CDF4AE6.5070507@mahan.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-net@freebsd.org Subject: Re: Debugging em(4) driver 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: Sun, 14 Nov 2010 03:53:41 -0000 On 11/13/2010 9:35 PM, Patrick Mahan wrote: > > > On 11/13/2010 02:27 PM, Ryan Stone wrote: >> It looks to me that you're getting a ton of input drops. That's >> presumably the cause of your issue. You can get the em driver to >> print debug information to the console by running: >> >> # sysctl dev.em.3.stats=1 >> # sysctl.dev.em.3.debug=1 >> >> The output should be available in dmesg and /var/log/messages >> >> Hopefully that can shed some light on the nature of the drops. > > Ryan, > > Thanks for the tip. But I see I forgot to mention this was FreeBSD 8.0. > The em(4) driver is actually the one found in FreeBSD 8.1 as we needed > the AltQ fixes. > Try grabbing the em drivers from HEAD. They fixed a few bugs for me. You should be able to grab all of /usr/src/sys/dev/e1000 from HEAD and drop it in to RELENG_8 and compile ---Mike