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

Tom Jensen tom at
Sat Jun 11 23:11:02 GMT 2005

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

Following info collected, but kernel dump aviable if more information is
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_loadntnode(c33d4300,c4ed6d00,100500,2,c4ed6d00) at
ntfs_findvattr(c33d4300,c4ed6d00,cee5a984,cee5a9e8,90) at
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

More information about the freebsd-stable mailing list