"François Revol" <revol@xxxxxxx> wrote: > > Marcus Overhagen <marcusoverhagen@xxxxxxxx> wrote: > > > In protected mode, there shouldn't be any 1MB barrier. Something > > > in > > > the kernel's vm_init seems to go wrong when the page directory it > > > at > > > 0x100000. > > I would rather think it's the boot loader's fault - it might mess > > up > > the pages there for some reason (for example when jumping into real > > mode). Maybe we should look into this one day (ie. open a bug for > > it). > Could it be somehow related to A20 that must be enabled manually at > some point ? Maybe you fill in the page tables before enabling A20 in > which case you are actually overwriting 0x00000... Enabling the A20 gate is one of the first things the boot loader does - way before setting up the page tables. Bye, Axel.