Re: [PATCH] more sanity checks in Dwarf2 unwinder

2006-12-06 Thread Andi Kleen
On Monday 04 December 2006 17:20, Jan Beulich wrote: > >Would it be possible to add printks for the EIOs? We want to know > >when dwarf2 is corrupted. > > Here's a patch to do this and some more (applies on firstfloor tree, but > probably not on plain 2.6.19). Added thanks I added Documentatio

Re: [PATCH] more sanity checks in Dwarf2 unwinder

2006-12-04 Thread Jan Beulich
>Would it be possible to add printks for the EIOs? We want to know >when dwarf2 is corrupted. Here's a patch to do this and some more (applies on firstfloor tree, but probably not on plain 2.6.19). Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> --- linux-2.6.19-ff/kernel/unwind.c 2006-12-04

Re: [PATCH] more sanity checks in Dwarf2 unwinder

2006-11-29 Thread Jan Beulich
>> while (unwind(info) == 0 && UNW_PC(info)) { >> n++; >> oad->ops->address(oad->data, UNW_PC(info)); >> if (arch_unw_user_mode(info)) >> break; >> +if ((sp & ~(PAGE_SIZE - 1)) == (UNW_SP(info) & ~(PAGE_SIZE - 1)) >> +

Re: [PATCH] more sanity checks in Dwarf2 unwinder

2006-11-29 Thread Andi Kleen
On Wednesday 29 November 2006 12:13, Jan Beulich wrote: > Tighten the requirements on both input to and output from the Dwarf2 > unwinder. Thanks for doing this. > while (unwind(info) == 0 && UNW_PC(info)) { > n++; > oad->ops->address(oad->data, UNW_PC(info)); >

[PATCH] more sanity checks in Dwarf2 unwinder

2006-11-29 Thread Jan Beulich
Tighten the requirements on both input to and output from the Dwarf2 unwinder. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> --- linux-2.6.19-rc6/arch/i386/kernel/traps.c 2006-11-29 10:03:03.0 +0100 +++ 2.6.19-rc6-unwind-more-sanity-checks/arch/i386/kernel/traps.c 2006-11-28 17