Date: Mon, 29 Mar 1999 15:43:16 +0100 From: Tony Finch <dot@dotat.at> To: current@freebsd.org Subject: booting systems with lots of memory Message-ID: <E10RdG0-0006C0-00@fanf.noc.demon.net>
next in thread | raw e-mail | index | archive | help
We have a Quad 400MHz Xeon on evaluation here and we're trying to get a large memory configuration working. The machine is running a recent 3.1-STABLE with the kva patch from -CURRENT (appended below). When we have a working system with 1GB of RAM we'll increase it to 3GB of RAM and see how it runs. The boot blocks are from 3.0-RELEASE and they will boot the old a.out kernel via /boot/loader quite happily. We haven't yet managed to boot an ELF kernel, though (but we haven't tried to boot an unpatched one). It's also somewhat painful to debug because the machine is miles away and its serial console is causing trouble. Are there any obvious things we have missed? I assume the kernel load address is read by /boot/loader from the kernel's ELF header, so that a recent loader can cope. I also assume that the patch included below tweaks all of the required knobs. Tony. -- f.a.n.finch dot@dotat.at fanf@demon.net =================================================================== RCS file: /home/ncvs/src/sys/i386/conf/Makefile.i386,v retrieving revision 1.140 retrieving revision 1.141 diff -p -u -r1.140 -r1.141 --- src/sys/i386/conf/Makefile.i386 1999/03/01 09:54:51 1.140 +++ /home/ncvs/src/sys/i386/conf/Makefile.i386 1999/03/11 18:28:41 1.141 @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.140 1999/03/01 09:54:51 dt Exp $ +# $Id: Makefile.i386,v 1.141 1999/03/11 18:28:41 dg Exp $ # # Makefile for FreeBSD # @@ -56,7 +56,7 @@ CFLAGS+= -elf CFLAGS+= -aout .endif -LOAD_ADDRESS?= F0100000 +LOAD_ADDRESS?= C0100000 DEFINED_PROF= ${PROF} .if defined(PROF) CFLAGS+= -malign-functions=4 =================================================================== RCS file: /home/ncvs/src/sys/i386/conf/kernel.script,v retrieving revision 1.1 retrieving revision 1.2 diff -p -u -r1.1 -r1.2 --- src/sys/i386/conf/kernel.script 1998/09/30 12:14:39 1.1 +++ /home/ncvs/src/sys/i386/conf/kernel.script 1999/03/11 18:28:42 1.2 @@ -5,7 +5,7 @@ SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/ob SECTIONS { /* Read-only sections, merged into text segment: */ - . = 0xf0100000 + SIZEOF_HEADERS; + . = 0xc0100000 + SIZEOF_HEADERS; .interp : { *(.interp) } .hash : { *(.hash) } .dynsym : { *(.dynsym) } =================================================================== RCS file: /home/ncvs/src/sys/i386/include/pmap.h,v retrieving revision 1.58 retrieving revision 1.59 diff -p -u -r1.58 -r1.59 --- src/sys/i386/include/pmap.h 1999/03/02 16:20:39 1.58 +++ /home/ncvs/src/sys/i386/include/pmap.h 1999/03/11 18:28:46 1.59 @@ -42,7 +42,7 @@ * * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 - * $Id: pmap.h,v 1.58 1999/03/02 16:20:39 dg Exp $ + * $Id: pmap.h,v 1.59 1999/03/11 18:28:46 dg Exp $ */ #ifndef _MACHINE_PMAP_H_ @@ -88,13 +88,13 @@ #define VADDR(pdi, pti) ((vm_offset_t)(((pdi)<<PDRSHIFT)|((pti)<<PAGE_SHIFT))) #ifndef NKPT -#define NKPT 9 /* actual number of kernel page tables */ +#define NKPT 17 /* actual number of kernel page tables */ #endif #ifndef NKPDE #ifdef SMP -#define NKPDE 62 /* addressable number of page tables/pde's */ +#define NKPDE 254 /* addressable number of page tables/pde's */ #else -#define NKPDE 63 /* addressable number of page tables/pde's */ +#define NKPDE 255 /* addressable number of page tables/pde's */ #endif /* SMP */ #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10RdG0-0006C0-00>