From owner-freebsd-current Fri Sep 13 23:40:18 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 413A337B400; Fri, 13 Sep 2002 23:40:08 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id E324C43E4A; Fri, 13 Sep 2002 23:40:07 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020914064007.CDTU26805.rwcrmhc52.attbi.com@InterJet.elischer.org>; Sat, 14 Sep 2002 06:40:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA82226; Fri, 13 Sep 2002 23:28:33 -0700 (PDT) Date: Fri, 13 Sep 2002 23:28:33 -0700 (PDT) From: Julian Elischer To: David Xu Cc: freebsd-current@freebsd.org Subject: Re: kernel panic In-Reply-To: <200209140328.g8E3S7xf061303@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE 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 A fix is committed please test. On Fri, 13 Sep 2002, David Xu wrote: > kernel panic when running /usr/src/tools/KSE/ksetest,=20 > very fresh -current kernel source code, can some VM > guru look it? >=20 > #9 0xc02d76f8 in calltrap () at {standard input}:98 > #10 0xc01d06b0 in panic (fmt=3D0x0) at ../../../kern/kern_shutdown.c:479 > #11 0xc01c6e8c in _mtx_assert (m=3D0x0, what=3D0,=20 > file=3D0xc1b980c0 "4\215=C3=C1l\215=C3=C1", line=3D256) > at ../../../kern/kern_mutex.c:831 > #12 0xc02a5ae6 in _vm_map_lock (map=3D0x0,=20 > file=3D0xc0330598 "../../../vm/vm_map.c", line=3D956) > at ../../../vm/vm_map.c:364 > #13 0xc02a667d in vm_map_find (map=3D0xc0832000, object=3D0x0,=20 > offset=3D1102761787584, addr=3D0xc9325ba0, length=3D12288, find_space= =3D1,=20 > prot=3D7 '\a', max=3D7 '\a', cow=3D0) at ../../../vm/vm_map.c:956 > #14 0xc02a4ab9 in kmem_alloc_nofault (map=3D0x0, size=3D0) > at ../../../vm/vm_kern.c:133 > #15 0xc02e1426 in pmap_new_thread (td=3D0xc19eb000) > at ../../../i386/i386/pmap.c:959 take out a lock on Giant here.. > #16 0xc01daab8 in thread_init (mem=3D0xc19eb000, size=3D0) > at ../../../kern/kern_thread.c:155 > #17 0xc02b49ff in slab_zalloc (zone=3D0xc0bb5000, wait=3D-1046564864) > at ../../../vm/uma_core.c:777 > #18 0xc02b5a76 in uma_zalloc_internal (zone=3D0xc0bb5000, udata=3D0x0, fl= ags=3D1,=20 > bucket=3D0xc0bb2600) at ../../../vm/uma_core.c:1561 > #19 0xc02b58df in uma_zalloc_arg (zone=3D0xc0bb5000, udata=3D0x0, flags= =3D0) > at ../../../vm/uma_core.c:1442 or maybe here? > #20 0xc01dad48 in thread_alloc () at uma.h:223 > #21 0xc01db245 in thread_userret (p=3D0xc1c38d34, kg=3D0x0, ke=3D0xc1c38d= c4,=20 > td=3D0xc1b980c0, frame=3D0x0) at ../../../kern/kern_thread.c:448 > #22 0xc01efbf2 in userret (td=3D0xc1b980c0, frame=3D0xc9325d48, oticks=3D= 1) > at ../../../kern/subr_trap.c:122 > #23 0xc02e67f6 in syscall (frame=3D > {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D -1077937140, = tf_esi =3D -1077937132, tf_ebp =3D -1077937288, tf_isp =3D -919446156, tf_e= bx =3D 134537184, tf_edx =3D 0, tf_ecx =3D 0, tf_eax =3D 0, tf_trapno =3D 1= 2, tf_err =3D 2, tf_eip =3D 134514795, tf_cs =3D 31, tf_eflags =3D 642, tf_= esp =3D -1077937412, tf_ss =3D 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--- >=20 I committed the change into thread_init() which is what we have in p4 > (kgdb) quit >=20 > -- > David Xu >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message