NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/45915 CVS commit: src/sys/arch

The following reply was made to PR kern/45915; it has been noted by GNATS.

From: "Michael L. Hitch" <>
Subject: PR/45915 CVS commit: src/sys/arch
Date: Fri, 10 Feb 2012 04:49:46 +0000

 Module Name:   src
 Committed By:  mhitch
 Date:          Fri Feb 10 04:49:46 UTC 2012
 Modified Files:
        src/sys/arch/atari/atari: atari_init.c
        src/sys/arch/cesfic/cesfic: pmap_bootstrap.c
        src/sys/arch/hp300/hp300: pmap_bootstrap.c
        src/sys/arch/luna68k/luna68k: pmap_bootstrap.c
        src/sys/arch/mac68k/mac68k: pmap_bootstrap.c
        src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c
        src/sys/arch/news68k/news68k: pmap_bootstrap.c
        src/sys/arch/next68k/next68k: pmap_bootstrap.c
        src/sys/arch/x68k/x68k: pmap_bootstrap.c
 Log Message:
 The recent kmem changes allocate a large kernel address space before
 pmap_init() is called, and the initial kernel PT pages aren't enough
 for the allocations pmap_init().  This fails because pmap_kenter_pa()
 tries to allocate a new kernel PT page and traps because the pmap has
 not been initialized.  When computing the number if initial kernel PT
 pages, include enough to allow kmem to map the physical memory.  This
 should fix PR/45915.  OK by releng@.  One mac68k system has been verified
 to boot.  Volunteers to test the others welcome.  Amigas with at least
 up to 128MB of memory were OK, but larger memory will need some adjusting.
 To generate a diff of this commit:
 cvs rdiff -u -r1.97 -r1.98 src/sys/arch/atari/atari/atari_init.c
 cvs rdiff -u -r1.31 -r1.32 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
 cvs rdiff -u -r1.54 -r1.55 src/sys/arch/hp300/hp300/pmap_bootstrap.c
 cvs rdiff -u -r1.32 -r1.33 src/sys/arch/luna68k/luna68k/pmap_bootstrap.c
 cvs rdiff -u -r1.92 -r1.93 src/sys/arch/mac68k/mac68k/pmap_bootstrap.c
 cvs rdiff -u -r1.48 -r1.49 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c
 cvs rdiff -u -r1.37 -r1.38 src/sys/arch/news68k/news68k/pmap_bootstrap.c
 cvs rdiff -u -r1.39 -r1.40 src/sys/arch/next68k/next68k/pmap_bootstrap.c
 cvs rdiff -u -r1.55 -r1.56 src/sys/arch/x68k/x68k/pmap_bootstrap.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index