From owner-freebsd-current@FreeBSD.ORG Mon Apr 5 09:40:10 2004 Return-Path: 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 EE79916A4CE for ; Mon, 5 Apr 2004 09:40:10 -0700 (PDT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64A2743D31 for ; Mon, 5 Apr 2004 09:40:08 -0700 (PDT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i35Ge58o020415 for ; Mon, 5 Apr 2004 12:40:05 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i35Ge5lq020414 for freebsd-current@freebsd.org; Mon, 5 Apr 2004 12:40:05 -0400 (EDT) Date: Mon, 5 Apr 2004 12:40:05 -0400 From: Ken Smith To: freebsd-current@freebsd.org Message-ID: <20040405164005.GA19957@electra.cse.Buffalo.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Help debugging sysinstall problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 16:40:11 -0000 Nate and others mentioned there is a problem with -current and installing from CD. I have a fresh ISO built for sparc64 and a machine sitting at a DDB prompt having crashed during sysinstall. The information I've been able to get from it so far is tacked on below. If more information can help let me know, I have the whole tree that resulted from the "make release" build of the ISO file so I can get to things like the kernel.debug file, etc... Stack trace from ddb: db> tr __panic() at __panic+0x170 trap() at trap+0x2cc -- fast data access mmu miss tar=0 %o7=0xc01665f8 -- softdep_disk_prewrite() at softdep_disk_prewrite+0x4c ufs_strategy() at ufs_strategy+0xa8 ufs_vnoperate() at ufs_vnoperate+0x1c ibwrite() at ibwrite+0x278 bwrite() at bwrite+0x38 ufs_mkdir() at ufs_mkdir+0x514 ufs_vnoperate() at ufs_vnoperate+0x1c kern_mkdir() at kern_mkdir+0x194 syscall() at syscall+0x234 -- syscall (136, FreeBSD ELF64, mkdir) %o7=0x1d82d0 -- userland() at 0x24b4c8 user trace: trap %o7=0x1d82d0 pc 0x24b4c8, sp 0x7fdffffd361 pc 0x1dbccc, sp 0x7fdffffd4b1 pc 0x1cd478, sp 0x7fdffffd571 pc 0x1cd2b0, sp 0x7fdffffda51 pc 0x1d2f3c, sp 0x7fdffffdb21 pc 0x1d1070, sp 0x7fdffffdbf1 pc 0x209a80, sp 0x7fdffffdcb1 pc 0x1cd4dc, sp 0x7fdffffdec1 pc 0x1d5e24, sp 0x7fdffffe3a1 pc 0x1003b0, sp 0x7fdffffe471 pc 0x1001e0, sp 0x7fdffffe531 pc 0, sp 0x7fdffffe5f1 done db> Running "gdb53 -k kernel.debug" and asking it what's at the location softdep_disk_prewrite+0x4c gives me: gdb53 -k kernel.debug GNU gdb 5.3 (FreeBSD) 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 "sparc64-portbld-freebsd5.2"... (kgdb) list *softdep_disk_prewrite+0x4c 0xc02565ac is in softdep_disk_prewrite (/usr/src/sys/ufs/ffs/ffs_softdep.c:3425). 3420 { 3421 int error; 3422 3423 if (bp->b_iocmd != BIO_WRITE) 3424 return (0); 3425 if ((bp->b_flags & B_VALIDSUSPWRT) == 0 && 3426 bp->b_vp != NULL && bp->b_vp->v_mount != NULL && 3427 (vp->v_mount->mnt_kern_flag & MNTK_SUSPENDED) != 0) 3428 panic("softdep_disk_prewrite: bad I/O"); 3429 bp->b_flags &= ~B_VALIDSUSPWRT; (kgdb) -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |