Messages in this thread Patch in this message | | | Date | Sun, 25 Jan 2004 16:04:00 -0800 | From | Andrew Morton <> | Subject | Re: 2.6.2-rc1-mm2 kernel oops |
| |
Andrew Morton <akpm@osdl.org> wrote: > > Eric <eric@cisu.net> wrote: > > Now I get the test_wp_bit oops w/ > ... > > 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. >
Well I don't see any reason why the obvious should not work. It boots OK on i386 but whether other architectures do things in mem_init() which must be done prior to exception table sorting, I know not. It seems unlikely.
Can you see if this patch makes the test_wp_bit() oops go away?
diff -puN init/main.c~test_wp_bit-oops-fix init/main.c --- 25/init/main.c~test_wp_bit-oops-fix 2004-01-25 15:29:53.000000000 -0800 +++ 25-akpm/init/main.c 2004-01-25 15:30:03.000000000 -0800 @@ -434,9 +434,9 @@ asmlinkage void __init start_kernel(void } #endif page_address_init(); + sort_main_extable(); mem_init(); kmem_cache_init(); - sort_main_extable(); if (late_time_init) late_time_init(); calibrate_delay(); _
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |