From owner-freebsd-net@FreeBSD.ORG Sun Nov 14 05:08:54 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 D7D6B1065679 for ; Sun, 14 Nov 2010 05:08:54 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 698B68FC0C for ; Sun, 14 Nov 2010 05:08:53 +0000 (UTC) Received: by wwj40 with SMTP id 40so1409761wwj.31 for ; Sat, 13 Nov 2010 21:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=IV8hITIl6bUc1dNU2qYCv8vxy08aK4ly3XjK84UpmhE=; b=FM1S7TlzRjC8dYMKNyaYTJd+SZdKJZ//qECIy94BRZohm3XUijBAraneN/9XkBqa6o lSOpUMIBK6HT6xTqc7VoQ0bFKke47cHWZ7+rN4/FyR5+hp4XllpNuQgiRk33w1a/gn/8 2OP0JdWyFNtcZum7c/wO2Top+K+VyliR3P5t0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JTmzqjXziX4yWPvhu3bDKAcf3m8lK5SsMXk5ZFgH/Cku1CJcQ112603Q1FpI8Eaf0p R0wP8CUhTR8MQui9Ef2fB2MNaZANiRYqTEVj9FY6gPxVRXzsPmPmEkOpaz6vLA1eMozO k4TOd9sVJjij0ZLpfHT2qsRiagdnBx9tNSPXk= MIME-Version: 1.0 Received: by 10.216.59.193 with SMTP id s43mr5411262wec.42.1289711331538; Sat, 13 Nov 2010 21:08:51 -0800 (PST) Received: by 10.216.2.206 with HTTP; Sat, 13 Nov 2010 21:08:51 -0800 (PST) In-Reply-To: <4CDF5D24.5000801@sentex.net> References: <4CDF09BD.3050509@mahan.org> <4CDF4AE6.5070507@mahan.org> <4CDF5D24.5000801@sentex.net> Date: Sat, 13 Nov 2010 21:08:51 -0800 Message-ID: From: Jack Vogel To: Patrick Mahan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, Mike Tancsa 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 05:08:54 -0000 The stats changed quite a bit for 8.1, they are much more informative now, and they can be collected from anywhere not just the console. I don't quite understand what you are trying to do, debug an em problem or just debug a problematic situation by using em?? Mike is right, the driver in HEAD has some significant fixes and would be the best thing to use. Jack On Sat, Nov 13, 2010 at 7:53 PM, Mike Tancsa wrote: > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >