Re: 2.6.27-rc5-mm1: 3 WARN_ON dumps during boot (acpi +vmap_pte_range)

From: Krzysztof Helt
Date: Tue Sep 09 2008 - 00:58:01 EST


On Tue, 9 Sep 2008 13:04:47 +1000
Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

> On Tuesday 09 September 2008 03:52, Krzysztof Helt wrote:
>
> > alloc_vmap_area within(e07f0000-fffb7000) size=801000
> > returns=(e0880000-e1081000)
> > alloc_vmap_area within(e07f0000-fffb7000) size=2000
> > returns=(e07f0000-e07f2000)
> > alloc_vmap_area within(e07f0000-fffb7000) size=2000
> > returns=(e0822000-e0824000)
> > vunmap_page_range (e07f0000-e07f2000 size=2000)
> > free_vmap_area (e07f0000-e07f2000 size=2000)
>
> > alloc_vmap_area within(e07f0000-fffb7000) size=5000
> > returns=(e07f0000-e07f5000)
> > ------------[ cut here ]------------
> > WARNING: at mm/vmalloc.c:40 check_pte_range+0x83/0x90()
>
> Thanks for that, it clearly shows the virtual address allocator
> is allowing an overlapping allocation after a vm_unmap_aliases()
> call. Unfortunately, my "random" test case happened not to
> trigger that... I should have paid more attention to edge cases
> rather than just random testing.
>
> Anyway, I hope this fix should solve the problem for you? (it
> fixes it here)
>

Your patch fixes two WARN_ON dumps from my original dmesg (agp
related and module loading related).
The remaining one is the acpi kobject duplication.

Tested-by: Krzysztof Helt <krzysztof.h1@xxxxx>

Thanks a lot Nick,
Krzysztof

----------------------------------------------------------------------
Tanie polaczenia z Polska i ze swiatem
Sprawdz >> http://link.interia.pl/f1f00


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/