Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2013 22:27:28 -0700
From:      Justin Hibbits <jhibbits@freebsd.org>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Kernel panic during page-out
Message-ID:  <CAHSQbTC4ye9SEZWmiCh2voJRXCk2nPibjhzy-saLq2S6xaK0aA@mail.gmail.com>
In-Reply-To: <522BDFA5.8010803@freebsd.org>
References:  <CAHSQbTCmr5ofovvAYXtrQP86JLsOinGePet57hT1437K03=GKA@mail.gmail.com> <522BDFA5.8010803@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Peter


On Sat, Sep 7, 2013 at 7:23 PM, Peter Grehan <grehan@freebsd.org> wrote:

> Hi Justin,
>
>
>  I'm seeing a kernel panic on my G5, I think when it tries to page out to
>> swap, with the message:
>>
>> Lock vm object not exclusively locked @ .../aim/mmu_oea64.c:1529
>> backtrace:
>> .kdb_backtrace+0x5c
>> .vpanic+0x13c
>> .panic+0x38
>> .__rw_assert+0x184
>> .moea64_is_modified+0x54
>> .moea64_remove_all+0x78
>> .vm_pageout_object_deactivate_**pages+0x2e4
>> .vm_daemon+0x358
>> .fork_exit+0xdc
>> .fork_trampoline+0x10
>>
>> This machine has 12GiB RAM, running r254922.
>>
>
>  This is the same panic I saw on the g5 imac when I only had 512MB of RAM
> - 'twas much too easy to reproduce.
>
>  The fix is
>
> moea64_is_modified
>  ...
> -       VM_OBJECT_ASSERT_WLOCKED(m->**object);
> +       VM_OBJECT_ASSERT_LOCKED(m->**object);
>
>  This is consistent with locking higher up in the call chain. Apologies
> for not submitting that when I found it (and discussed it with Nathan).
>
>
> later,
>
> Peter.
>
>
If this is the correct fix, it should be pushed in through re@, and go into
10.  Is this correct?  I haven't checked the full locking on it.

- Justin



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