From owner-freebsd-geom@FreeBSD.ORG Mon Jun 12 11:02:55 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C71ED16A418 for ; Mon, 12 Jun 2006 11:02:55 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8566043D45 for ; Mon, 12 Jun 2006 11:02:55 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5CB2t3r098853 for ; Mon, 12 Jun 2006 11:02:55 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5CB2shm098849 for freebsd-geom@freebsd.org; Mon, 12 Jun 2006 11:02:54 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 12 Jun 2006 11:02:54 GMT Message-Id: <200606121102.k5CB2shm098849@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 11:02:55 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/01/21] kern/76538 geom [gbde] nfs-write on gbde partition stalls o [2005/08/04] kern/84556 geom [geom] GBDE-encrypted swap causes panic a o [2005/10/16] kern/87544 geom [gbde] mmaping large files on a gbde file o [2005/11/16] kern/89102 geom [geom_vfs] [panic] panic when forced unmo o [2005/12/08] bin/90093 geom fdisk(8) incapable of altering in-core ge o [2005/12/18] kern/90582 geom [geom_mirror] [panic] Restore cause panic o [2006/04/15] kern/95771 geom [geom] geom mirror provider destroyed (ma o [2006/05/27] kern/98034 geom [geom] dereference of NULL pointer in acd o [2006/05/29] kern/98093 geom Detaching gmirror/geli leads to panic (RE 9 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/02/26] bin/78131 geom gbde "destroy" not working. o [2005/03/26] kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o [2006/03/18] kern/94632 geom [geom] Kernel output resets input while G 3 problems total. From owner-freebsd-geom@FreeBSD.ORG Thu Jun 15 03:55:23 2006 Return-Path: X-Original-To: freebsd-geom@hub.freebsd.org Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFA0F16A479; Thu, 15 Jun 2006 03:55:23 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B9AB43D45; Thu, 15 Jun 2006 03:55:23 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5F3tN3k067497; Thu, 15 Jun 2006 03:55:23 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5F3tNdf067493; Thu, 15 Jun 2006 03:55:23 GMT (envelope-from linimon) Date: Thu, 15 Jun 2006 03:55:23 GMT From: Mark Linimon Message-Id: <200606150355.k5F3tNdf067493@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org Cc: Subject: Re: kern/98538: [geom] Kernel panic on ggate destroy X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 03:55:23 -0000 Synopsis: [geom] Kernel panic on ggate destroy Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jun 15 03:54:50 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=98538 From owner-freebsd-geom@FreeBSD.ORG Thu Jun 15 04:08:28 2006 Return-Path: X-Original-To: freebsd-geom@hub.freebsd.org Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD9916A47F; Thu, 15 Jun 2006 04:08:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08DF643D45; Thu, 15 Jun 2006 04:08:28 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5F48Rdt071988; Thu, 15 Jun 2006 04:08:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5F48Ruv071984; Thu, 15 Jun 2006 04:08:27 GMT (envelope-from linimon) Date: Thu, 15 Jun 2006 04:08:27 GMT From: Mark Linimon Message-Id: <200606150408.k5F48Ruv071984@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org Cc: Subject: Re: kern/98742: [geli] IO errors while using geli X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 04:08:28 -0000 Old Synopsis: IO erros while using geli New Synopsis: [geli] IO errors while using geli Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jun 15 04:06:04 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=98742 From owner-freebsd-geom@FreeBSD.ORG Sat Jun 17 18:30:35 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AF7416A47B for ; Sat, 17 Jun 2006 18:30:35 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B4EA43D66 for ; Sat, 17 Jun 2006 18:30:29 +0000 (GMT) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FrfYX-00016S-Po for freebsd-geom@freebsd.org; Sat, 17 Jun 2006 20:30:01 +0200 Received: from adsl-065-012-220-185.sip.bct.bellsouth.net ([65.12.220.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jun 2006 20:30:01 +0200 Received: from joe+gmane by adsl-065-012-220-185.sip.bct.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jun 2006 20:30:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: freebsd-geom@freebsd.org To: freebsd-geom@freebsd.org From: Joe Schaefer Date: Sat, 17 Jun 2006 14:25:13 -0400 Lines: 90 Message-ID: <877j3fzlkm.fsf@gemini.sunstarsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-065-012-220-185.sip.bct.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:YS8GBACuwp/uRhl+LoKc3gIvN2c= Sender: news Subject: GEOM_MIRROR crashes X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2006 18:30:35 -0000 I added two 143G drives da1 and da2 in a round-robin gmirror array, and ever since the box crashes periodically. It's been happening over the last few weeks, with increasing frequency (twice today). ================================================== /var/log/messages contains GEOM_MIRROR: Request failed (error=5). da1[WRITE(offset=117082004992, length=16384)] GEOM_MIRROR: Device gm0: provider da1 disconnected. GEOM_MIRROR: Request failed (error=5). da1[WRITE(offset=117851348480, length=16384)] GEOM_MIRROR: Request failed (error=5). da2[WRITE(offset=117851348480, length=16384)] GEOM_MIRROR: Device gm0: provider da2 disconnected. GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed. GEOM_MIRROR: Request failed (error=6). da1[WRITE(offset=117851381248, length=16384)] GEOM_MIRROR: Request failed (error=6). da2[WRITE(offset=117851381248, length=16384)] ... g_vfs_done():mirror/gm0s1b[WRITE(offset=79196635136, length=16384)]error = 6 g_vfs_done():mirror/gm0s1b[WRITE(offset=79197077504, length=16384)]error = 6 GEOM_MIRROR: Request failed (error=6). da1[WRITE(offset=120549088768, length=16384)] GEOM_MIRROR: Request failed (error=6). da2[WRITE(offset=120549088768, length=16384)] GEOM_MIRROR: Device gm0 destroyed. g_vfs_done():mirror/gm0s1b[WRITE(offset=81894342656, length=16384)]error = 6 g_vfs_done():mirror /gm0s1b[READ(offset=53400334336, length=2048)]error = 6 The subsequent backtrace with kgdb is #0 doadump () at pcpu.h:165 #1 0xc063aaeb in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xc063ae11 in panic (fmt=0xc0875357 "vinvalbuf: dirty bufs") at /usr/src/sys/kern/kern_shutdown.c:555 #3 0xc0690739 in bufobj_invalbuf (bo=0xc393ab60, flags=1, td=0xc380c480, slpflag=0, slptimeo=0) at /usr/src/sys/kern/vfs_subr.c:1000 #4 0xc0690979 in vinvalbuf (vp=0xc393aaa0, flags=1, td=0xc380c480, slpflag=0, slptimeo=0) at /usr/src/sys/kern/vfs_subr.c:1067 #5 0xc0693081 in vgonel (vp=0xc393aaa0) at /usr/src/sys/kern/vfs_subr.c:2399 #6 0xc0692fb2 in vgone (vp=0xc393aaa0) at /usr/src/sys/kern/vfs_subr.c:2356 #7 0xc05ed9c4 in devfs_delete (dm=0xc3839300, de=0xc383f300) at /usr/src/sys/fs/devfs/devfs_devs.c:243 #8 0xc05edbc0 in devfs_populate_loop (dm=0xc3839300, cleanup=0) at /usr/src/sys/fs/devfs/devfs_devs.c:350 #9 0xc05eddfa in devfs_populate (dm=0xc3839300) at /usr/src/sys/fs/devfs/devfs_devs.c:446 #10 0xc05ef9ff in devfs_lookupx (ap=0x0) at /usr/src/sys/fs/devfs/devfs_vnops.c:512 #11 0xc05efb3b in devfs_lookup (ap=0xe6bcd9c8) at /usr/src/sys/fs/devfs/devfs_vnops.c:576 #12 0xc081f78f in VOP_LOOKUP_APV (vop=0xc08c4500, a=0xe6bcd9c8) at vnode_if.c:99 #13 0xc068b969 in lookup (ndp=0xe6bcdbcc) at vnode_if.h:56 #14 0xc068b2aa in namei (ndp=0xe6bcdbcc) at /usr/src/sys/kern/vfs_lookup.c:203 #15 0xc069d8e9 in vn_open_cred (ndp=0xe6bcdbcc, flagp=0xe6bcdccc, cmode=0, cred=0xc34bda80, fdidx=6) at /usr/src/sys/kern/vfs_vnops.c:182 #16 0xc069d63a in vn_open (ndp=0x0, flagp=0xe6bcdccc, cmode=0, fdidx=6) at /usr/src/sys/kern/vfs_vnops.c:91 #17 0xc0696642 in kern_open (td=0xc380c480, path=0x0, pathseg=UIO_USERSPACE, flags=6, mode=0) at /usr/src/sys/kern/vfs_syscalls.c:979 #18 0xc0696556 in open (td=0xc380c480, uap=0xe6bcdd04) at /usr/src/sys/kern/vfs_syscalls.c:945 #19 0xc08101ff in syscall (frame= {tf_fs = 59, tf_es = -1078001605, tf_ds = -1078001605, tf_edi = 7, tf_esi = -1077947008, tf_ebp = -1077948728, tf_isp = -423830172, tf_ebx = 0, tf_edx = 8, tf_ecx = 47, tf_eax = 5, tf_trapno = 0, tf_err = 2, tf_eip = 671913971, tf_cs = 51, tf_eflags = 582, tf_esp = -1077948852, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:976 #20 0xc07fcd0f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #21 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) ================================================== Can anyone tell me what kind of problem I'm running into here? Did I somehow botch the gmirror setup? Is this a hardware problem? TIA. -- Joe Schaefer From owner-freebsd-geom@FreeBSD.ORG Sat Jun 17 21:21:36 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CF6A16A482 for ; Sat, 17 Jun 2006 21:21:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E9643D48 for ; Sat, 17 Jun 2006 21:21:34 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 150A751391; Sat, 17 Jun 2006 23:21:33 +0200 (CEST) Received: from localhost (public-gprs32452.centertel.pl [87.96.126.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5D7F050E81 for ; Sat, 17 Jun 2006 23:21:20 +0200 (CEST) Date: Sat, 17 Jun 2006 23:18:18 +0200 From: Pawel Jakub Dawidek To: freebsd-geom@freebsd.org Message-ID: <20060617211818.GA32426@garage.freebsd.pl> References: <877j3fzlkm.fsf@gemini.sunstarsys.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <877j3fzlkm.fsf@gemini.sunstarsys.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Subject: Re: GEOM_MIRROR crashes X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2006 21:21:36 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 17, 2006 at 02:25:13PM -0400, Joe Schaefer wrote: +>=20 +> I added two 143G drives da1 and da2 in a round-robin +> gmirror array, and ever since the box crashes periodically. +> It's been happening over the last few weeks, with increasing +> frequency (twice today). +>=20 +> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D +>=20 +> /var/log/messages contains +>=20 +> GEOM_MIRROR: Request failed (error=3D5). da1[WRITE(offset=3D1170820049= 92, length=3D16384)] +> GEOM_MIRROR: Device gm0: provider da1 disconnected. +> GEOM_MIRROR: Request failed (error=3D5). da1[WRITE(offset=3D1178513484= 80, length=3D16384)] +> GEOM_MIRROR: Request failed (error=3D5). da2[WRITE(offset=3D1178513484= 80, length=3D16384)] +> GEOM_MIRROR: Device gm0: provider da2 disconnected. +> GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed. This looks like your both disks has bad sectors in the same place. The error=3D5 is EIO returned from your disk driver. By default gmirror disconnects failed components on first EIO. In 6.1 it won't disconnect last failed component. In FreeBSD 6.1 you can prevent disconnecting any failed components by setting kern.geom.mirror.disconnect_on_failure sysctl/tunable to 0. This won't help you much in this case, though. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFElHGaForvXbEpPzQRApjYAKC9JxVbIeEaZw7FG4KxbDQlNTce7gCgiLgm z47HWu/G31vg+uJ8jsvtTjE= =1cd6 -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--