From owner-freebsd-net@FreeBSD.ORG Sat Aug 11 08:06:20 2012 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 A7280106564A for ; Sat, 11 Aug 2012 08:06:20 +0000 (UTC) (envelope-from hoomanfazaeli@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 771E68FC17 for ; Sat, 11 Aug 2012 08:06:20 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so4262608pbb.13 for ; Sat, 11 Aug 2012 01:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ShgFVL0ojbf/IeQugJueZRAjY/oDjE5DLKuUgwmyo6o=; b=lqgaCz6OjQVMVg10rmzlcegc0rVem3n16Q4L6Y5E44u3fR4OqQ5UaEaDE0Cg35+cg3 QCSwBgrIDwAAGO3Tf1zJOyzzQ15I2XbEzoOoMcDGLh4csazEJlsmr1tHElQarq3rwWb7 ppjxcOhLVo2PNQyoKJJoHDE3kFL5udE8JumjC7g2rAhxCoDwE5HA+N9c+6L7cgZrlggo w8N+LZivHSIzCOVCaT0Ecoxa4sU376fxbGpNlv7YoUbS71w074cypE4JReLfwf9ZtLHu +Y2GrYxAUCM+UVlw/zh9fhJR9HLf2s6rxFir1CyrDwTADMKAPGQdUHfXZUY9Z5kruH9J Q0NA== Received: by 10.68.217.202 with SMTP id pa10mr3783721pbc.15.1344672379714; Sat, 11 Aug 2012 01:06:19 -0700 (PDT) Received: from [127.0.0.1] ([84.241.57.181]) by mx.google.com with ESMTPS id qp6sm952336pbc.55.2012.08.11.01.06.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 11 Aug 2012 01:06:18 -0700 (PDT) Message-ID: <50261271.50101@gmail.com> Date: Sat, 11 Aug 2012 12:36:09 +0430 From: Hooman Fazaeli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Karl Pielorz References: <26ABB168B4C8E32E7D127EF9@Octca64MkIV.tdx.co.uk> In-Reply-To: <26ABB168B4C8E32E7D127EF9@Octca64MkIV.tdx.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD 9.0-R em0 issues? 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: Sat, 11 Aug 2012 08:06:20 -0000 On 8/10/2012 11:24 PM, Karl Pielorz wrote: > > Hi, > > Apologies for posting to -net as well - I originally posted this to -hackers, but was advised to re-post it here... > > A FreeBSD 9.0-R amd64 box - based on a SuperMicro X8DTL-IF Rev. 2.01 w/Intel L5630 & 6Gb of RAM seems to have issues with it's onboard NIC (em driver based - i.e. em0). > > The machine runs fine - but then suddenly loses all network connectivity. Nothing is logged on the console, or /var/log/messages. > > Doing an 'infconfig em0 down' then up, doesn't fix it. Rebooting the box does fix it "for a while". Having dug around Google - I've now set "hw.em.enable_msix=0" - the box ran the whole of the day > with that set, before again - having em0 wedge up. > > When it does this 'netstat -n -i' returns "silly" figures - i.e. if I catch it even moments after it's done it - it'll claim to have suffered billions of input/output and collision errors (huge > amounts more than the amount of traffic that machine would have handled) - e.g. > > " > Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll > em0 1500 00:25:90:31:82:46 355482 10612864185945 0 291109 3032246910270 1516123455135 > " 82574L with ASPM enabled is known to cause a problem like yours. (See:http://www.google.com/#hl=en&sclient=psy-ab&q=82574L+%2B+ASPM ) However, some time ago, jack committed a fix which disabled ASPM to fix the problem. I recommend getting and compiling latest e1000 source from CVS (which is version 7.3.2) and see what happens.