Re: Unable to turn paging on!!

From: Brian Gerst (bgerst@didntduck.org)
Date: Wed Mar 26 2003 - 15:11:38 EST


ravikumar.chakaravarthy@amd.com wrote:
> I tweaked the kernel and boot loader to load the kernel at 0xdf000000, physical address. I did the following changes to setup the initial page table.
>
> However during boot, in arch/i386/kernel/head.S when the paging bit is set
> movl %eax,%cr0 /* ..and set paging (PG) bit */
>
> My computer hangs!!
>
> Any idea why??
>
> -Ravi

The kernel can only be loaded into memory that is directly mapped, which
is the first 960MB. Why do you need to change the load address?

--
				Brian Gerst

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:25 EST