On 18.08.2010 14:11, Stefan Kisdaroczi wrote:
> [...]
> hi philippe, hope this helps:
>
>
> (gdb) bt
> #0  doublefault_fn () at arch/x86/kernel/doublefault_32.c:47
> #1  0x00000000 in ?? ()
>
> I set two breakpoints:
> 1) do_test_wp_bit()
> 2) zap_low_mappings()
>
> The second breakpoint is never reached, the fault seems to happen in
> do_test_wp_bit().
> arch/x86/mm/init_32.c : mem_init() -> test_wp_bit() -> do_test_wp_bit()
>   

If I got it right, do_test_wp_bit() should fault, and then
ipipe_handle_exception gets called.
At this point, ipipe_init_early() was called, but ipipe_init() not.
So, I currently guess the bug is somewhere in ipipe_handle_exception().

Looking at ipipe-2.6.git I see the following commits which could be related:
x86: Fix root domain state restoring on exception return, 22.01.2010,
Jan, a2bc69bd3bd2e6a8f39d8407c647d7dfd2821bc0
x86/ipipe: Fix up regs unconditionally on exceptions, 12.04.2010, Jan,
ed2e37c05c897a46ea895a0dfbf08086057e2bcf

Stefan


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to