From owner-freebsd-current@FreeBSD.ORG Tue May 10 20:41:10 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84F3616A4CE for ; Tue, 10 May 2005 20:41:10 +0000 (GMT) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B48643DA7 for ; Tue, 10 May 2005 20:41:10 +0000 (GMT) (envelope-from sepotvin@videotron.ca) Received: from [10.0.0.147] ([67.70.237.74]) by VL-MO-MR007.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPA id <0IGA00B5QK41D3@VL-MO-MR007.ip.videotron.ca> for freebsd-current@FreeBSD.org; Tue, 10 May 2005 16:40:50 -0400 (EDT) Date: Tue, 10 May 2005 16:40:49 -0400 From: "Stephane E. Potvin" To: freebsd-current@FreeBSD.org Message-id: <42811C51.6000008@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050330) X-Enigmail-Version: 0.91.0.0 Subject: panic: "vm_thread_new: kstack allocation failed" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 20:41:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The panic happened on a recent current built: May 2 11:18:43 EDT 2005. Source was fetched around 1 hour before that (time to do a buildworld/buildkernel) 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 #6: Mon May 2 11:18:43 EDT 2005 spotvin@homer.telcobridges.com:/usr/obj/usr/src/sys/HOMER Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073389568 (1023 MB) avail memory = 1041440768 (993 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 I was running firefox, thunderbird, QEMU (with the kqemu patch) and OpenOffice 2.0-beta at the time of the panic. The system was not swapping when it paniced. #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc04a8288 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397 #2 0xc04a85b6 in panic (fmt=0xc0624b5c "vm_thread_new: kstack allocation failed") at /usr/src/sys/kern/kern_shutdown.c:553 #3 0xc05a6399 in vm_thread_new (td=0xc4897480, pages=2) at /usr/src/sys/vm/vm_glue.c:271 #4 0xc04b2cb6 in thread_init (mem=0xc4897480, size=372, flags=259) at /usr/src/sys/kern/kern_thread.c:184 #5 0xc059fc39 in slab_zalloc (zone=0xc10462c0, wait=259) at /usr/src/sys/vm/uma_core.c:841 #6 0xc05a11ff in uma_zone_slab (zone=0xc10462c0, flags=3) at /usr/src/sys/vm/uma_core.c:2011 #7 0xc05a141b in uma_zalloc_bucket (zone=0xc10462c0, flags=3) at /usr/src/sys/vm/uma_core.c:2120 #8 0xc05a1092 in uma_zalloc_arg (zone=0xc10462c0, udata=0x0, flags=2) at /usr/src/sys/vm/uma_core.c:1928 #9 0xc04b31a6 in thread_alloc () at uma.h:276 #10 0xc0496c48 in thread_alloc_spare (td=0xc45c5900) at /usr/src/sys/kern/kern_kse.c:1037 #11 0xc04975a0 in thread_userret (td=0xc45c5900, frame=0xff8b2d38) at /usr/src/sys/kern/kern_kse.c:1421 #12 0xc04ca373 in userret (td=0xc45c5900, frame=0xff8b2d38, oticks=0) at /usr/src/sys/kern/subr_trap.c:120 #13 0xc0492d4b in fork_return (td=0xc45c5900, frame=0x0) at /usr/src/sys/kern/kern_fork.c:818 #14 0xc0492c8d in fork_exit (callout=0xc0492d2a , arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:789 #15 0xc05d831c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 (kgdb) frame 3 #3 0xc05a6399 in vm_thread_new (td=0xc4897480, pages=2) at /usr/src/sys/vm/vm_glue.c:271 271 panic("vm_thread_new: kstack allocation failed"); (kgdb) list 266 * Get a kernel virtual address for this thread's kstack. 267 */ 268 ks = kmem_alloc_nofault(kernel_map, 269 (pages + KSTACK_GUARD_PAGES) * PAGE_SIZE); 270 if (ks == 0) 271 panic("vm_thread_new: kstack allocation failed"); 272 if (KSTACK_GUARD_PAGES != 0) { 273 pmap_qremove(ks, KSTACK_GUARD_PAGES); 274 ks += KSTACK_GUARD_PAGES * PAGE_SIZE; 275 } I'll keep the core around in case more information is needed. Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCgRxQmdOXtTCX/nsRAotdAJ9Hn22KF4qoEHdd9oQtSfy6LYuNiACfT88z TyVETFH6eoQdk5qOA/lbhcE= =CHnJ -----END PGP SIGNATURE-----