From owner-freebsd-current@FreeBSD.ORG Sun Jan 14 12:08:37 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F1C316A40F for ; Sun, 14 Jan 2007 12:08:37 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7BF13C45B for ; Sun, 14 Jan 2007 12:08:37 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-7.cisco.com ([171.68.10.88]) by sj-iport-5.cisco.com with ESMTP; 14 Jan 2007 04:08:03 -0800 Received: from sj-core-3.cisco.com (sj-core-3.cisco.com [171.68.223.137]) by sj-dkim-7.cisco.com (8.12.11/8.12.11) with ESMTP id l0EC83Ah026493 for ; Sun, 14 Jan 2007 04:08:03 -0800 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id l0EC7vi6027873 for ; Sun, 14 Jan 2007 04:08:02 -0800 (PST) Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 14 Jan 2007 04:05:46 -0800 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 14 Jan 2007 04:05:46 -0800 Message-ID: <45AA1C64.9020106@cisco.com> Date: Sun, 14 Jan 2007 07:04:52 -0500 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061029 FreeBSD/i386 SeaMonkey/1.0.6 MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jan 2007 12:05:46.0862 (UTC) FILETIME=[530290E0:01C737D4] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=3005; t=1168776483; x=1169640483; c=relaxed/simple; s=sjdkim7002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Another=20question=20..=20this=20time=20on=20a=20panic |Sender:=20; bh=rDPY/QL4bTecc/JbVumWRnOMxYk9K7MAyidkfe4h3dw=; b=Wo2BLknonaI6cHmIZPqmTAIdt77CjuRv0FAx3CmqLedj7N7Q9AE0R6vTb0aipQA7cWd7Ylnq AhN9JaqUwXBCCGxIW2Cc5K/nIyXshaIOLproES2OoBiGPo/uSYtGYTi5; Authentication-Results: sj-dkim-7; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim7002 verified; ); Cc: Subject: Another question .. this time on a panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2007 12:08:37 -0000 Hi all: I have another question.. this time on a panic I received its: ----------------------------------------------------- Unread portion of the kernel message buffer: panic: kmem_malloc(4096): kmem_map too small: 83386368 total allocated cpuid = 0 Uptime: 17h51m42s Dumping 255 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 255MB (65248 pages) 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:166 166 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) where #0 doadump () at pcpu.h:166 During symbol reading, Incomplete CFI data; unspecified registers at 0xc0691f65. #1 0xc06924d4 in boot (howto=0x104) at ../../../kern/kern_shutdown.c:411 #2 0xc06927de in panic (fmt=0xc092b294 "kmem_malloc(%ld): kmem_map too small: %ld total allocated") at ../../../kern/kern_shutdown.c:567 #3 0xc082e335 in kmem_malloc (map=0xc14710a8, size=0x1000, flags=0x102) at ../../../vm/vm_kern.c:299 #4 0xc0826f5a in page_alloc (zone=0xc14525a0, bytes=0x1000, pflag=0x0, wait=0x102) at ../../../vm/uma_core.c:953 #5 0xc0826b53 in slab_zalloc (zone=0xc14525a0, wait=0x102) at ../../../vm/uma_core.c:818 #6 0xc08281d8 in uma_zone_slab (zone=0xc14525a0, flags=0x2) at ../../../vm/uma_core.c:2018 #7 0xc0828480 in uma_zalloc_bucket (zone=0xc14525a0, flags=0x2) at ../../../vm/uma_core.c:2127 #8 0xc0828054 in uma_zalloc_arg (zone=0xc14525a0, udata=0x0, flags=0x2) at ../../../vm/uma_core.c:1935 #9 0xc0815c1d in ffs_vget (mp=0xc240129c, ino=0x17e7, flags=0x0, vpp=0xcd1c9974) at uma.h:275 #10 0xc081c6b4 in ufs_lookup (ap=0xcd1c9a18) at ../../../ufs/ufs/ufs_lookup.c:572 #11 0xc08a3376 in VOP_CACHEDLOOKUP_APV (vop=0x0, a=0xcd1c9a18) at vnode_if.c:153 #12 0xc06e7a02 in vfs_cache_lookup (ap=0x0) at vnode_if.h:82 #13 0xc08a32bf in VOP_LOOKUP_APV (vop=0xc09bb120, a=0xcd1c9ab8) at vnode_if.c:99 #14 0xc06ed050 in lookup (ndp=0xcd1c9ba4) at vnode_if.h:56 #15 0xc06ec92a in namei (ndp=0xcd1c9ba4) at ../../../kern/vfs_lookup.c:210 #16 0xc06fa859 in kern_stat (td=0xc2912360, path=0xbfbfaa00
, pathseg=UIO_USERSPACE, sbp=0xcd1c9c18) at ../../../kern/vfs_syscalls.c:2086 #17 0xc06fa807 in stat (td=0xc2912360, uap=0xcd1c9d00) at ../../../kern/vfs_syscalls.c:2070 #18 0xc0892fea in syscall (frame=0xcd1c9d38) at ../../../i386/i386/trap.c:1008 #19 0xc087c410 in Xint0x80_syscall () at ../../../i386/i386/exception.s:196 #20 0x28332783 in ?? () Previous frame inner to this frame (corrupt stack?) ------------------------------------------------------------- With what little poking around I have done it looks like I am out of wired memory... However the SCTP tests that were running have NO allocated associations etc.. so I am thinking I might have a memory leak.. Is there any way to tell what is holding all the memory :-) Thanks R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)