Date: Thu, 24 Feb 2000 16:03:33 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Vladimir Kravchuk <adm@smr.ru> Cc: Doug Rabson <dfr@nlsystems.com>, freebsd-alpha@FreeBSD.ORG Subject: Re: UP2000/DP264 Message-ID: <14517.39997.734455.74296@grasshopper.cs.duke.edu> In-Reply-To: <38B4C617.3E8379D6@smr.ru> References: <Pine.BSF.4.21.0002210937020.77743-100000@salmon.nlsystems.com> <38B29B22.146AC359@smr.ru> <14514.39904.938273.513133@grasshopper.cs.duke.edu> <38B4C617.3E8379D6@smr.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
I have an idea why you might be seeing only 1GB. Can you please apply the appended patch to /usr/src/sys/alpha/alpha/pmap.c, rebuild your kernel & see if it helps? Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 Index: sys/alpha/alpha/pmap.c =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/pmap.c,v retrieving revision 1.34 diff -u -r1.34 pmap.c --- pmap.c 1999/11/19 21:34:50 1.34 +++ pmap.c 2000/02/24 21:00:15 @@ -172,6 +172,7 @@ #include <sys/user.h> #include <machine/md_var.h> +#include <machine/rpb.h> #ifndef PMAP_SHPGPERPROC #define PMAP_SHPGPERPROC 200 @@ -606,19 +607,13 @@ int pmap_uses_prom_console() { -#if 0 - extern int cputype; -#if defined(NEW_SCC_DRIVER) - return (cputype == ST_DEC_21000); -#else + int cputype; + + cputype = hwrpb->rpb_type; return (cputype == ST_DEC_21000 || cputype == ST_DEC_3000_300 || cputype == ST_DEC_3000_500); -#endif /* NEW_SCC_DRIVER */ -#endif - - return 1; } /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14517.39997.734455.74296>