Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2015 15:14:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197789] panic: kmem_malloc(36864): kmem_map too small: 431976448 total allocated
Message-ID:  <bug-197789-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197789

            Bug ID: 197789
           Summary: panic: kmem_malloc(36864): kmem_map too small:
                    431976448 total allocated
           Product: Base System
           Version: 9.3-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: michelle@sorbs.net

Cores etc:

http://flashback.sorbs.net/packages/crash/9.3-i386/ (specifically:
core.txt.0.1424274909)

93i386 dumped core - see /var/crash/vmcore.0

Wed Feb 18 16:53:59 CET 2015

FreeBSD 93i386 9.3-RELEASE-p9 FreeBSD 9.3-RELEASE-p9 #0: Tue Jan 27 10:20:56
UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
i386

panic: kmem_malloc(36864): kmem_map too small: 431976448 total allocated

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
panic: kmem_malloc(36864): kmem_map too small: 431976448 total allocated
cpuid = 3
KDB: stack backtrace:
#0 0xc0b0f96f at kdb_backtrace+0x4f
#1 0xc0ad65af at panic+0x16f
#2 0xc0d62caa at kmem_malloc+0x28a
#3 0xc0d563b7 at page_alloc+0x27
#4 0xc0d58a60 at uma_large_malloc+0x50
#5 0xc0abdf3c at malloc+0x8c
#6 0xc86e3f50 at zfs_kmem_alloc+0x20
#7 0xc8627ce4 at zio_data_buf_alloc+0x44
#8 0xc85913a0 at arc_get_data_buf+0x250
#9 0xc8591a07 at arc_buf_alloc+0x97
#10 0xc859cddc at dbuf_new_size+0x6c
#11 0xc85b9b01 at dnode_set_blksz+0x321
#12 0xc85a12dc at dmu_object_set_blocksize+0x5c
#13 0xc861dc42 at zfs_grow_blocksize+0x72
#14 0xc8655513 at zfs_freebsd_write+0xf93
#15 0xc0fc5835 at VOP_WRITE_APV+0x115
#16 0xc0b882d2 at vn_write+0x1f2
#17 0xc0b85d6a at vn_io_fault+0x9a
Uptime: 21m12s
Physical memory: 3499 MB
Dumping 539 MB: 524 508 492 476 460 444 428 412 396 380 364 348 332 316 300 284
268 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12

Reading symbols from /boot/kernel/zfs.ko...Reading symbols from
/boot/kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from
/boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from
/boot/kernel/fdescfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/fdescfs.ko
Reading symbols from /boot/kernel/nullfs.ko...Reading symbols from
/boot/kernel/nullfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/nullfs.ko
#0  doadump (textdump=1) at pcpu.h:250
250    pcpu.h: No such file or directory.
    in pcpu.h
(kgdb) #0  doadump (textdump=1) at pcpu.h:250
#1  0xc0ad62f5 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:454
#2  0xc0ad65f2 in panic (fmt=<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:642
#3  0xc0d62caa in kmem_malloc (map=0xc1bdd090, size=36864, flags=2050)
    at /usr/src/sys/vm/vm_kern.c:305
#4  0xc0d563b7 in page_alloc (zone=0x0, bytes=36864, pflag=0xf104964f "\002", 
    wait=2050) at /usr/src/sys/vm/uma_core.c:994
#5  0xc0d58a60 in uma_large_malloc (size=36864, wait=2050)
    at /usr/src/sys/vm/uma_core.c:3071
#6  0xc0abdf3c in malloc (size=36864, mtp=0xc86e511c, flags=2050)
    at /usr/src/sys/kern/kern_malloc.c:527
#7  0xc86e3f50 in zfs_kmem_alloc (size=34816, kmflags=2050)
    at
/usr/src/sys/modules/opensolaris/../../cddl/compat/opensolaris/kern/opensolaris_kmem.c:74
#8  0xc8627ce4 in zio_data_buf_alloc (size=34816)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:286
#9  0xc85913a0 in arc_get_data_buf (buf=0xda1808e8)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:2794
#10 0xc8591a07 in arc_buf_alloc (spa=0xc8420000, size=34816, tag=0xda351cc0, 
    type=ARC_BUFC_DATA)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:1497
#11 0xc859cddc in dbuf_new_size (db=0xda351cc0, size=34816, tx=0xca85e880)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c:967
#12 0xc85b9b01 in dnode_set_blksz (dn=0xd1be3960, size=34816, ibs=0, 
    tx=0xca85e880)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c:1347
#13 0xc85a12dc in dmu_object_set_blocksize (os=0xc8c1d000, object=366, 
    size=34393, ibs=0, tx=0xca85e880)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c:1595
#14 0xc861dc42 in zfs_grow_blocksize (zp=0xd1644000, size=34393, 
    tx=0xca85e880)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c:1480
#15 0xc8655513 in zfs_freebsd_write (ap=0xf1049a98)
    at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1010
#16 0xc0fc5835 in VOP_WRITE_APV (vop=0xc86cd8a0, a=0xf1049a98)
    at vnode_if.c:983
#17 0xc0b882d2 in vn_write (fp=0xca95aab8, uio=0xf1049c20, 
    active_cred=0xca611100, flags=1, td=0xc991d000) at vnode_if.h:413
#18 0xc0b85d6a in vn_io_fault (fp=0xca95aab8, uio=0xf1049c20, 
    active_cred=0xca611100, flags=0, td=0xc991d000)
    at /usr/src/sys/kern/vfs_vnops.c:911
#19 0xc0b22ba9 in dofilewrite (td=0xc991d000, fd=7, fp=0xca95aab8, 
    auio=0xf1049c20, offset=-1, flags=0) at file.h:295
#20 0xc0b22eb8 in kern_writev (td=0xc991d000, fd=7, auio=0xf1049c20)
    at /usr/src/sys/kern/sys_generic.c:463
#21 0xc0b22f3f in sys_write (td=0xc991d000, uap=0xf1049ccc)
    at /usr/src/sys/kern/sys_generic.c:379
#22 0xc0f9ef23 in syscall (frame=0xf1049d08) at subr_syscall.c:135
#23 0xc0f88751 in Xint0x80_syscall ()
    at /usr/src/sys/i386/i386/exception.s:270
#24 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.



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