Date: Wed, 26 Apr 2006 22:55:44 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Martin <nakal@nurfuerspam.de> Cc: stable@FreeBSD.org Subject: Re: geli password prompt does not work Message-ID: <20060426205544.GE17000@garage.freebsd.pl> In-Reply-To: <444FD8AA.3040807@nurfuerspam.de> References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Apr 26, 2006 at 10:31:38PM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +> > Could you send me the output of: +> > +> > # geli dump /dev/<foo> | head -10 +> +> Metadata on /dev/ad0s2g: +> magic: GEOM::ELI +> version: 0 +> flags: 0x2 +> algo: AES +> keylen: 128 +> provsize: 6475562496 +> sectorsize: 4096 +> keys: 0x01 +> iterations: 46459 +> +> > Also, please increase debug level to 1 (kern.geom.eli.debug) and send me +> > what is printed on the console as well. +> +> 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. +> +> 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 <pid>' 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=1 and kern.geom.eli.debug=3 into /boot/loader.conf and send me the output as well? -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFET95QForvXbEpPzQRApc2AJ4+vGcrgAoGOd9ETMbLV2M50mPj9ACeNDzP PP64PU7HDT9m6my7bT+RNA8= =xZCU -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060426205544.GE17000>
