GENERIC HEAD from Jan 8 08:45 UTC + bmilekic@'s uma_core patch, vmcore.139 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-CURRENT #0: Sat Jan 8 10:14:35 CET 2005 pho@current.osted.lan:/usr/src/sys/i386/compile/PHO WARNING: WITNESS option enabled, expect reduced performance. ACPI APIC Table: <A M I OEMAPIC > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 1.80GHz (1799.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf13 Stepping = 3 Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> real memory = 267583488 (255 MB) avail memory = 252448768 (240 MB) : mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted sigreturn: eflags = 0x0 sigreturn: eflags = 0x0 sigreturn: eflags = 0x0 : freebsd4_sigreturn: eflags = 0x0 freebsd4_sigreturn: eflags = 0x0 kernel trap 9 with interrupts disabled kernel trap 9 with interrupts disabled : kernel trap 12 with interrupts disabled kernel trap 9 with interrupts disabled ppanic: thread 100250(syscall):2 holds Giant but isn't blocked on a lock cpuid = 0 KDB: enter: panic [thread pid 35 tid 100011 ] Stopped at kdb_enter+0x2c: leave db> where Tracing pid 35 tid 100011 td 0xc1524170 kdb_enter(c082c501,104,c1524170,c1c74000,c1c74000) at kdb_enter+0x2c panic(c082f687,1879a,c18a737c,2,c083e5e8) at panic+0x190 propagate_priority(c08f7824,c08f7820,c1c74000,c08ef4a0,c1524170) at propagate_priority+0x159 turnstile_wait(c08ef4a0,c1c74000,c08ef4a0,2,c082b945,216) at turnstile_wait+0x1ae _mtx_lock_sleep(c08ef4a0,c1524170,0,c082d52a,f7) at _mtx_lock_sleep+0xa6 _mtx_lock_flags(c08ef4a0,0,c082d52a,f7) at _mtx_lock_flags+0x88 softclock(0,0,0,c1555bd0,0) at softclock+0x1de ithread_loop(c154d180,cbc7fd48,c154d180,c0600378,0) at ithread_loop+0x19e fork_exit(c0600378,c154d180,cbc7fd48) at fork_exit+0x7e fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcbc7fd7c, ebp = 0 --- db> where 100250 Tracing pid 1213 tid 100250 td 0xc1c74000 sched_switch(c1c74000,0,0) at sched_switch+0xeb mi_switch(2,0,c08ef460,8,c082da0c) at mi_switch+0x1b1 critical_exit(c08d1640,c1c74000,0,c1c74000,3f8) at critical_exit+0xa2 intr_execute_handlers(c08d1640,cf298814,c1c74000,3f8,2580) at intr_execute_handlers+0xd0 atpic_handle_intr(0) at atpic_handle_intr+0x39 Xatpic_intr0() at Xatpic_intr0+0x20 --- interrupt, eip = 0xc06227b1, esp = 0xcf298858, ebp = 0xcf29885c --- critical_exit(c0958820,0,c084a214,a23) at critical_exit+0x61 siocnputc(c08cca40,70,5,70,cf2989a8) at siocnputc+0x82 cnputc(70,c062baec,c082c69f,c0845705,cf29898c) at cnputc+0x4c putchar(70,cf2989a8,c062be96,0,2062bce3) at putchar+0x96 kvprintf(c082c69e,c062baec,cf2989a8,a,cf2989c8) at kvprintf+0x5f printf(c082c69e,c08f0940,c08f0940,100,c0845705,cf2989fc) at printf+0x43 panic(c0845705,2d000,5084000,c10640a0,cf298a30) at panic+0xd8 kmem_malloc(c10590c0,2d000,2,2) at kmem_malloc+0x416 uma_large_malloc(2d000,2,ffffffff,7fffffff,c1c74000) at uma_large_malloc+0x30 malloc(2d000,c088b200,2,c082c895,cf298aa8) at malloc+0x101 elf32_coredump(c1c74000,c1bfd8a0,ffffffff,7fffffff,c18a737c) at elf32_coredump+0x7c sigexit(c1c74000,b,c1a2baa8,0,c082c895) at sigexit+0xb17 trapsignal(c1c74000,b,c) at trapsignal+0x361 trap(dc32002f,7aa2002f,bfbf002f,29a7f22d,ec4352ad) at trap+0xe5 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0, esp = 0xfffffff0, ebp = 0 --- db> show alllocks Process 1213 (syscall) thread 0xc1c74000 (100250) exclusive sleep mutex Giant r = 0 (0xc08ef4a0) locked @ kern/kern_sig.c:2591 db> call doadump Dumping 255 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 Dump complete 0x22 db> reset 1) panic: kmem_malloc(184320): kmem_map too small: 84426752 total allocated 2) panic: thread 100250(syscall):2 holds Giant but isn't blocked on a lock (kgdb) l *kmem_malloc+0x416 0xc0768b8e is at ../../../vm/vm_kern.c:299. 294 */ 295 vm_map_lock(map); 296 if (vm_map_findspace(map, vm_map_min(map), size, &addr)) { 297 vm_map_unlock(map); 298 if ((flags & M_NOWAIT) == 0) 299 panic("kmem_malloc(%ld): kmem_map too small: %ld total allocated", 300 (long)size, (long)map->size); 301 return (0); 302 } 303 offset = addr - VM_MIN_KERNEL_ADDRESS;