System Reboots when Initializing Paging.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Creature
Member
Member
Posts: 548
Joined: Sat Dec 27, 2008 2:34 pm
Location: Belgium

Re: System Reboots when Initializing Paging.

Post 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 ;).
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
rdos
Member
Member
Posts: 3310
Joined: Wed Oct 01, 2008 1:55 pm

Re: System Reboots when Initializing Paging.

Post 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:
Dario
Member
Member
Posts: 117
Joined: Sun Aug 31, 2008 12:39 pm

Re: System Reboots when Initializing Paging.

Post 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.
____
Dario
Post Reply