From owner-freebsd-current@FreeBSD.ORG Fri May 2 16:14:50 2003 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 DCCCA37B401 for ; Fri, 2 May 2003 16:14:50 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0065343FD7 for ; Fri, 2 May 2003 16:14:50 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h42NBbZ03192; Fri, 2 May 2003 16:11:37 -0700 Received: from btc.adaptec.com (hollin.btc.adaptec.com [10.100.253.56]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id QAA16588; Fri, 2 May 2003 16:14:37 -0700 (PDT) Message-ID: <3EB2FB35.8060104@btc.adaptec.com> Date: Fri, 02 May 2003 17:11:49 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mckusick@mckusick.com, Ian Dowse , Jeff Roberson Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Panic in ffs_blkfree() 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: Fri, 02 May 2003 23:14:51 -0000 Kirk and all, Recently a panic started appearing on mine and other's systems while under load. I have an SMP system with all UFS1+softupdates filesystems, 256MB of RAM, etc. I'm working to build a debug kernel and reproduce the panic so I can give a better stack trace, but until then this is what I have. Building a release triggers this pretty consistently, though it takes a couple of hours. Before my last kernel update, I was running from a kernel+world from mid-April with no problems. panic: bremfree: removing a buffer not on a queue panic messages: --- panic: ffs_blkfree: freeing free block cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 syncing disks, buffers remaining... panic: bremfree: removing a buffer not on a queue cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 Uptime: 5h52m18s Dumping 255 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- #0 0xc01f4edb in doadump () (kgdb) bt #0 0xc01f4edb in doadump () #1 0xc01f5438 in boot () #2 0xc01f579f in panic () #3 0xc0234270 in bremfreel () #4 0xc02341a5 in bremfree () #5 0xc023d598 in vop_stdfsync () #6 0xc01bfb90 in spec_fsync () #7 0xc01bf228 in spec_vnoperate () #8 0xc02bda5d in ffs_sync () #9 0xc02490bb in sync () #10 0xc01f5041 in boot () #11 0xc01f579f in panic () #12 0xc02a59ca in ffs_blkfree () #13 0xc02b59bf in indir_trunc () #14 0xc02b5455 in handle_workitem_freeblocks () #15 0xc02b25ba in process_worklist_item () #16 0xc02b22e0 in softdep_process_worklist () #17 0xc024593e in sched_sync () #18 0xc01e21de in fork_exit () (kgdb)