Page 2 of 2

Re: System Reboots when Initializing Paging.

Posted: Sun Oct 24, 2010 3:36 am
by Creature
Shikhin wrote:Hi Sir, (Now I feel I should call you sir :D )

After reading your post, I clearly understood what paging is and have got to known the following three things:

1. How paging is implemented.
2. How MMU translates the addresses.
3. Sir, YOU ROCK! I have seldom found anyone, willing to give, his precious time, to explain one particularly stubby subject to a student/beginner.

I am again now trying to implement Paging, and if any problems occur, I will post here. =D> : Dedicated to you!
Hey, no problem :p. I haven't got a lot of time for my OS left these days so I'm happy to help anyone who's having problems with it. It took me about a year of OSDevving before I properly understood it, so I can understand your questions ;).

Re: System Reboots when Initializing Paging.

Posted: Sun Oct 24, 2010 6:47 am
by rdos
Messing up paging seems to be the easiest way of generating tripple-faults (and thus reboots). In my kernel, I first use a documented way of doing a CPU-reset (keyboard port), then I load CR3 with 0 just in case the first fails. :mrgreen:

Re: System Reboots when Initializing Paging.

Posted: Sun Oct 24, 2010 11:10 am
by Dario
Creature wrote: As you know, physical memory is divided into chunks of 4 kB...
Great post Creature! It helped me alot! Very short and straight to the point.