Date: Thu, 27 Sep 2007 19:44:49 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Chris <chrcoluk@gmail.com> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: gbde and geli on 6.2 Message-ID: <20070927174449.GA59260@slackbox.xs4all.nl> In-Reply-To: <3aaaa3a0709261509g414e3163mff45f9da3bc4d7f3@mail.gmail.com> References: <3aaaa3a0709261509g414e3163mff45f9da3bc4d7f3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > It seems gbde has a problem when the the data written goes over the > lba boundary around lba48. >=20 > http://lists.freebsd.org/pipermail/freebsd-geom/2007-August/002524.html >=20 > I suffered this problem error example below. Usage at the time was > approx 150gig when I first noticed it. >=20 > g_vfs_done():ad6s1c.bde[WRITE(offset=3D493964558336, length=3D131072)]err= or =3D 1 >=20 > After reading about this problem on a few diff hits (all with no > response on fixes) I tried geli. >=20 > However I seen this in geli within an hour of using it. >=20 > GEOM_ELI: Crypto WRITE request failed (error=3D1). > ad6s1c.eli[WRITE(offset=3D0, length=3D131072)] =20 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?=20 Roland --=20 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) --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG++wREnfvsMMhpyURAhcEAJwJwrqrw9DZa0Y9gu/9mIAQ5s8MQgCbB8Bt aJ0vikEDaqKFMthdo+Bt5Io= =rj1Q -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070927174449.GA59260>