From owner-freebsd-stable@FreeBSD.ORG Thu Sep 27 18:35:30 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D410C16A41B for ; Thu, 27 Sep 2007 18:35:30 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 5333E13C461 for ; Thu, 27 Sep 2007 18:35:30 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so1594597ugf for ; Thu, 27 Sep 2007 11:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=WBC4C/R55IBZhXHFNlofF7H+MzqrVR+GC/Ziv15AiOs=; b=o9w7wJYEQMbu1vYtdefOs8biuQucaIUn1w1tds1/q1PTV9uoyLAU5Fz/XPeMWL+qL7SORvsKytyAagU1oAA0WAGqbx4E7TbgVo7/GYl1cNtUHdb1SOf4lqBwcFxErvsB8gSuYFGuWQ6xLIAFbOngW3XMTjYwuzCwJtsOGOePHUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a3CJfK5HTBgPoZsdFwTdUOOUvOe2859Qo6ukUXxdE4dutf0NNdg7bRrRUf5guSDnTKwCoTRd5Gh5R6JunAmPp47tCITcCIlkntsOaoKR6OUNcST9Kz8r8x2M65KdMmvtJs/ZOeM9+d1cZV5SRM0r6CevG7MxS1GNaa80fN/gdn4= Received: by 10.66.240.12 with SMTP id n12mr3947910ugh.1190918128531; Thu, 27 Sep 2007 11:35:28 -0700 (PDT) Received: by 10.67.20.1 with HTTP; Thu, 27 Sep 2007 11:35:28 -0700 (PDT) Message-ID: <3aaaa3a0709271135m6048aaa9ife7c5d17c59db666@mail.gmail.com> Date: Thu, 27 Sep 2007 19:35:28 +0100 From: Chris To: Chris , "FreeBSD Stable" In-Reply-To: <20070927174449.GA59260@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3aaaa3a0709261509g414e3163mff45f9da3bc4d7f3@mail.gmail.com> <20070927174449.GA59260@slackbox.xs4all.nl> Cc: Subject: Re: gbde and geli on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2007 18:35:30 -0000 On 27/09/2007, Roland Smith wrote: > On Wed, Sep 26, 2007 at 11:09:22PM +0100, Chris wrote: > > Hi I am concerned about the availabilities of these encryptions in > > freebsd releases that are marked stable. > > > > It seems gbde has a problem when the the data written goes over the > > lba boundary around lba48. > > > > http://lists.freebsd.org/pipermail/freebsd-geom/2007-August/002524.html > > > > I suffered this problem error example below. Usage at the time was > > approx 150gig when I first noticed it. > > > > g_vfs_done():ad6s1c.bde[WRITE(offset=493964558336, length=131072)]error = 1 > > > > After reading about this problem on a few diff hits (all with no > > response on fixes) I tried geli. > > > > However I seen this in geli within an hour of using it. > > > > GEOM_ELI: Crypto WRITE request failed (error=1). > > ad6s1c.eli[WRITE(offset=0, length=131072)] > > I've been running a GELI encrypted /home partition on 6.2-STABLE amd64 > for months without problems. I've had trouble with GELI on usb > harddisks, but that seems to be related to the USB/ATAPI controller. > > The message seems to come from /usr/src/sys/geom/eli/g_eli_integrity.c, > in the function g_eli_auth_write_done. But for a more detailed analysys, > you'd have to set kern.geom.eli.debug to 3, and see what else pops > up. The headers indicate that the error number is used according to > errno.h, which lists 1 as being "Operation not permitted". > > Both GELI and GBDE fail with the same length of request. So the error > might depend on the underlaying code in the kernel (bio* functions). > > Are you sure that the disk and controller are working properly? > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > > As I said no dma errors or any hd related errors of any sort with encyrption turned off. How big are your drives? Chris