Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2013 13:03:59 -0500
From:      "J. Porter Clark" <jpc2112@inbox.com>
To:        freebsd-questions@freebsd.org
Subject:   g_vfs_done and error 11 (EDEADLK)
Message-ID:  <20130823180359.GA42062@MacPorter.local>

next in thread | raw e-mail | index | archive | help
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      <jpc2112@inbox.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130823180359.GA42062>