Re: 2.6.2-rc1-mm2 kernel oops

From: Andrew Morton
Date: Sun Jan 25 2004 - 18:28:45 EST


Eric <eric@xxxxxxxx> wrote:
>
> I am now having this problem. See the thread "Kernels > 2.6.1-mm3 do not
> boot." I had a kernel that would hang after uncompressing. Seems that gcc 3.3
> generates bad code w/ -funit-at-a-time. Now I get the test_wp_bit oops w/
> kernel version 2.6.2-rc2-mm2.
> Since I have already commented out the line.. and it led to this oops, what
> the heck is the real problem here?
> Seems alot of other SMP systems are breaking with this too.

Pretty simple:

init/main.c does

mem_init();
kmem_cache_init();
sort_main_extable();

but mem_init() calls test_wp_bit(). The exception tables haven't been
sorted yet.

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