Subject: Re: Ultra 10, anyone?
To: Chuck Silvers <chuq@chuq.com>
From: Andrey Petrov <petrov@netbsd.org>
List: port-sparc64
Date: 09/02/2002 12:37:10
On Mon, Sep 02, 2002 at 11:43:13AM -0700, Chuck Silvers wrote:
> 
> 
> when I add my patch (cache flush in pmap_kremove() and
> pmap_page_protect(VM_PROT_NONE)), then it gets past that
> but fails while creating libc.a:
> 
> building standard c library
> /home/chs/netbsd/tooldir/arch/sparc64/bin/sparc64--netbsd-ranlib libc.a
> building profiled c library
> *** Signal 11
> 
> Stop.
> nbmake: stopped in /home/chs/netbsd/src/lib/libc
> *** Error code 1
> ...
> 
> 
> note that it's nbmake that's dumping core.  if I just do the build again,
> it succeeds in creating libc_p.a but then dies creating libc_pic.a.
> 
> now the interesting bit is that if I also add the dcache_flush_page() in
> pmap_clear_modify() (either your diff's way or my diff's way), nbmake dies
> exactly the same way, so that change isn't helping.
> 

That's different problem, vm_machdep.c:1.44 should take care of it.

	Andrey