From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 17:29:44 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C26DB16A47C for ; Sat, 16 Sep 2006 17:29:44 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from ems01.seccuris.com (ems01.seccuris.com [204.112.0.35]) by mx1.FreeBSD.org (Postfix) with SMTP id CC7FD43D5D for ; Sat, 16 Sep 2006 17:29:43 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: (qmail 86158 invoked by uid 86); 16 Sep 2006 18:05:56 -0000 Received: from unknown (HELO ?127.0.0.1?) (204.112.0.40) by ems01.seccuris.com with SMTP; 16 Sep 2006 18:05:56 -0000 Message-ID: <450C3487.6050104@FreeBSD.org> Date: Sat, 16 Sep 2006 12:29:43 -0500 From: "Christian S.J. Peron" User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Christian Brueffer References: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> <450ADE55.7090509@samsco.org> <450AEC50.2060404@freebsd.org> <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Andre Oppermann , current@freebsd.org Subject: Re: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 17:29:44 -0000 Are you using dhclient (or do you have any other BPF peers attached to the network interface?) Christian Brueffer wrote: > On Fri, Sep 15, 2006 at 08:09:20PM +0200, Andre Oppermann wrote: > >> Scott Long wrote: >> >>> Christian Brueffer wrote: >>> >>> >>>> Hi, >>>> >>>> with the latest em(4) code in current (sans the printf/device_printf >>>> change), my interface wedges every few hours. It can be resurrected >>>> by bringing it down and up again. >>>> >>>> The device in question is a E1000_DEV_ID_82540EP_LP built into my >>>> Thinkpad. >>>> >>>> Anyone else seeing this? >>>> >>>> - Christian >>>> >>>> >>> Yes. It's also almost guaranteed to wedge the first time I do a remote >>> CVS operation after boot. >>> >> When the interface wedges does it show the OACTIVE flag in ifconfig output? >> This is an important hint. >> >> > > Yeah, OACTIVE is set. > > >> If you are running at 100Mbit there seems to be bug in the em(4) harware >> with TSO. Try disabling TSO on it with 'ifconfig em0 -tso'. >> >> > > Correct, I'm using it at 100Mbit and disabling TSO works around the > issue. > > - Christian > > -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer FreeBSD Security Team