Subject: port-sparc64/15588: panic: pmap_enter: new pv malloc() failed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bouyer@asim.lip6.fr>
List: netbsd-bugs
Date: 02/12/2002 12:31:32
>Number:         15588
>Category:       port-sparc64
>Synopsis:       panic: pmap_enter: new pv malloc() failed
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 12 03:32:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5ZA as of 2 days ago
>Organization:

Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr

>Environment:
	
System: NetBSD java 1.5ZA NetBSD 1.5ZA (JAVA) #11: Sat Feb 9 15:45:46 MET 2002 bouyer@java:/home/cvs.netbsd.org/src/sys/arch/sparc64/compile/JAVA sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	I tried running a 'unlimit; make -j128' in a kernel compile
	directory today, and got a panic:
panic: pmap_enter: new pv malloc() failed
kdb breakpoint at 11f007c
Stopped in pid 20554 (sparc--netbsdelf) at      cpu_Debugger+0x4:       nop
db> tr
pmap_enter_pv(1eeee00, 110000, 13ab2000, 0, 16cfe440, 440) at pmap_enter_pv+0x29
0
pmap_enter(1eeee00, 110000, 13ab2000, fffffffffffffffa, 20, 0) at pmap_enter+0x5
28
uvm_fault(110000, fffe, 5, 9268e10, 9761c10, ffffffffffffffff) at uvm_fault+0x95
0
text_access_fault(9761ed0, 64, 10dedc, 0, 0, ef48b168d8) at text_access_fault+0x
208
textfault(0, 0, 0, 1, 1, 2225d0) at textfault+0x1a8

here is a copy of 'top' at the time of panic:
CPU states: 52.6% user,  0.0% nice, 46.2% system,  1.2% interrupt,  0.0% idle
Memory: 89M Act, 3304K Wired, 776K Free, 8560K Swp, 492M Swp free
 
  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
20331 bouyer    33    0  6464K 6624K RUN        0:01  6.76%  4.15% nbmake
20000 bouyer    41    0   552K 1584K CPU        0:03  3.59%  3.56% top
    5 root     -18    0     0K   35M reaper    28:47  2.54%  2.54% [reaper]
20401 bouyer    38    0  4928K 5520K RUN        0:00  2.23%  1.12% cc1
20405 bouyer    38    0  4816K 5016K RUN        0:00  2.04%  1.03% cc1
20409 bouyer    36    0  4600K 4800K RUN        0:00  1.84%  0.93% cc1
20399 bouyer    36    0  4160K 4792K RUN        0:00  1.74%  0.88% cc1
20505 bouyer    35    0  1328K 1920K RUN        0:00  2.48%  0.73% cpp0
20530 bouyer    36    0  1056K 1728K RUN         ???  2.63%  0.68% cpp0
20502 bouyer    39    0  1304K 1968K RUN        0:00  2.31%  0.68% cpp0
20563 bouyer    36    0   936K 1624K RUN        0:00  7.18%  0.68% cpp0
20520 bouyer    35    0  1024K 1704K RUN        0:00  2.31%  0.68% cpp0
20411 bouyer    37    0  3560K 3880K RUN        0:00  1.33%  0.63% cc1
20528 bouyer    35    0  1024K 1704K RUN        0:00  2.15%  0.63% cpp0
20529 bouyer    38    0  1008K 1680K RUN        0:00  2.26%  0.59% cpp0
20582 bouyer    35    0   880K 1536K RUN        0:00 12.00%  0.59% cpp0
20548 bouyer    36    0  1096K 1656K RUN        0:00  2.96%  0.54% cpp0
20432 bouyer    37    0  4048K 4352K RUN        0:00  1.08%  0.49% cc1


>How-To-Repeat:
	unlimit; make -j128
>Fix:
	unknown
>Release-Note:
>Audit-Trail:
>Unformatted: