Subject: port-sparc/2506: sun4m with NKMEMCLUSTERS=4096 panics in kmem_suballoc
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Galbavy <>
List: netbsd-bugs
Date: 06/03/1996 10:18:03
>Number:         2506
>Category:       port-sparc
>Synopsis:       sun4m with NKMEMCLUSTERS=4096 panics in kmem_suballoc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun  3 05:35:04 1996
>Originator:     Peter Galbavy
Demon (posted from Wonderland)
>Release:        19960603
SS20/71 320Mb RAM

SPARCstation 20 (1 X SuperSPARC-II), No Keyboard
ROM Rev. 2.22, 320 MB memory installed, Serial #3933397.
Ethernet address 0:40:dc:1:4:d5, Host ID: 723c04d5.

Rebooting with command: -s                                 
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0  File and args: -s
	Build a sun4m (maybe sun4m only ?) kernel with NKMEMCLUSTERS=4096
	and boot. This may only happen WRT the 320Mb memory in the system etc.
	I wish I knew.
>> NetBSD BOOT [$Revision: 1.4 $]
Booting @ 0x4000
pmap_bootstrap: installing kernel page tables...done.

[ preserving 95544 bytes of netbsd symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.2_ALPHA (SUN4M_BIG) #0: Mon Jun  3 10:08:08 BST 1996
real mem = 334737408
kmem_suballoc: bad status return of 3.
panic: kmem_suballoc
Stopped at      _Debugger+0x4:  jmpl            [%o7 + 0x8], %g0
db> tr
_kmem_suballoc(f82c9000, f810dea8, f810deac, 400000, 1, ff6) at _kmem_suballoc+
_cpu_startup(f8128800, 0, 1, 0, ffef2010, f0) at _cpu_startup+0x1dc
_main(0, 8, 1, f810e8f3, 0, 8) at _main+0x54
_endtrapcode(8, ffef2000, ffef2000, 8, ffef2010, f0) at _endtrapcode+0x368