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

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 14, 2009 at 3:43 PM, Attilio Rao <attilio@freebsd.org> wrote:
> 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=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



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