how to:hard disk I/O and file system
Re: how to:hard disk I/O and file system
But actually that routine is never executed. I had written it but now its not used and never gets called any time then how can it make so many gpfs?
Walking my way in making my OS
Re: how to:hard disk I/O and file system
Then why is it included in your post?hegde1997 wrote:But actually that routine is never executed...
Try reducing scope. Do some debugging.
Every good solution is obvious once you've found it.
Re: how to:hard disk I/O and file system
to hegde1997
Combuster showed you one place where you have a great mistake, but you have this mistake in many other places too.
Just think about size of `word' and `eax'.
I'm feeling tired of this madness.. although i'm remembering that about 5 years ago i've done the same mistake.
Combuster showed you one place where you have a great mistake, but you have this mistake in many other places too.
Just think about size of `word' and `eax'.
I'm feeling tired of this madness.. although i'm remembering that about 5 years ago i've done the same mistake.
Re: how to:hard disk I/O and file system
for the general protection fault i am getting error code 4452.
Walking my way in making my OS
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: how to:hard disk I/O and file system
Only 5 days to only find out what garbage value you attempt to put in a segment register?
Do some debugging. Get yourself the line of code.
Do some debugging. Get yourself the line of code.
Re: how to:hard disk I/O and file system
I am replying to this post almost after few months. i got it solved and it was too silly mistake. at a place before my kernel_main() i had done cli and so i got interrupts after i had done sti. and the gpf one is bcoz in my irq instead of jmp i had done call and so may be stack was getting messed up.Combuster wrote:Only 5 days to only find out what garbage value you attempt to put in a segment register?
Do some debugging. Get yourself the line of code.
i had got solution to dis a long ago. today i was simply going through this post so thought of telling that i had got the solution.
Walking my way in making my OS