From owner-freebsd-geom@FreeBSD.ORG Thu Apr 6 07:42:38 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A769516A423 for ; Thu, 6 Apr 2006 07:42:38 +0000 (UTC) (envelope-from aswood@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id A922D43D46 for ; Thu, 6 Apr 2006 07:42:37 +0000 (GMT) (envelope-from aswood@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so73352nzf for ; Thu, 06 Apr 2006 00:42:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cbr8HfIW1qhCpbWmQ01ohHAshjNykULx0rjXrrUrTXlK/XUMssx52arNgNh74wfFQefGqBvvROyNv2OyjZcdbLjcqv4wNtzxB16fkX+28lfsPkybgjB1vQsKprbs0qCgeSbLPZM5tt9rzu9gn9yEA+AlYefk/RquYnyLfc+yRaw= Received: by 10.36.129.3 with SMTP id b3mr639090nzd; Thu, 06 Apr 2006 00:42:36 -0700 (PDT) Received: by 10.36.138.6 with HTTP; Thu, 6 Apr 2006 00:42:36 -0700 (PDT) Message-ID: <77518d100604060042j43154528j2cdb4eb88e6cb7cf@mail.gmail.com> Date: Thu, 6 Apr 2006 02:42:36 -0500 From: "Adam Wood" To: "Pawel Jakub Dawidek" , freebsd-geom@freebsd.org In-Reply-To: <77518d100604052359pc33c09epb59d3900c4c92cac@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <77518d100604051833u92d3581mbd1dc90dfe8f5638@mail.gmail.com> <20060406065618.GC2667@garage.freebsd.pl> <77518d100604052359pc33c09epb59d3900c4c92cac@mail.gmail.com> Cc: Subject: Re: geli not prompting for password on boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 07:42:38 -0000 Hello, My power has returned, and, as you suggested, I am getting GEOM_ELI[1]: Tasting no more. written to the console. I guess I'll try again once 6.1-RELEASE is available. Thank you again for your help. On 4/6/06, Adam Wood wrote: > Oh, I see. It is currently using 6.0-RELEASE. > > I expect 6.1-RELEASE to be available soon, so perhaps I will wait. > Unfortunately I am having power issues at the moment and cannot test > with the debugging enabled. When it is available I will test and > confirm. > > Thank you very much for your help. Thank you also for your amazing > work on GELI. I think it's incredible. > > Sincerely, > > Adam Wood > > On 4/6/06, Pawel Jakub Dawidek wrote: > > On Wed, Apr 05, 2006 at 08:33:55PM -0500, Adam Wood wrote: > > +> Hello, > > +> > > +> I've recently began researching GELI and disk-encryption altogether > > +> and have run into a problem. > > +> > > +> I've created a bootable media with the 6.0-RELEASE kernel with all t= he > > +> standard modules. It also has geom_eli_load=3D"YES" in loader.conf. = I > > +> also have the following /etc/fstab in the boot media: > > +> > > +> # Device Mountpoint FStype Options Dump= Pass# > > +> /dev/ad0.elib none swap sw 0 = 0 > > +> /dev/ad0.elia / ufs rw 1 = 1 > > +> /dev/ad0.elie /tmp ufs rw 2 = 2 > > +> /dev/ad0.elif /usr ufs rw 2 = 2 > > +> /dev/ad0.elid /var ufs rw 2 = 2 > > +> > > +> I created /dev/ad0.eli via the following: > > +> > > +> geli init -b -l 256 /dev/ad0 > > +> > > +> and the partitions: > > +> > > +> bsdlabel -w /dev/ad0.eli > > +> bsdlabel -e /dev/ad0.eli > > +> > > +> However, when I boot, I can see that geom_eli is loaded, but it does > > +> not ever ask me for the password. I believe that is the point of the > > +> -b argument I supplied to the geli init command. > > +> > > +> When I boot I am greeted with the following error: > > +> > > +> Trying to mount root from ufs:/dev/ad0.elia > > +> > > +> Manual root filesystem specification: > > +> : Mount using filesystem > > +> eg. ufs:da0s1a > > +> ? List valid disk boot devices > > +> Abort manual input > > +> > > +> mountroot> > > +> > > +> Any help you could provide would be much appreciated. > > > > Which FreeBSD version are you using? There could be a race in earlier > > versions where geli stops waiting for providers before they actually > > show up. You increase debug level to 1 by adding: > > > > kern.geom.eli.debug=3D1 > > > > to the /boot/loader.conf and see when message "Tasting no more." is > > printed. > > > > This problem is fixed in 6-STABLE and will be also in 6.1-RELEASE. > > > > -- > > Pawel Jakub Dawidek http://www.wheel.pl > > pjd@FreeBSD.org http://www.FreeBSD.org > > FreeBSD committer Am I Evil? Yes, I Am! > > > > > > >