Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 14:43:05 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        "C. C. Tang" <hiyorin@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>, barbara <barbara.xxx1975@libero.it>, "dan.naumov" <dan.naumov@gmail.com>
Subject:   Re: 7.2-release/amd64: panic, spin lock held too long
Message-ID:  <3bbf2fe10909140543w56783cc8of964f464d9314db2@mail.gmail.com>
In-Reply-To: <4A67C9C7.6090301@gmail.com>
References:  <KN4BGI$40ABF3E58EAD1201403C9DA561E2402F@libero.it> <4A667469.1080805@gmail.com> <3bbf2fe10907220930y27b5da04sd0a71d57b6a9d191@mail.gmail.com> <4A67C9C7.6090301@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/23 C. C. Tang <hiyorin@gmail.com>:
> Attilio Rao wrote:
>>
>> 2009/7/22 C. C. Tang <hiyorin@gmail.com>:
>>>>
>>>> Could that one (on i386) be related?
>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134584
>>>>
>>> I have no idea about it but I can tell the difference...
>>> My machine panic randomly rather than on shutdown and I remembered that
>>> 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 somewhat
> 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 hard
> for me to switch to -CURRENT...  :(

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


-- 
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10909140543w56783cc8of964f464d9314db2>