From owner-freebsd-current@FreeBSD.ORG Wed May 12 12:32:32 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 C053816A4CE for ; Wed, 12 May 2004 12:32:32 -0700 (PDT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64BCA43D41 for ; Wed, 12 May 2004 12:32:32 -0700 (PDT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id C4B691FFDD6 for ; Wed, 12 May 2004 21:32:31 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 012621FFDD5; Wed, 12 May 2004 21:32:29 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id B9B54154FC; Wed, 12 May 2004 19:32:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id AF1F6154E5 for ; Wed, 12 May 2004 19:32:17 +0000 (UTC) Date: Wed, 12 May 2004 19:32:17 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: FreeBSD current mailing list Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Subject: panic: softdep_deallocate_dependencies 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: Wed, 12 May 2004 19:32:32 -0000 Hi, got a panic with the kernel/world from today 10:53 UTC on amd64: panic: softdep_deallocate_dependencies: dangling deps at line ... ... sys/ufs/ffs/ffs+softdep.c cpuid=0; --- code --- /* * Called whenever a buffer that is being invalidated or reallocated * contains dependencies. This should only happen if an I/O error has * occurred. The routine is called with the buffer locked. */ static void softdep_deallocate_dependencies(bp) struct buf *bp; { if ((bp->b_ioflags & BIO_ERROR) == 0) panic("softdep_deallocate_dependencies: dangling deps"); softdep_error(bp->b_vp->v_mount->mnt_stat.f_mntonname, bp->b_error); panic("softdep_deallocate_dependencies: unrecovered I/O error"); } --- /code --- happening every boot now when background fsck is running; machine previously crashed once with new kernel and old fsck. can reproduce it every reboot when not killing autoboot script fast enough; don't have serial console :( so here is the handwritten output of db> where: spftdep_deallocate_dependecies +0x52 brelse +0xe5 flushbuflist +0x14d vinvalbuf +0x171 ffs_truncate ufs_inactive ufs_vnoperate vrele ufs_close ufs_vnoperate vn_close vn_closefile fdrop_locked fdrop closef close syscall Xfast_syscall -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/