Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51

From: Jan Beulich
Date: Tue Aug 08 2006 - 02:57:45 EST


>>> Andi Kleen <ak@xxxxxxx> 08.08.06 08:49 >>>
>
>> >include/asm-i386/unwind.h::arch_unw_user_mode():
>> > return info->regs.eip < PAGE_OFFSET
>> > || (info->regs.eip >= __fix_to_virt(FIX_VDSO)
>> > && info->regs.eip < __fix_to_virt(FIX_VDSO) + PAGE_SIZE)
>> > || info->regs.esp < PAGE_OFFSET;
>>
>> Hmm, indeed. Then I'm unclear what the problem might be here.
>
>That code will check for the vsyscall page, but sysenter_entry isn't
>in the vsyscall page, but in the kernel proper.
>
>So it means the EIP never actually reached the vsyscall page. It should
>have gone up another level, but didn't.

I think we had seen sysenter_past_esp in the stack trace, so it did reach
that function. The next outer level should be the VDSO page, shouldn't it?

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