From owner-freebsd-current@FreeBSD.ORG Wed Mar 31 20:56:09 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C48E106566C; Wed, 31 Mar 2010 20:56:09 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id BFEC68FC16; Wed, 31 Mar 2010 20:56:08 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Nx4xL-0000er-ER; Wed, 31 Mar 2010 21:56:07 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Nx4xL-0002Ex-6h; Wed, 31 Mar 2010 21:56:07 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o2VKu6wH001616; Wed, 31 Mar 2010 21:56:06 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o2VKu6li001615; Wed, 31 Mar 2010 21:56:06 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 31 Mar 2010 21:56:06 +0100 From: Anton Shterenlikht To: freebsd-ia64@freebsd.org, freebsd-current@freebsd.org Message-ID: <20100331205606.GA1581@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: ia64 -> panic: ffs_blkfree: freeing free frag X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Mar 2010 20:56:09 -0000 on r205976M ia64 with gmirror, see dmesg here: http://seis.bris.ac.uk/~mexas/freebsd/ia64/rx2600/tzav/dmesg.boot I got this panic: ) at syscall+0x3b0 epc_syscall_return() at epc_syscall_return Mar 31 19:51:51 mech-cluster241 su: mexas to root on /dev/pts/9 dev = mirror/usr, block = 15150194, fs = /usr panic: ffs_blkfree: freeing free frag cpuid = 1 KDB: enter: panic [ thread pid 19 tid 100054 ] Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe1e628,gp ;; db> bt Tracing pid 19 tid 100054 td 0xe000000011105880 kdb_enter(0xe000000004783670, 0xe000000004783670, 0xe00000000439bb40, 0x793) at kdb_enter+0x92 panic(0xe0000000047abda8, 0xe0000000115c96e0, 0xe72c72, 0xe0000000115888d4, 0xe0000000046382a0, 0xa1a) at panic+0x2f0 ffs_blkfree(0xe0000000115c9200, 0xe000000011588800, 0xe00000001168e000, 0xe72c72, 0x800, 0xa00000009a952c28) at ffs_blkfree+0xbc0 handle_workitem_freeblocks(0xe00000001c9d6e00, 0x0, 0x800, 0xe00000001c9d6e48, 0x0) at handle_workitem_freeblocks+0x4e0 process_worklist_item(0xe00000001c9d6e1a, 0xe0000000115c92c4, 0xe00000001c9d6e00, 0x0) at process_worklist_item+0x440 softdep_process_worklist(0xe0000000116982f8, 0xe0000000048cbeb8, 0xe0000000048cf030, 0x1, 0x0) at softdep_process_worklist+0xe0 softdep_flush(0xe0000000116982f8, 0xe000000011698000, 0x0, 0xe0000000047acf70) at softdep_flush+0x430 fork_exit(0xe0000000047c41c0, 0x0, 0xa0000000bd435550) at fork_exit+0x110 enter_userland() at enter_userland db> After fixing all filsytem inconsitensies with fsck I got this panic: # shutdown -r now Shutdown NOW! shutdown: [pid 89] # /usr/bin/wall: not found Mar 31 22:47:28 shutdown: reboot by root: System shutdown time has arrived Writing entropy file:/etc/rc.shutdown: WARNING: write failed (read-only fs?) Terminated . GEOM_MIRROR: Device usr: rebuilding provider da0p6 stopped. GEOM_MIRROR: Device tmp: provider mirror/tmp destroyed. GEOM_MIRROR: Device usr: provider mirror/usr destroyed. fatal kernel trap (cpu 1): trap vector = 0x14 (Page Not Present) cr.iip = 0xe000000004380960 cr.ipsr = 0x1210080a6018 (ac,mfl,ic,i,dt,dfh,rt,cpl=0,it,ri=1,bn) cr.isr = 0xa0400000000 (code=0,vector=0,r,ei=1,ed) cr.ifa = 0x98 curthread = 0xe000000010caa380 pid = 3, comm = g_up [ thread pid 3 tid 100009 ] Stopped at _mtx_lock_flags+0x51: [M1] ld8.acq r14=[r14] db> db> bt Tracing pid 3 tid 100009 td 0xe000000010caa380 _mtx_lock_flags(0x80, 0x0, 0xe000000004bb9668, 0x3e3) at _mtx_lock_flags+0x51 g_mirror_sync_done(0xe00000001158d878, 0x0, 0x80, 0xe000000004493190) at g_mirror_sync_done+0xa0 biodone(0xe00000001158d878, 0xe00000001087a810, 0xe0000000048453f0, 0xe0000000047927a8, 0xe0000000042eb530) at biodone+0x130 g_io_schedule_up(0x100, 0xe00000001158d878, 0xe0000000048dd6c8, 0xe0000000048dd700) at g_io_schedule_up+0x280 g_up_procbody(0xe0000000047788f0, 0xe000000010caa380, 0xe00000000434bdd0, 0x40c) at g_up_procbody+0xc0 fork_exit(0xe0000000047c2bf0, 0x0, 0xa0000000bcbf9550) at fork_exit+0x110 enter_userland() at enter_userland db> -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423