From owner-freebsd-current Sun Jun 28 14:32:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA11360 for freebsd-current-outgoing; Sun, 28 Jun 1998 14:32:13 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA11349 for ; Sun, 28 Jun 1998 14:32:09 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.0/frmug-2.3/nospam) with UUCP id XAA00289 for current@FreeBSD.ORG; Sun, 28 Jun 1998 23:31:57 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: (from roberto@localhost) by keltia.freenix.fr (8.9.0.Beta4/keltia-2.14/nospam) id XAA11859 for current@FreeBSD.ORG; Sun, 28 Jun 1998 23:19:30 +0200 (CEST) (envelope-from roberto) Message-ID: <19980628231930.A11745@keltia.freenix.fr> Date: Sun, 28 Jun 1998 23:19:30 +0200 From: Ollivier Robert To: current@FreeBSD.ORG Subject: Re: Softupdate related panic :( Mail-Followup-To: current@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.3i In-Reply-To: ; from Chris Dillon on Fri, Jun 26, 1998 at 06:00:16PM -0500 X-Operating-System: FreeBSD 3.0-CURRENT ctm#4419 AMD-K6 MMX @ 225 MHz Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Chris Dillon: > to tell you the truth. If i used 'config -g' when building my kernel, > would that give more informative crashdumps? How about doing something Argument given to functions and ability to print values of various variables. Here is what I sent to Julian a couple days ago: GDB is free software and you are welcome to 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. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc. (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file /var/crash/kernel.30 (kgdb) core-file /var/crash/vmcore.30 IdlePTD 231000 initial pcb at 1dd5cc panicstr: handle_workitem_freeblocks: block count panic messages: --- dmesg: magic number incorrect --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:296 296 break; (kgdb) where #0 boot (howto=260) at ../../kern/kern_shutdown.c:296 #1 0xf0113797 in panic (fmt=0xf0101498 "from debugger") at ../../kern/kern_shutdown.c:436 [...] #13 0xf010696e in kproc_start (udata=0xf01cdea4) at ../../kern/init_main.c:245 #14 0xf0197e39 in fork_trampoline () Cannot access memory at address 0x1. (kgdb) up 9 #9 0xf011378e in panic ( fmt=0xf01746fc "handle_workitem_freeblocks: block count") at ../../kern/kern_shutdown.c:434 434 */ (kgdb) up #10 0xf017496f in handle_workitem_freeblocks (freeblks=0xf0b0ad80) at ../../ufs/ffs/ffs_softdep.c:1966 1966 softdep_error("handle_workitem_freeblks", allerror); (kgdb) list 1961 1962 #ifdef DIAGNOSTIC 1963 if (freeblks->fb_chkcnt != blocksreleased) 1964 panic("handle_workitem_freeblocks: block count"); 1965 if (allerror) 1966 softdep_error("handle_workitem_freeblks", allerror); 1967 #endif /* DIAGNOSTIC */ 1968 WORKITEM_FREE(freeblks, D_FREEBLKS); 1969 num_freeblks -= 1; 1970 } (kgdb) print *freeblks $2 = {fb_list = {wk_list = {le_next = 0xf0bb1ca0, le_prev = 0xf01e35c8}, wk_type = 8, wk_state = 0}, fb_previousinum = 17410, fb_devvp = 0xf5867ba0, fb_fs = 0xf09a2800, fb_oldsize = 0x000000000002e000, fb_newsize = 0x0000000000000000, fb_chkcnt = 384, fb_uid = 0, fb_dblks = { 111464, 111472, 111480, 111488, 111496, 111504, 111512, 111520, 111528, 111536, 111544, 111552}, fb_iblks = {111560, 0, 0}} (kgdb) print blocksreleased $3 = 400 -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #11: Sat Jun 27 00:41:06 CEST 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message