From owner-freebsd-current Fri Sep 13 20:28:12 2002 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 8733C37B400 for ; Fri, 13 Sep 2002 20:28:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ED7643E65 for ; Fri, 13 Sep 2002 20:28:07 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8E3S7JU061304 for ; Fri, 13 Sep 2002 20:28:07 -0700 (PDT) (envelope-from davidxu@freefall.freebsd.org) Received: (from davidxu@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8E3S7xf061303 for freebsd-current@freebsd.org; Fri, 13 Sep 2002 20:28:07 -0700 (PDT) Date: Fri, 13 Sep 2002 20:28:07 -0700 (PDT) From: David Xu Message-Id: <200209140328.g8E3S7xf061303@freefall.freebsd.org> To: freebsd-current@freebsd.org Subject: kernel panic Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG kernel panic when running /usr/src/tools/KSE/ksetest, very fresh -current kernel source code, can some VM guru look it? GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 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-undermydesk-freebsd"... (kgdb) core vmcore.0 panic: from debugger panic messages: --- panic: mutex Giant not owned at ../../../vm/vm_map.c:364 panic: from debugger Uptime: 8m49s Dumping 127 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 --- #0 doadump () at ../../../kern/kern_shutdown.c:213 213 dumping++; (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:213 #1 0xc01d049d in boot (howto=260) at ../../../kern/kern_shutdown.c:345 #2 0xc01d06c8 in panic () at ../../../kern/kern_shutdown.c:493 #3 0xc0131bd2 in db_panic () at ../../../ddb/db_command.c:449 #4 0xc0131b52 in db_command (last_cmdp=0xc03468e0, cmd_table=0xc03027e8, aux_cmd_tablep=0x104, aux_cmd_tablep_end=0xc1b980c0) at ../../../ddb/db_command.c:345 #5 0xc0131c66 in db_command_loop () at ../../../ddb/db_command.c:471 #6 0xc01348da in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:72 #7 0xc02d5fa2 in kdb_trap (type=3, code=0, regs=0xc9325a78) at ../../../i386/i386/db_interface.c:160 #8 0xc02e5df7 in trap (frame= {tf_fs = 24, tf_es = -1070071792, tf_ds = -1070465008, tf_edi = 256, tf_esi = -1044807488, tf_ebp = -919446844, tf_isp = -919446876, tf_ebx = 0, tf_edx = 0, tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070767548, tf_cs = 8, tf_eflags = 662, tf_esp = -1070363681, tf_ss = -1070477604}) at ../../../i386/i386/trap.c:605 #9 0xc02d76f8 in calltrap () at {standard input}:98 #10 0xc01d06b0 in panic (fmt=0x0) at ../../../kern/kern_shutdown.c:479 #11 0xc01c6e8c in _mtx_assert (m=0x0, what=0, file=0xc1b980c0 "4\215ÃÁl\215ÃÁ", line=256) at ../../../kern/kern_mutex.c:831 #12 0xc02a5ae6 in _vm_map_lock (map=0x0, file=0xc0330598 "../../../vm/vm_map.c", line=956) at ../../../vm/vm_map.c:364 #13 0xc02a667d in vm_map_find (map=0xc0832000, object=0x0, offset=1102761787584, addr=0xc9325ba0, length=12288, find_space=1, prot=7 '\a', max=7 '\a', cow=0) at ../../../vm/vm_map.c:956 #14 0xc02a4ab9 in kmem_alloc_nofault (map=0x0, size=0) at ../../../vm/vm_kern.c:133 #15 0xc02e1426 in pmap_new_thread (td=0xc19eb000) at ../../../i386/i386/pmap.c:959 #16 0xc01daab8 in thread_init (mem=0xc19eb000, size=0) at ../../../kern/kern_thread.c:155 #17 0xc02b49ff in slab_zalloc (zone=0xc0bb5000, wait=-1046564864) at ../../../vm/uma_core.c:777 #18 0xc02b5a76 in uma_zalloc_internal (zone=0xc0bb5000, udata=0x0, flags=1, bucket=0xc0bb2600) at ../../../vm/uma_core.c:1561 #19 0xc02b58df in uma_zalloc_arg (zone=0xc0bb5000, udata=0x0, flags=0) at ../../../vm/uma_core.c:1442 #20 0xc01dad48 in thread_alloc () at uma.h:223 #21 0xc01db245 in thread_userret (p=0xc1c38d34, kg=0x0, ke=0xc1c38dc4, td=0xc1b980c0, frame=0x0) at ../../../kern/kern_thread.c:448 #22 0xc01efbf2 in userret (td=0xc1b980c0, frame=0xc9325d48, oticks=1) at ../../../kern/subr_trap.c:122 #23 0xc02e67f6 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077937140, tf_esi = -1077937132, tf_ebp = -1077937288, tf_isp = -919446156, tf_ebx = 134537184, tf_edx = 0, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = 134514795, tf_cs = 31, tf_eflags = 642, tf_esp = -1077937412, tf_ss = 47}) at ../../../i386/i386/trap.c:1100 #24 0xc02d774d in Xint0x80_syscall () at {standard input}:140 ---Can't read userspace from dump, or kernel process--- (kgdb) quit -- David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message