Date: Mon, 20 Jun 2011 08:45:35 +0300 From: Pasha Pigich <pigich@gmail.com> To: freebsd-bugs@freebsd.org Subject: panic: kmem_malloc(20480): kmem_map too small: Message-ID: <BANLkTik0q-Fv5x0Ekc22QF=pRZBAj%2B92Yg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
kgdb /boot/kernel/kernel /var/crash/vmcore.1 Unread portion of the kernel message buffer: panic: kmem_malloc(20480): kmem_map too small: 532951040 total allocated cpuid = 0 Uptime: 15d15h30m13s Physical memory: 1897 MB Dumping 694 MB: 679 663 647 631 615 599 583 567 551 535 519 503 487 471 455 439 423 407 391 375 359 343 327 311 295 279 263 247 231 215 199 183 167 151 135 119 103 87 71 55 39 23 7 .... Loaded symbols for /boot/kernel/ng_vjc.ko Reading symbols from /boot/kernel/ng_tcpmss.ko...Reading symbols from /boot/kernel/ng_tcpmss.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_tcpmss.ko #0 doadump () at pcpu.h:246 246 pcpu.h: No such file or directory. in pcpu.h #1 0xc0794cf7 in boot (howto=260) at ../../../kern/kern_shutdown.c:416 _giantcnt = Variable "_giantcnt" is not available. #2 0xc0794f59 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:590 590 boot(bootopt); #3 0xc0995fda in kmem_malloc (map=0xc159008c, size=20480, flags=2) at ../../../vm/vm_kern.c:305 305 panic("kmem_malloc(%ld): kmem_map too small: %ld total allocated", #4 0xc098aba7 in page_alloc (zone=0x0, bytes=20480, pflag=0xf4932aef "\002", wait=2) at ../../../vm/uma_core.c:979 979 p = (void *) kmem_malloc(kmem_map, bytes, wait); #5 0xc098d410 in uma_large_malloc (size=20480, wait=2) at ../../../vm/uma_core.c:3003 3003 mem = page_alloc(NULL, size, &flags, wait); #6 0xc0781c00 in malloc (size=20480, mtp=0xc0bb23cc, flags=2) at ../../../kern/kern_malloc.c:391 391 va = uma_large_malloc(size, flags); #7 0xc07ca023 in sbuf_new (s=0xc6b16aa0, buf=0x0, length=16385, flags=0) at ../../../kern/subr_sbuf.c:193 193 s->s_buf = SBMALLOC(s->s_size); #8 0xc083e61c in ifioctl (so=0xdf9924d4, cmd=3221776676, data=0xccf1d660 "", td=0xc595b780) at ../../../net/if.c:2732 2732 sb = sbuf_new(NULL, NULL, max_len + 1, SBUF_FIXEDLEN); #9 0xc07d9d42 in soo_ioctl (fp=0xc688ab98, cmd=3221776676, data=0xccf1d660, active_cred=0xc511d100, td=0xc595b780) at ../../../kern/sys_socket.c:212 212 error = ifioctl(so, cmd, data, td); #10 0xc07d2360 in kern_ioctl (td=0xc595b780, fd=80, com=3221776676, data=0xccf1d660 "") at file.h:262 262 file.h: No such file or directory. in file.h #11 0xc07d24d4 in ioctl (td=0xc595b780, uap=0xf4932cf8) at ../../../kern/sys_generic.c:678 678 error = kern_ioctl(td, uap->fd, com, data); #12 0xc0a66343 in syscall (frame=0xf4932d38) at ../../../i386/i386/trap.c:1111 1111 error = (*sa.callp->sy_call)(td, sa.args); #13 0xc0a48b10 in Xint0x80_syscall () at ../../../i386/i386/exception.s:261 261 call syscall Current language: auto; currently asm #14 0x00000033 in ?? () sysctl -a | grep kmem <118>savecore: reboot after panic: kmem_malloc(20480): kmem_map too small: 532951040 total allocated <118>Jun 16 23:04:58 PPPoE01-G46 savecore: reboot after panic: kmem_malloc(20480): kmem_map too small: 532951040 total allocated vm.kmem_size_scale: 3 vm.kmem_size_max: 536870912 vm.kmem_size_min: 0 vm.kmem_size: 536870912 # cat /boot/loader.conf vm.kmem_size_max="512M" vm.kmem_size="512M"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTik0q-Fv5x0Ekc22QF=pRZBAj%2B92Yg>