All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herbert Poetzl <herbert@13thfloor.at>
To: lkml <linux-kernel@vger.kernel.org>
Cc: gigag@bezeqint.net
Subject: Re: Patch for 3.5/0.5 address space split
Date: Sun, 6 Jul 2003 22:18:44 +0200	[thread overview]
Message-ID: <20030706201843.GC24753@www.13thfloor.at> (raw)
In-Reply-To: <26930000.1057510039@[10.10.2.4]>

On Sun, Jul 06, 2003 at 09:47:20AM -0700, Martin J. Bligh wrote:
> > Could anybody point out to patches available for 3.5/0.5 address 
> > space split for 2.4 and 2.5 kernels?
> 
> It's in 2.4-aa and 2.5-mjb trees. 2.5 has the added feature that it
> can now do that for PAE (> 4GB) machines (from Dave Hansen). 
> 
> > Any other working options? I managed to compile 2.4.21 kernel 
> > with 1/3 split, but not with 0.5/3.5. The last one simply doesn't 
> > boot. What could I be doing wrong?
> 
> You can chage PAGE_OFFSET yourself, but there's a few places to change
> it ... do a grep -r for "C0000000", and hack all those - one of them
> is in some .lds file or something, I forget.

I change it to use QEMU an x86 emulator ...

arch/i386/vmlinux.lds
include/asm-i386/page.h

the following patch changes it from 0xC0000000 to 0x90000000

HTH,
Herbert


diff -NurbP --minimal linux-2.4.21-P1/arch/i386/vmlinux.lds linux-2.4.21-P1-qemu/arch/i386/vmlinux.lds
--- linux-2.4.21-P1/arch/i386/vmlinux.lds       Mon Feb 25 20:37:53 2002
+++ linux-2.4.21-P1-qemu/arch/i386/vmlinux.lds  Fri Jun 27 15:48:35 2003
@@ -6,7 +6,7 @@
 ENTRY(_start)
 SECTIONS
 {
-  . = 0xC0000000 + 0x100000;
+  . = 0x90000000 + 0x100000;
   _text = .;                   /* Text and read-only data */
   .text : {
        *(.text)
diff -NurbP --minimal linux-2.4.21-P1/include/asm-i386/page.h linux-2.4.21-P1-qemu/include/asm-i386/page.h
--- linux-2.4.21-P1/include/asm-i386/page.h     Thu Jun 26 23:40:59 2003
+++ linux-2.4.21-P1-qemu/include/asm-i386/page.h        Fri Jun 27 15:47:52 2003
@@ -78,7 +78,7 @@
  * and CONFIG_HIGHMEM64G options in the kernel configuration.
  */
 
-#define __PAGE_OFFSET          (0xC0000000)
+#define __PAGE_OFFSET          (0x90000000)
 
 /*
  * This much address space is reserved for vmalloc() and iomap()



> 
> M.
> 
> -
> 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/

  reply	other threads:[~2003-07-06 20:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-06 15:25 Patch for 3.5/0.5 address space split gigag
2003-07-06 15:47 ` Kirill Korotaev
2003-07-07 16:02   ` Martin Waitz
2003-07-06 16:47 ` Martin J. Bligh
2003-07-06 20:18   ` Herbert Poetzl [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-06 16:00 gigag
2003-07-06 16:07 ` Brian Jackson
2003-07-08 12:07 gigag

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030706201843.GC24753@www.13thfloor.at \
    --to=herbert@13thfloor.at \
    --cc=gigag@bezeqint.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.