Re: 5.2-RELEASE crash

From: Robert Huff <roberthuff_at_rcn.com>
Date: Sun, 1 Feb 2004 23:16:53 -0500
Andre Guibert de Bruet writes:

>  On Fri, 30 Jan 2004, Magnus Dahlstedt wrote:
>  
>  > panic: kmem_malloc(16384): kmem_map too small: 275243008 total allocated
>  > cpuid = 1;
>  > Debugger("panic")
>  > Stopped at      Debugger+0x4f:  xchgl   %ebx,in_Debugger.0
>  > db> trace
>  > Debugger(c06c2ccd,1,c06d5a05,e40a6a74,100) at Debugger+0x4f
>  > panic(c06d5a05,4000,1067e000,e40a6aa0,c0518254) at panic+0x14a
>  > kmem_malloc(c10310a0,4000,402,e40a6aec,c064c19e) at kmem_malloc+0x101
>  -- 8< -- snip -- 8< --
>  > real memory  = 2146942976 (2047 MB)
>  > avail memory = 2080309248 (1983 MB)
>  
>  You are using a large amount of RAM and using the default kmem_map sizing
>  options.

	It may not be the memory size.
	Running

FreeBSD 5.2-CURRENT #1: Sun Feb  1 15:53:50 EST 2004

	from source cvsuped early Saturday morning, I get repeatable
zpanics with:

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04eb0d9 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:374
#2  0xc04eb3a7 in __panic () at /usr/src/sys/kern/kern_shutdown.c:552
#3  0xc05c30df in kmem_malloc (map=0xc0c3b0a0, size=3503349760, flags=2)
    at /usr/src/sys/vm/vm_kern.c:340
#4  0xc05d0946 in page_alloc (zone=0x0, bytes=-791617536, pflag=0x0, wait=2)
    at /usr/src/sys/vm/uma_core.c:842
#5  0xc05d1ebf in uma_large_malloc (size=-791617536, wait=2)
    at /usr/src/sys/vm/uma_core.c:2024
#6  0xc04e2595 in malloc (size=3503349760, type=0xc0692420, flags=2)
    at /usr/src/sys/kern/kern_malloc.c:255

	on a system with:

real memory  = 536854528 (511 MB)
avail memory = 520171520 (496 MB)

	I have a kernel core with debugging enabled and the matching
config file available on request.


					Robert Huff
Received on Sun Feb 01 2004 - 19:16:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC