From owner-freebsd-current@FreeBSD.ORG Thu Oct 14 01:10:20 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 4BFC016A4CE for ; Thu, 14 Oct 2004 01:10:20 +0000 (GMT) Received: from smtp004.bizmail.sc5.yahoo.com (smtp004.bizmail.sc5.yahoo.com [66.163.175.81]) by mx1.FreeBSD.org (Postfix) with SMTP id E0CE543D45 for ; Thu, 14 Oct 2004 01:10:19 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.240.189 with login) by smtp004.bizmail.sc5.yahoo.com with SMTP; 14 Oct 2004 01:10:19 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 8C2286144; Wed, 13 Oct 2004 20:10:16 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 47126-04; Wed, 13 Oct 2004 20:10:15 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 2F43160D2; Wed, 13 Oct 2004 20:10:15 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.1/8.13.1) with ESMTP id i9E1AD6m028193; Wed, 13 Oct 2004 20:10:14 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <416DD1F5.7060602@alumni.rice.edu> Date: Wed, 13 Oct 2004 20:10:13 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040930) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrey Chernov References: <16749.29947.220930.46409@jerusalem.litteratus.org> <20041013232318.GN718@empiric.icir.org> <20041013234411.GA29777@nagual.pp.ru> <20041013235816.GA35652@xor.obsecurity.org> <20041014000822.GA30887@nagual.pp.ru> In-Reply-To: <20041014000822.GA30887@nagual.pp.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: Bruce M Simpson cc: Robert Huff cc: Robert Watson cc: current@FreeBSD.ORG cc: Kris Kennaway Subject: Re: network slowness/freez-up since update 10/11 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 01:10:20 -0000 On 10/13/04 19:08, Andrey Chernov wrote: > On Wed, Oct 13, 2004 at 04:58:16PM -0700, Kris Kennaway wrote: >> On Thu, Oct 14, 2004 at 03:44:12AM +0400, Andrey Chernov wrote: >>> Even with its locking mess it works perfectly in -current until >>> late August. >> >> You mean, until rwatson changed the default to debug.mpsafenet=1? :-) > > Your guess is precisely right! :-) > > (IMHO making such commit without testing major drivers such as if_de was > wrong step) Considering its scope, I believe the mpsafenet project has been handled quite well. Those involved went to great lengths (i.e. did a lot of testing) to ensure networking was usable throughout the process, and for the most part they succeeded. There are still a few rough edges (like if_de locking), but they're being worked on... >> debug.mpsafenet=0 is the known workaround, already mentioned in >> this thread. It hides the locking bugs by running the driver under Giant. > > Thanx, I already figure that out. Now building new kernel... That last sentence may be superfluous, but just in case: There's no need to build a new kernel for this -- debug.mpsafenet is a tunable and can be set in /boot/loader.conf or from the boot loader (still requires a reboot, though). Jon