Re: 2.6.10-rc1-mm3

From: Andi Kleen
Date: Fri Nov 05 2004 - 05:50:05 EST


On Fri, Nov 05, 2004 at 02:17:58AM -0800, Andrew Morton wrote:
> Lorenzo Allegrucci <l_allegrucci@xxxxxxxx> wrote:
> >
> > On Friday 05 November 2004 09:13, Andrew Morton wrote:
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc1/2.6.10-rc1-mm3/
> >
> > ------------[ cut here ]------------
> > kernel BUG at mm/memory.c:156!
> > invalid operand: 0000 [#1]
> > PREEMPT
> > Modules linked in: ipv6 tun dm_mod emu10k1 sound soundcore ac97_codec unix
> > CPU: 0
> > EIP: 0060:[clear_page_range+276/304] Not tainted VLI
> > EFLAGS: 00010206 (2.6.10-rc1-mm3)
> > EIP is at clear_page_range+0x114/0x130
> > eax: daffc000 ebx: 00483fff ecx: c03b7088 edx: daffc000
> > esi: 00000000 edi: 00080000 ebp: dca51ed0 esp: dca51ea8
> > ds: 007b es: 007b ss: 0068
> > Process shmt04 (pid: 4854, threadinfo=dca51000 task=de374510)
>
> hm, I thought I ran ltp. Andi, this is due to the 4level patches. I can
> reproduce it with non-PAE x86. But testing was interrupted by the apparent
> suicide of an IDE disk :(

Ok, I think that was a BUG_ON I added later to check for something.
I think problem is that last is off by one at this point. That is ok.
I think it's safe to just remove it.

I will do a non PAE i386 LTP run with this now. Lorenzo can you
check it solves the problem for you?

-Andi

Remove bogus BUG_ON.

Signed-off-by: Andi Kleen <ak@xxxxxx>


diff -u linux-2.6.10rc1-mm3/mm/memory.c-o linux-2.6.10rc1-mm3/mm/memory.c
--- linux-2.6.10rc1-mm3/mm/memory.c-o 2004-11-05 11:42:00.000000000 +0100
+++ linux-2.6.10rc1-mm3/mm/memory.c 2004-11-05 11:45:37.000000000 +0100
@@ -153,7 +153,6 @@
return;
}
BUG_ON(addr & ~PGDIR_MASK);
- BUG_ON(end & ~PGDIR_MASK);
pgd_start = pml4_pgd_offset(pml4, addr);
free = 0;
pgd = pgd_start;


-
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/