Subject: Latest 3/80 kernels...
To: None <maynard@jmg.com>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 06/16/1998 11:16:22
> Date: Mon, 15 Jun 1998 17:58:06 -0300
> From: "J. Maynard Gelinas" <maynard@jmg.com>
>
> Gordon,
>
> I've compiled one of the stable kernels (which does work) and
> downloaded one of the tar files from -current (the ones that aren't
> current) and note that this revision of the source tree compiles but
> doesn't work as well. This time I'm getting a freeze right after rc
> calls newaliases to build the mail alias database. This has me
> convinced that since I _can_ compile a working kernel there must be
> something pretty brain damaged with ksrc-current,at least as far as
> sun3x arch is concerned.
Another idea to investigate: Maybe I botched the Sun-3X support for
MACHINE_NEW_NONCONTIG or something. I tested it on a machine with a
modest amount of memory, so maybe pmap_page_upload() is busted...
Anyway, you might try going back to the (old) MACHINE_NONCONTIG
by patching sys/arch/sun3/include/vmparam3x.h as shown below.
(Of course, if you do this, UVM is not supported.)
*** sys/arch/sun3/include/vmparam3x.h~ Tue Jun 9 22:36:01 1998
--- sys/arch/sun3/include/vmparam3x.h Tue Jun 9 16:17:56 1998
***************
*** 106,111 ****
--- 106,114 ----
#define VM_KMEM_SIZE (NKMEMCLUSTERS*CLBYTES)
#define VM_PHYS_SIZE (USRIOSIZE*CLBYTES)
+ #if 1
+ #define MACHINE_NONCONTIG /* VM <=> pmap interface modifier */
+ #else
#define MACHINE_NEW_NONCONTIG /* VM <=> pmap interface modifier */
#define VM_PHYSSEG_MAX 4
***************
*** 115,117 ****
--- 118,121 ----
struct pmap_physseg {
/* NULL */
};
+ #endif