On 10-6-9 下午2:24, Samuel Thibault wrote:
> Zheng Da, le Wed 09 Jun 2010 01:22:48 -0400, a écrit :
>> So which instruction triggers the trap? nop or movl?
> 
> movl, but it's not its ofwn fault.
> 
> My guess is that right after sti, an interrupt is triggered while nop is
> being executed, gets handled after nop is executed, and we return to
> movl, but somehow the return doesn't reactivate the kernel pagetable or
> privilege. Looking at the registers you have again, I see
> 
> cs                 0x8
> ds                0x10
> 
> These are correct. So that must the the pagetable that is incorrect.
> Check out cr3 and such.
How do I check cr3? show registers doesn't give cr3.

Zheng Da

Reply via email to