From owner-freebsd-fs@FreeBSD.ORG Fri Oct 8 23:40:05 2010 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C2561065674 for ; Fri, 8 Oct 2010 23:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 327D68FC13 for ; Fri, 8 Oct 2010 23:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o98Ne4ti096132 for ; Fri, 8 Oct 2010 23:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o98Ne4fJ096131; Fri, 8 Oct 2010 23:40:04 GMT (envelope-from gnats) Date: Fri, 8 Oct 2010 23:40:04 GMT Message-Id: <201010082340.o98Ne4fJ096131@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Marcin Gryszkalis Cc: Subject: Re: kern/114676: [ufs] snapshot creation panics: snapacct_ufs2: bad block X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Gryszkalis List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 23:40:05 -0000 The following reply was made to PR kern/114676; it has been noted by GNATS. From: Marcin Gryszkalis To: freebsd-gnats-submit@freebsd.org, gael.roualland@dial.oleane.com Cc: Subject: Re: kern/114676: [ufs] snapshot creation panics: snapacct_ufs2: bad block Date: Sat, 9 Oct 2010 01:21:12 +0200 I have this panic after crash caused by failed UPS. The system is 8.0-RELEASE-pX. The worse thing is that it caused endless loop of reboots (crash caused background fsck+snapshot which caused panic which caused reboot+fsck etc.) UFS is placed over gmirror-ed disks (additionally checked with smartctl) so I guess low level disk failure is not the cause. I have few dumps available. *blkp is BLK_SNAP *ibp is $5 = {b_bufobj = 0xc585ea14, b_bcount = 16384, b_caller1 = 0x0, b_data = 0xdd1f3000 "\001", b_error = 0, b_iocmd = 2 '\002', b_ioflags = 2 '\002', b_iooffset = 19662389248, b_resid = 0, b_iodone = 0, b_blkno = 38403104, b_offset = -140257722368, b_bobufs = {tqe_next = 0xd9226e90, tqe_prev = 0xd90e9a08}, b_left = 0xd92c08e0, b_right = 0xd9281790, b_vflags = 0, b_freelist = {tqe_next = 0xd90e99d0, tqe_prev = 0xd9226edc}, b_qindex = 2, b_flags = 2147483808, b_xflags = 1 '\001', b_lock = { lock_object = {lo_name = 0xc0a74500 "bufwait", lo_flags = 91422720, lo_data = 0, lo_witness = 0x0}, lk_lock = 3311290624, lk_timo = 0, lk_pri = 80}, b_bufsize = 16384, b_runningbufspace = 0, b_kvabase = 0xdd1f3000 "\001", b_kvasize = 16384, b_lblkno = -8560652, b_vp = 0xc585e96c, b_dirtyoff = 0, b_dirtyend = 0, b_rcred = 0x0, b_wcred = 0x0, b_saveaddr = 0xdd1f3000, b_pager = {pg_reqpage = 0}, b_cluster = {cluster_head = {tqh_first = 0x0, tqh_last = 0x0}, cluster_entry = {tqe_next = 0x0, tqe_prev = 0x0}}, b_pages = {0xc1a7e050, 0xc1a0a568, 0xc1a16ec8, 0xc16fdfe0, 0x0 }, b_npages = 4, b_dep = {lh_first = 0x0}, b_fsprivate1 = 0x0, b_fsprivate2 = 0x0, b_fsprivate3 = 0x0, b_pin_count = 0} -- Marcin Gryszkalis, PGP 0x9F183FA3 jabber jid:mg@fork.pl, gg:2532994 http://the.fork.pl