From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 18:38:50 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 C167016A4CE for ; Mon, 23 Aug 2004 18:38:50 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1AA043D55 for ; Mon, 23 Aug 2004 18:38:50 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 9471B7A403; Mon, 23 Aug 2004 11:38:50 -0700 (PDT) Message-ID: <412A39BA.8030003@elischer.org> Date: Mon, 23 Aug 2004 11:38:50 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Mike Jakubik References: <1569.66.11.183.182.1093284444.squirrel@66.11.183.182> <412A3590.4030003@elischer.org> <1599.66.11.183.182.1093285772.squirrel@66.11.183.182> In-Reply-To: <1599.66.11.183.182.1093285772.squirrel@66.11.183.182> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: SMP deadlocks 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: Mon, 23 Aug 2004 18:38:50 -0000 Mike Jakubik wrote: >Julian Elischer said: > > >>have you the published IPI patch? >>have you preemption defined? >> > >No, i have not tried the patch yet, everything seems fine when debugging >is in the kernel. Weather preemption is defined im not sure, where is this >set? The machine is a supermicro server 6023P-8R, dual xeon, 2GB ram. I >have tried with and without hyperthreading, doesnt seem to make a >difference. > > ok, here's the patch.. http://people.freebsd.org/~dwhite/smp_rv_mtx.patch if you don't know how to turn on pre-emption you probably don't have it on... :) (it's disabled for now in i386/include/param.h from memory) > >>Mike Jakubik wrote: >> >> >>>I am also experiencing SMP related deadlocks when doing parallel compiles >>>and make -j#. I am running RELENG_5, cvsuped a few hours ago. The >>>interesting thing is that i can only reproduce the system freeze when i >>>do >>>not have any debugging enabled in the kernel. With the GENERIC debugger >>>stuff in the kernel, it does not freeze. This is a real show stopper for >>>5.3. >>> >