Subject: Re: [FLAG DAY!] Install a new ofwboot *now* !
To: None <martin@duskware.de>
From: Takeshi Nakayama <tn@catvmics.ne.jp>
List: port-sparc64
Date: 02/01/2006 01:43:20
>>> Martin Husemann <martin@duskware.de> wrote

> Ooops, there is a small issue in the new ofwboot version for kernels
> where .text is smaller than 4MB - if you are running a small, custom kernel,
> you might want to wait a day or two before updating...

Is this issue in the new ofwboot?
I guess the following diff to new kernel is related to this issue.

Index: pmap.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc64/sparc64/pmap.c,v
retrieving revision 1.168
diff -u -d -r1.168 pmap.c
--- pmap.c	27 Jan 2006 18:37:50 -0000	1.168
+++ pmap.c	31 Jan 2006 16:32:03 -0000
@@ -607,7 +607,7 @@
 	ktext   = kernelstart;
 	ktextp  = pmap_kextract(ktext);
 	ektext  = roundup((vaddr_t)&etext, PAGE_SIZE_4M);
-	ektextp = pmap_kextract(ektext);
+	ektextp = roundup(pmap_kextract((vaddr_t)&etext), PAGE_SIZE_4M);
 
 	kdata   = (vaddr_t)data_start;
 	kdatap  = pmap_kextract(kdata);

-- Takeshi Nakayama