Subject: Re: port-sparc64/29830: build causes "pmap_enter: freeing unused page"
To: None <port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/30/2005 16:55:10
The following reply was made to PR port-sparc64/29830; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-sparc64-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: port-sparc64/29830: build causes "pmap_enter: freeing unused page"
Date: Wed, 30 Mar 2005 18:54:48 +0200

 On Tue, Mar 29, 2005 at 10:48:00PM +0000, michael@moria.de wrote:
 > >Number:         29830
 > >Category:       port-sparc64
 > >Synopsis:       build causes "pmap_enter: freeing unused page"
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    port-sparc64-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Mar 29 22:48:00 +0000 2005
 > >Originator:     Michael Haardt
 > >Release:        2.0
 > >Organization:
 > >Environment:
 > not available right now (machine still sits in kernel debugger :-)
 > 
 > >Description:
 > When trying to build the system using build.sh, I got this after a few hours of compiling:
 > 
 > pmap_enter: freeing unused page 30c24000
 > Mar 29 21:48:51 galadriel /netbsd: pmap_enter: freeing unused page 30c24000
 > pmap_page_protect: pseg empty!
 > kdb breakpoint at 1335d58
 > Stopped in pid 6569.1 (sh) at   netbsd:cpu_Debugger+0x4:        nop
 > db> 
 > 
 > Is there anything I can do at this point to get more information why this happened?
 
 First, type 'tr' at the db> prompt and post the stack trace.
 Maybe the VM peoples will want more details, but the stack trace should
 be enouth to know if the problem is really a double-free somewhere.
 
 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --