Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2005 01:11:13 +0200
From:      "Tom Jensen" <tom@insecurity.dk>
To:        <freebsd-stable@freebsd.org>
Subject:   panic: kmem_malloc(4096): kmem_map too small: 62877696 total allocated
Message-ID:  <20050611231318.8E64E6363@bart.motd.dk>

next in thread | raw e-mail | index | archive | help
Got the following panic on a 5.4 box(i386):

panic: kmem_malloc(4096): kmem_map too small: 62877696 total allocated

Uname: 5.4-RELEASE FreeBSD 5.4-RELEASE #4: Sun May  8 01:57:26 CEST 2005

Had two ntfs partitions mounted and was doing a find . -name *.pst on one of
them.

Following info collected, but kernel dump aviable if more information is
needed.
-------------------
panic: kmem_malloc(4096): kmem_map too small: 62877696 total allocated
KDB: enter: panic

db> show lockedvnods
Locked vnodes
0xc20cb000: tag ntfs, type VDIR, usecount 2, writecount 0, refcount 0, flags
(VV_OBJBUF), lock type ntfs: EXCL (count 1) by thread 0xc1d1ad80 (pid 82982)

db> trace
Tracing pid 82982 tid 100199 td 0xc1d1ad80
kdb_enter(c083a269) at kdb_enter+0x2b
panic(c084b127,1000,3bf7000,1fa,0) at panic+0xbb
kmem_malloc(c103b0c0,1000,2,cee5a844,c0765bf5) at kmem_malloc+0x7d
page_alloc(c10456c0,1000,cee5a837,2,0) at page_alloc+0x1a
slab_zalloc(c10456c0,2,c10456f8,c10456c0,c2653c48) at slab_zalloc+0xdd
uma_zone_slab(c10456c0,102,102,80,1200) at uma_zone_slab+0xe8
uma_zalloc_bucket(c10456c0,102) at uma_zalloc_bucket+0x14c
uma_zalloc_arg(c10456c0,0,102) at uma_zalloc_arg+0x274
malloc(14c,c28a65e0,102,0,c4f75d08) at malloc+0x46
ntfs_attrtontvattr(c33d4300,cee5a914,c4f75d08,c20cb000,ffffffff) at
ntfs_attrtontvattr+0x30
ntfs_loadntnode(c33d4300,c4ed6d00,100500,2,c4ed6d00) at
ntfs_loadntnode+0x1b5
ntfs_findvattr(c33d4300,c4ed6d00,cee5a984,cee5a9e8,90) at
ntfs_findvattr+0x21
ntfs_ntvattrget(c33d4300,c4ed6d00,90,c28a4f0e,0) at ntfs_ntvattrget+0x5d
ntfs_ntreaddir(c33d4300,c4f41d80,0,cee5aa2c,0) at ntfs_ntreaddir+0x66
ntfs_readdir(cee5aca0,0,c20cb000,c1ea9960,8058210) at ntfs_readdir+0x163
getdirentries(c1d1ad80,cee5ad14,4,10c,246) at getdirentries+0x113
syscall(805002f,805002f,bfbf002f,8053100,8053100) at syscall+0x2ab
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (196, FreeBSD ELF32, getdirentries), eip = 0x280c893b, esp =
0xbfbfeb4c, ebp = 0xbfbfeb68 ---

- Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050611231318.8E64E6363>