From owner-freebsd-stable@FreeBSD.ORG Sat Sep 19 09:04:06 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45E85106566B; Sat, 19 Sep 2009 09:04:06 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id E169C8FC0A; Sat, 19 Sep 2009 09:04:05 +0000 (UTC) Received: by yxe2 with SMTP id 2so2056309yxe.3 for ; Sat, 19 Sep 2009 02:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=WnvL0sI1U5gIdjG2LzZ2YtTEg2udlwX4Op8u1Qg7LF0=; b=rr7wM8lvge+cxVwi0T15Pgu2SJdq0DwgKh8SrWhvztvSY9HfcQgtfq+Td1oZMx0vjW ffNiv3CmDpFe4qSBRCtn4K9xF/DqqOOYtUBN6syLvRflHFhejgn4obDflmM95HhoFeZb MTCkkHVFxkCOjDzBHkriGBiBxl8GsNb3CsQOo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wjrMYPAd/YcbaKX2oGn/9hRCNPcMHJCGBzCQ3YoNgBcgQ4JvxSR1JBs5JjzxtV7te/ mA8RwDU3rEOUHC4qa2BkvKGeD3KL+vpTIjB6HUl0JVguHr4Y7L2KW3gkyBGyO7RCIT3K q7gb8wgunSYCCVSqACGtOo+I3n/UhSCMapm0E= MIME-Version: 1.0 Received: by 10.101.212.14 with SMTP id o14mr2430399anq.161.1253351045172; Sat, 19 Sep 2009 02:04:05 -0700 (PDT) In-Reply-To: <4AB36E1F.6080401@gmail.com> References: <3bbf2fe10909121432x7bd4f7es497e9431c4e520d6@mail.gmail.com> <4AB1A838.2040406@gmail.com> <3bbf2fe10909170216u29d994aj55c21efdfbc26ba5@mail.gmail.com> <4AB21005.6040104@gmail.com> <4AB36E1F.6080401@gmail.com> Date: Sat, 19 Sep 2009 12:04:05 +0300 Message-ID: From: Dan Naumov To: "C. C. Tang" Content-Type: text/plain; charset=ISO-8859-1 Cc: Attilio Rao , FreeBSD-STABLE Mailing List Subject: Re: 7.2-release/amd64: panic, spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2009 09:04:06 -0000 On Fri, Sep 18, 2009 at 2:25 PM, C. C. Tang wrote: >> Attilio Rao wrote: >>> >>> 2009/9/17 C. C. Tang : >>>>>> >>>>>> Dan, is that machine equipped with Hyperthreading? >>>>>> >>>>>> Attilio >>>>> >>>>> Yes. It's an Intel Atom 330, which is a dualcore CPU with HT (4 cores >>>>> visible in "top" as a result) >>>> >>>> Yes, mine is also Atom 330. >>>> >>>> I cannot test the patch because my machine is also in production now. >>>> But I >>>> have tested it with hyperthreading. >>>> powerd with HyperThreading -> spin lock hold too long >>>> powerd without HyperThreading -> no problem >>>> no powerd with/without HyperThreading -> no problem >>> >>> But these are with the last patch I posted in? >>> (specifically, for 7.2: >>> http://www.freebsd.org/~attilio/sched_ule.diff >>> ) >>> >>> So with the patch in, powerd and hyperthreading on you still get a >>> deadlock? >>> >>> Attilio >>> >>> > I have patched the sched_ule.c and did a make buildkernel & make > installkernel (is buildworld and installworld necessary?), rebooted and the > machine is running now. > I will post here again if there is any update. Considering we are at RC1 right now, is there any chance this patch makes it into 8.0 release if the patch fixes the issue and doesn't cause any regressions? Unfortunately I can't test it myself right now, so I have to rely on other people experiencing the same issue to see if the patch fixes it. - Dan