7.2-release/amd64: panic, spin lock held too long

Dan Naumov dan.naumov at gmail.com
Mon Sep 14 12:47:18 UTC 2009


On Mon, Sep 14, 2009 at 3:43 PM, Attilio Rao <attilio at freebsd.org> wrote:
> 2009/7/23 C. C. Tang <hiyorin at gmail.com>:
>> Attilio Rao wrote:
>>>
>>> 2009/7/22 C. C. Tang <hiyorin at 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

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


More information about the freebsd-stable mailing list