[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing PAGE_OFFSET in 2.4.10 kernel



Hi all,
   I am trying to build a 2.4.10 kernel with PAGE_OFFSET set to
0x80000000, but couldn't get it to work so far. 
 Kernel versions upto 2.4.2 (probably later) provided a config option
to set the max. virtual memory. This setting would cange the value of
PAGE_OFFSET. The config option does not exist in the 2.4.10 kernel. So
I tried doing the changes manually: changed PAGE_OFFSET to 0x80000000
in include/asm-i386/page.h, and changed the start of text section to
0x80000000 in arch/i386/vmlinux.lds. But the kernel built with these
changes does not boot. It prints a series of 'Unable to handle kernel
paging request..' messages and hangs. Is there any other change that
I'm missing? 


Thanks for any help.

Ravi.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/