From owner-freebsd-current@FreeBSD.ORG Wed Oct 26 09:21:49 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0A2B16A41F for ; Wed, 26 Oct 2005 09:21:49 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AB9043D48 for ; Wed, 26 Oct 2005 09:21:48 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 597C050F94; Wed, 26 Oct 2005 11:21:46 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5C3A250F92; Wed, 26 Oct 2005 11:21:40 +0200 (CEST) Date: Wed, 26 Oct 2005 11:21:37 +0200 From: Pawel Jakub Dawidek To: McLone Message-ID: <20051026092137.GB37564@garage.freebsd.pl> References: <451cb3010510251331l3e664c04u210052947c36a252@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <451cb3010510251331l3e664c04u210052947c36a252@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: current@freebsd.org Subject: Re: geom_eli stability X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 09:21:50 -0000 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 25, 2005 at 11:31:31PM +0300, McLone wrote: +> While suffering from paranoya attack lately, i wanted to +> encrypt my / and /usr, so i read geli(8) and done this: +> > newfs /dev/ad3s1a # for unencrypted kernel +> > geli init -b -l 256 -s 2048 /dev/ad3s1d +> > geli attach /dev/ad3s1d; newfs -U /dev/ad3s1d.eli +> > mount /dev/ad3s1d.eli /mnt/new; mkdir /mnt/new/usr +> > echo "so_m3 d@.Ta" | md5 | cut -c -23 > /mnt/new/the.key +> > cp /mnt/new/the.key / # dunno if it's needed, just guess +> > geli init -K /the.key -s 4096 /dev/ad3s1e +> > geli attach -k /the.key /dev/ad3s1e; newfs -U /dev/ad3s1e.eli +> > mount /dev/ad3s1e.eli /mnt/new/usr +> > cd /usr/src && setenv DESTDIR /mnt/new +> > make installworld +>=20 +> it panicks here (latest RELENG_6) with vm_?. +> Is it known problem, or i should put debug on it and +> post exact panic here? There are no problems in geli(8) that I'm aware of, so more debug will be helpful. +> p.s. May be sector sizes i fed geli with are bizarre too? Should be fine and I advice to use bigger sector for better performance. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDX0qhForvXbEpPzQRAqu8AKDX0DBqcZzUO2888JyNq6IUdMhKJwCfWzVo onQL9MX5sbrHr1l+MjbjmNw= =145B -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--