From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 20:57:27 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1B0B16A408 for ; Wed, 26 Apr 2006 20:57:27 +0000 (UTC) (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 E01F443D45 for ; Wed, 26 Apr 2006 20:57:23 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2E22C52BC8; Wed, 26 Apr 2006 22:57:21 +0200 (CEST) Received: from localhost (dkb158.neoplus.adsl.tpnet.pl [83.24.5.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 997E352126; Wed, 26 Apr 2006 22:57:15 +0200 (CEST) Date: Wed, 26 Apr 2006 22:55:44 +0200 From: Pawel Jakub Dawidek To: Martin Message-ID: <20060426205544.GE17000@garage.freebsd.pl> References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ycz6tD7Th1CMF4v7" Content-Disposition: inline In-Reply-To: <444FD8AA.3040807@nurfuerspam.de> 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=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: stable@FreeBSD.org Subject: Re: geli password prompt does not work 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: Wed, 26 Apr 2006 20:57:28 -0000 --Ycz6tD7Th1CMF4v7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 26, 2006 at 10:31:38PM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +> > Could you send me the output of: +> >=20 +> > # geli dump /dev/ | head -10 +>=20 +> Metadata on /dev/ad0s2g: +> magic: GEOM::ELI +> version: 0 +> flags: 0x2 +> algo: AES +> keylen: 128 +> provsize: 6475562496 +> sectorsize: 4096 +> keys: 0x01 +> iterations: 46459 +>=20 +> > Also, please increase debug level to 1 (kern.geom.eli.debug) and send = me +> > what is printed on the console as well. +>=20 +> When it works, it looks like this: +> GEOM_ELI[1]: Using Master Key 0 for ad0s2g. +> GEOM_ELI[1]: Creating device ad0s2g.eli. +> GEOM_ELI[0]: Device ad0s2g.eli created. +> GEOM_ELI[0]: Cipher: AES +> GEOM_ELI[0]: Key length: 128 +> GEOM_ELI[0]: Crypto: software +> GEOM_ELI[1]: Thread g_eli[0] ad0s2g started. +>=20 +> I get no output while using the new kernel. I found out that +> I can scroll up and down (scroll lock), so the kernel is +> not frozen, as I thought previously. Flags field suggest that you were giving the passphrase on boot, before root file system was mounted. Is that right? Can you enter DDB, look for g_event and g_eli_worker processes PIDs in 'ps' output and send me the output of 'trace ' for both of them? You can enter debugger with ctrl+alt+del if you have DDB compiled into the kernel. Could you also put kern.geom.debugflags=3D1 and kern.geom.eli.debug=3D3 into /boot/loader.conf and send me the output as well? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Ycz6tD7Th1CMF4v7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFET95QForvXbEpPzQRApc2AJ4+vGcrgAoGOd9ETMbLV2M50mPj9ACeNDzP PP64PU7HDT9m6my7bT+RNA8= =xZCU -----END PGP SIGNATURE----- --Ycz6tD7Th1CMF4v7--