Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2006 14:59:39 -0700 (PDT)
From:      "Bradley W. Dutton" <brad-fbsd-stable@duttonbros.com>
To:        "Pawel Jakub Dawidek" <pjd@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 6.1 prerelease graid3 livelock?
Message-ID:  <60907.67.169.82.217.1146434379.squirrel@uno.mnl.com>
In-Reply-To: <57229.67.169.82.217.1146336755.squirrel@uno.mnl.com>
References:  <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com>    <20060427065534.GI17000@garage.freebsd.pl>    <20060427173550.GA22635@garage.freebsd.pl>    <54892.67.169.82.217.1146176385.squirrel@uno.mnl.com>    <65294.67.169.82.217.1146195422.squirrel@uno.mnl.com> <57229.67.169.82.217.1146336755.squirrel@uno.mnl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I can reproduce the panic I experienced before. When in single user mode
if I try to mount a raid3 array that isn't complete I get the following
error:
panic: Lock (sx) GEOM topology locked @
/usr/src/sys/geom/raid3/g_raid3.c:775.

The full error and alltrace is here:
http://duttonbros.com/freebsd/ddb.log

As a workaround I would boot a pre March 20 kernel, rebuild the array,
then boot the new kernel again.

Thanks,
Brad



> It looks like the second patch fixed the problem. The box has been up for
> just over a day and a half without any problems.
>
> Thanks,
> Brad
>
>
>> Well I don't know what was going on earlier but I reverted to good
>> kernel,
>> synced my raid arrays (no longer degraded from the panics), then booted
>> a
>> kernel with the second patch applied, this time no problems so far. I'll
>> let you know how things go after the box is running for a while.
>>
>> Thanks,
>> Brad
>>
>>
>>> Ok, I had already installed and booted the first patch. I then rebuilt
>>> the
>>> kernel with the second patch. Trying to reboot from the first patch to
>>> the
>>> second resulted in a crash/panic on shutdown. I didn't capture the
>>> output
>>> from this. Once I booted the second patch the machine panics in the
>>> boot
>>> process, in short:
>>> /dev/raid3t/moviesf: clean,o 190615 free (19p11 frags, 23588 oblocks,
>>> 0.8%
>>> fralogy locked @ /usr/src/sys/geom/raid3/g_raid3.c:773.
>>> KDB: enter: panic
>>> [thread pid 35 tid 100030 ]
>>> Stopped at      kdb_enter+0x30: leave
>>>
>>> The text copied from the serial console was a little garbled, it did
>>> say
>>> something like:
>>> sx lock, geom topology locked...
>>>
>>> I did an "alltrace" at that point which I'll send seperately.
>>>
>>> Thanks,
>>> Brad
>>>
>>>
>>>> On Thu, Apr 27, 2006 at 08:55:35AM +0200, Pawel Jakub Dawidek wrote:
>>>> +> On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote:
>>>> +> +> Hi,
>>>> +> +>
>>>> +> +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It
>>>> appears
>>>> +> +> all  of the IO related activity hangs but the box continues to
>>>> do
>>>> +> +> routing/NAT/etc  for internet access from my other boxes. I can
>>>> usually
>>>> +> +> get the lockup to occur within about 12 hours of booting.
>>>> +>
>>>> +> Ok, I think I found it. Could you try this patch:
>>>> +>
>>>> +> 	http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch
>>>>
>>>> markus@ reported the livelock is still there, so please try this patch
>>>> instead:
>>>>
>>>> 	http://people.freebsd.org/~pjd/patches/g_raid3.c.5.patch
>>>





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