From owner-freebsd-stable@FreeBSD.ORG Fri Aug 30 20:51:42 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 80EAFEEA; Fri, 30 Aug 2013 20:51:42 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 551922EC2; Fri, 30 Aug 2013 20:51:42 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VFVfQ-0004kn-Vi; Fri, 30 Aug 2013 20:51:41 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r7UKpce8057459; Fri, 30 Aug 2013 14:51:38 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+76H6A7DYFlY6oS+0iFUfP Subject: Re: gmirror crash writing to disk? Or is it su+j crash? From: Ian Lepore To: Edward Tomasz =?iso-8859-2?Q?Napiera=B3a?= In-Reply-To: <370A25C8-7747-4B96-A506-EB92FD0F77CF@FreeBSD.org> References: <370A25C8-7747-4B96-A506-EB92FD0F77CF@FreeBSD.org> Content-Type: text/plain; charset="iso-8859-2" Date: Fri, 30 Aug 2013 14:51:38 -0600 Message-ID: <1377895898.1111.341.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r7UKpce8057459 Cc: Zaphod Beeblebrox , FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 20:51:42 -0000 On Fri, 2013-08-30 at 21:50 +0200, Edward Tomasz Napiera=B3a wrote: > Wiadomo=B6=E6 napisana przez Zaphod Beeblebrox w dn= iu 29 sie 2013, o godz. 23:35: > > So I have a system running: > >=20 > > FreeBSD walk.dclg.ca 9.2-RC3 FreeBSD 9.2-RC3 # r254952: Wed Aug 28 03= :02:55 > > EDT 2013 root@walk.dclg.ca:/usr/obj/usr/src/sys/STRIKE i386 > >=20 > > and it has two 2T SATA disks. To keep this post short, the crash.txt= is > > here. > >=20 > > https://uk.eicat.ca/owncloud/public.php?service=3Dfiles&t=3Dfea9d2557= 9fe0c4afb808859e80e1493 >=20 > Login error. >=20 > > now curiously, while running a "make -j4 buildkernel" ... almost ever= y time > > ... it crashes with: > >=20 > > g_vfs_done():mirror/walke[WRITE(offset=3D516764794880, length=3D65536= )]error =3D > > 11 > > /usr: got error 11 while accessing filesystem > > panic: softdep_deallocate_dependencies: unrecovered I/O error >=20 > This is softupdates panic caused by write operation returning error 11,= which, > according to 'man errno', is EDEADLK. >=20 > To be honest, I have no idea why gmirror might be returning this error. >=20 > > ... no error report from the hard drives, simply an error report from= the > > mirror. >=20 > Note that ahci(4) does not log errors unless you're running with bootve= rbose. >=20 > > The filesystem is ufs with su+j... but I'm not sure this matters here. >=20 > It does, kind of - without soft updates/SUJ, the error would be non-fat= al - it > wouldn't panic the box, but it would (probably) cause data corruption. One of the few places in the kernel that uses EDEADLK is in geom_io.c (line 642 in -current) in g_io_transient_map_bio()... g_io_deliver(bp, EDEADLK/* XXXKIB */); -- Ian