Page 1 of 1

Interesting error

Posted: Fri Oct 02, 2009 3:36 am
by hahnski07
I have been plagued the last couple weeks by an error that i thought was in the code. However, it appears that my entire kernel is cut off at 0x100200 for some reason and the rest of the memory is filled w/ 0s. I'm very confused by this.

Re: Interesting error

Posted: Fri Oct 02, 2009 8:56 am
by Andyhhp
This means that your 2nd stage bootloader is only loading the first sector of the kernel

Your kernel is loaded at 0x10000 and 0x200 is 512 bytes.

Most probably, it is not decoding the File Allocator Table correctly and thinking that the first sector is also the last sector.

Hope this helps,

~Andrew

Re: Interesting error

Posted: Fri Oct 02, 2009 11:40 am
by hahnski07
You're right... for some reason I didn't have the last part of the kernel loading in my bootsector.

Thanks for the help

Re: Interesting error

Posted: Sat Oct 03, 2009 3:13 pm
by Andyhhp
no problem at all

does it work slightly better now?