Subject: Re: 1.4A problem on 5000/200
To: Andy Doran , Matthew Hudson <mhudson@home.com>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 04/11/1999 11:21:17
Simon Burge wrote:

> Note, this is a pre-coffee analysis and patch :-)

So pre-coffee, it didn't even compile.  Try this instead....

Simon.
--
Index: machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/pmax/pmax/machdep.c,v
retrieving revision 1.134
diff -u -r1.134 machdep.c
--- machdep.c	1999/04/01 00:17:49	1.134
+++ machdep.c	1999/04/11 01:20:59
@@ -581,16 +581,22 @@
 			curbufsize -= PAGE_SIZE;
 		}
 	}
+#if 0
+minaddr = 0;
+maxaddr = 0;
+#endif
 	/*
 	 * Allocate a submap for exec arguments.  This map effectively
 	 * limits the number of processes exec'ing at any time.
 	 */
+printf("uvm_km_suballoc: exec_map, size %d, minaddr 0x%08lx, maxaddr 0x%08lx\n", 16 * NCARGS, minaddr, maxaddr);
 	exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
 				   16 * NCARGS, TRUE, FALSE, NULL);
 
 	/*
 	 * Allocate a submap for physio
 	 */
+printf("uvm_km_suballoc: phys_map, size %d, minaddr 0x%08lx, maxaddr 0x%08lx\n", VM_PHYS_SIZE, minaddr, maxaddr);
 	phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
 				   VM_PHYS_SIZE, TRUE, FALSE, NULL);