Date: Fri, 13 Sep 2002 23:28:33 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: David Xu <davidxu@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: kernel panic Message-ID: <Pine.BSF.4.21.0209132326030.80315-100000@InterJet.elischer.org> In-Reply-To: <200209140328.g8E3S7xf061303@freefall.freebsd.org>
index | next in thread | previous in thread | raw e-mail
A fix is committed please test.
On Fri, 13 Sep 2002, David Xu wrote:
> kernel panic when running /usr/src/tools/KSE/ksetest,
> very fresh -current kernel source code, can some VM
> guru look it?
>
> #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
take out a lock on Giant here..
> #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
or maybe here?
> #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---
>
I committed the change into thread_init() which is what we have in p4
> (kgdb) quit
>
> --
> David Xu
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0209132326030.80315-100000>
