From owner-freebsd-stable@FreeBSD.ORG Mon Sep 14 12:47:18 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 A16F91065672; Mon, 14 Sep 2009 12:47:18 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7A28FC15; Mon, 14 Sep 2009 12:47:18 +0000 (UTC) Received: by yxe11 with SMTP id 11so4069531yxe.15 for ; Mon, 14 Sep 2009 05:47:17 -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 :content-transfer-encoding; bh=PyZafjaQqvbBmIBM6YSewajArvAmLYn++0QlbQyTO88=; b=X3Lv5crSsdd5R+t1zxqq9akBadZ5rGh8HWvfEE1QQbBYLOi/8q3Lpx6C/I1bR6wVQo nJ2DQMw5mv4b6jLvZrm0zttyLQcnIK/VAUoWoOp2sDBykjezVTURE3GlW0T1RPVuz048 sn2ToirbE1Yc9GN9dbRV5M+VKe/2pr/FLW31Q= 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:content-transfer-encoding; b=RYKbfBBUGLAtWZJoERNJTiWUmWLX7Gq0H1hCNSXMmyRG0a7yJYDQV9QCERv8Uz0muJ Y+kYwpWyd9DdEBMC7cSewB2MlVERUY6DWAfClRy1b3aQMWGg2f8RlKQc2inTTS+WUUX1 rZiFO8Grm4oUT8ByU/GfhKBjRTxJ45C06/1qI= MIME-Version: 1.0 Received: by 10.101.126.10 with SMTP id d10mr6110041ann.147.1252932437134; Mon, 14 Sep 2009 05:47:17 -0700 (PDT) In-Reply-To: <3bbf2fe10909140543w56783cc8of964f464d9314db2@mail.gmail.com> References: <4A667469.1080805@gmail.com> <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> <4A67C9C7.6090301@gmail.com> <3bbf2fe10909140543w56783cc8of964f464d9314db2@mail.gmail.com> Date: Mon, 14 Sep 2009 15:47:17 +0300 Message-ID: From: Dan Naumov To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: barbara , freebsd-stable , "C. C. Tang" 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: Mon, 14 Sep 2009 12:47:18 -0000 On Mon, Sep 14, 2009 at 3:43 PM, Attilio Rao wrote: > 2009/7/23 C. C. Tang : >> Attilio Rao wrote: >>> >>> 2009/7/22 C. C. Tang : >>>>> >>>>> Could that one (on i386) be related? >>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/134584 >>>>> >>>> I have no idea about it but I can tell the difference... >>>> My machine panic randomly rather than on shutdown and I remembered tha= t >>>> it >>>> failed to write core dump. It also failed to reboot automatically.. >>> >>> Is your problem on -CURRENT and amd64? >>> At some point there has been a problem with PAT support (and >>> tlb_shootdowns() could lead to a livelock hanging forever, leading to >>> such a bug) but I expect it is fixed now. >>> Can you try with a fresh new -CURRENT if any? >> >> My problem is on i386 version of 7.2-RELEASE-p2 on Intel Atom 330 CPU. >> And my system just panic randomly with "spin lock held too long". >> It didn't panic at reboot or shutdown so I think it the problem is somew= hat >> different from that mentioned by Barbara's PR? >> >> Anyway I disabled powerd and it seems become stable now. >> >> And I am sorry that my system has been put into service so it would be h= ard >> for me to switch to -CURRENT... =A0:( > > Can you re-enable powerd and try the attached patch?: > http://www.freebsd.org/~attilio/sched_ule.diff > > The patch is against STABLE_7, but I think HEAD has the same bug. > Please try it and report to me. > > Attilio Sadly I can't test this, I had to put the machine into production using another OS. I hope the patch fixes the issue, so I can at some point evaluate using FreeBSD on this hardware again. - Dan