From owner-freebsd-current Thu Mar 8 17:57:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 5DB0D37B718 for ; Thu, 8 Mar 2001 17:57:44 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id CAA20893; Fri, 9 Mar 2001 02:57:43 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: current@FreeBSD.ORG Subject: Re: New & improved panic! References: From: Dag-Erling Smorgrav Date: 09 Mar 2001 02:57:43 +0100 In-Reply-To: Dag-Erling Smorgrav's message of "09 Mar 2001 02:22:27 +0100" Message-ID: Lines: 54 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > db> trace > kernel: type 12 trap, code=0 Blah. Here's what gdb says: (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:478 #1 0xc019131b in boot (howto=260) at ../../kern/kern_shutdown.c:321 #2 0xc01916e5 in panic (fmt=0xc02940b4 "from debugger") at ../../kern/kern_shutdown.c:571 #3 0xc011f1d5 in db_panic (addr=0, have_addr=0, count=1, modif=0xcaec2dd8 "") at ../../ddb/db_command.c:433 #4 0xc011f175 in db_command (last_cmdp=0xc02cd880, cmd_table=0xc02cd6e0, aux_cmd_tablep=0xc0310cdc) at ../../ddb/db_command.c:333 #5 0xc011f23a in db_command_loop () at ../../ddb/db_command.c:455 #6 0xc0121403 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #7 0xc0265ffe in kdb_trap (type=12, code=0, regs=0xcaec2f28) at ../../i386/i386/db_interface.c:164 #8 0xc0275700 in trap_fatal (frame=0xcaec2f28, eva=0) at ../../i386/i386/trap.c:982 #9 0xc0275475 in trap_pfault (frame=0xcaec2f28, usermode=0, eva=0) at ../../i386/i386/trap.c:901 #10 0xc0274504 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 0, tf_ebp = -890491044, tf_isp = -890491052, tf_ebx = 32, tf_edx = -1070513800, tf_ecx = 0, tf_eax = -1071185861, tf_trapno = 12, tf_err = 0, tf_eip = 0, tf_cs = 8, tf_eflags = 66194, tf_esp = -1072401776, tf_ss = -894758432}) at ../../i386/i386/trap.c:448 #11 0x0 in ?? () (kgdb) up 10 #10 0xc0274504 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 0, tf_ebp = -890491044, tf_isp = -890491052, tf_ebx = 32, tf_edx = -1070513800, tf_ecx = 0, tf_eax = -1071185861, tf_trapno = 12, tf_err = 0, tf_eip = 0, tf_cs = 8, tf_eflags = 66194, tf_esp = -1072401776, tf_ss = -894758432}) at ../../i386/i386/trap.c:448 448 (void) trap_pfault(&frame, FALSE, eva); (kgdb) p/x frame.tf_esp $1 = 0xc0147290 (kgdb) l *0xc0147290 0xc0147290 is in random_kthread (../../dev/random/yarrow.c:97). 92 mtx_lock(&Giant); 93 printf("OWNERSHIP Giant == %d sched_lock == %d\n", 94 mtx_owned(&Giant), mtx_owned(&sched_lock)); 95 mtx_unlock(&Giant); 96 #endif 97 98 for (pl = 0; pl < 2; pl++) 99 yarrow_hash_init(&random_state.pool[pl].hash, NULL, 0); 100 101 for (;;) { DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message