From owner-freebsd-current@FreeBSD.ORG Fri Sep 17 18:43:06 2004 Return-Path: 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 B233116A4CE for ; Fri, 17 Sep 2004 18:43:06 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61B4943D60 for ; Fri, 17 Sep 2004 18:43:06 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i8HIgdjl067961; Fri, 17 Sep 2004 14:42:39 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i8HIgdCv067958; Fri, 17 Sep 2004 14:42:39 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 17 Sep 2004 14:42:39 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Raphael H. Becker" In-Reply-To: <20040917203851.F55054@p-i-n.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: de0 doze off X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 17 Sep 2004 18:43:06 -0000 On Fri, 17 Sep 2004, Raphael H. Becker wrote: > > Another possible testing avenue (which might be slightly unstable but > > would illustrate the point) would be to leave debug.mpsafenet=1, > > ok > > > disable preemption, > > Sorry, how exactly do I do this? "options PREEMPTION" may appear in your kernel configuration file -- if it does, comment it out and re-config/re-compile. > > and remove the IFF_NEEDSGIANT flag from the if_de driver flags. > > edited as following > > --- if_de.c.orig Fri Sep 17 18:53:41 2004 > +++ if_de.c Fri Sep 17 18:54:00 2004 > @@ -4758,7 +4758,7 @@ > /* XXX: driver name/unit should be set some other way */ > ifp->if_dname = "de"; > ifp->if_dunit = sc->tulip_unit; > - ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_MULTICAST|IFF_NEEDSGIANT; > + ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_MULTICAST; Looks good. This may result in reduced stability, but it may also tell us specifically if there's a problem with the IFF_NEEDSGIANT mechanism. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research