From owner-freebsd-questions@FreeBSD.ORG Fri Aug 23 18:11:48 2013 Return-Path: Delivered-To: freebsd-questions@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 56CC329E for ; Fri, 23 Aug 2013 18:11:48 +0000 (UTC) (envelope-from jpc@porterclark.com) Received: from mail.cluebytwelve.org (clueby12.org [198.186.190.239]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1F52B28C7 for ; Fri, 23 Aug 2013 18:11:47 +0000 (UTC) Received: from 24-183-226-240.dhcp.kgpt.tn.charter.com (unknown [24.183.226.240]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cluebytwelve.org (Postfix) with ESMTPSA id 82B8C1B5DA for ; Fri, 23 Aug 2013 13:04:09 -0500 (CDT) Received: by 24-183-226-240.dhcp.kgpt.tn.charter.com (Postfix, from userid 501) id 019A491D1924; Fri, 23 Aug 2013 13:03:59 -0500 (CDT) Date: Fri, 23 Aug 2013 13:03:59 -0500 From: "J. Porter Clark" To: freebsd-questions@freebsd.org Subject: g_vfs_done and error 11 (EDEADLK) Message-ID: <20130823180359.GA42062@MacPorter.local> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: http://www.angelfire.com/ego/porterclark/ User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 18:11:48 -0000 Anyone know why FreeBSD would give g_vfs_done errors with EDEADLK? Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65968111616, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65968373760, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65968635904, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65968865280, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65969127424, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65969389568, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65969651712, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65969881088, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65970143232, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65970405376, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65970667520, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65970896896, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65971159040, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65971421184, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65971683328, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65971912704, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[READ(offset=81416159232, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():gpt/enc.eli[WRITE(offset=65848246272, length=32768)]error = 11 Aug 22 15:31:14 drum kernel: g_vfs_done():ufs/var[WRITE(offset=1275428864, length=16384)]error = 11 The gpt/enc.eli is a GELI partition. ufs/var is not. If I go to the offset in ufs/var, it turns out to point to the syslog entry corresponding to the previous line. What's really strange is that none of the files on either disk appear to be corrupted. smartctl shows no errors on either drive. dding the entire drive produces no errors. The GELI drive is exported via samba. The errors are triggered when accessing the samba share from a PC. This is not reliably repeatable. My question is: What does error = 11 mean in this context? FreeBSD drum.msfc.nasa.gov 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254654: Thu Aug 22 09:13:25 CDT 2013 jpc@drum.msfc.nasa.gov:/usr/obj/usr/src/sys/BORODIN9 i386 -- J. Porter Clark