[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Mach: disabling all network device drivers
From: |
Da Zheng |
Subject: |
Re: GNU Mach: disabling all network device drivers |
Date: |
Wed, 09 Jun 2010 15:09:23 +0800 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
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