From owner-freebsd-questions@FreeBSD.ORG Sat Nov 18 19:06:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E553016A416 for ; Sat, 18 Nov 2006 19:06:52 +0000 (UTC) (envelope-from eol1@yahoo.com) Received: from web51904.mail.yahoo.com (web51904.mail.yahoo.com [206.190.48.67]) by mx1.FreeBSD.org (Postfix) with SMTP id 9BCFB43D88 for ; Sat, 18 Nov 2006 19:05:36 +0000 (GMT) (envelope-from eol1@yahoo.com) Received: (qmail 35854 invoked by uid 60001); 18 Nov 2006 19:05:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=vAHOu4BH43W4Qa1j1iFWhNScIvrfyI4fiOnxCtoc4L8ZjTdFdAroCSXGIeJoMiJZtPF6Db+LmtkFM5/WIAhRHGZRx6uLc1evbaUXfnJmdnCPs/e1yIPVd5sK8Tk5+Axk8/vVIM44AAOc++na9tZMgngyabNRB7iipLvD+no8hCs=; X-YMail-OSG: rfaHyKUVM1mgG3JIdeLwpUK0Py0Sw4ykxyH.moxm5sdtGRfhtI2zVYHf0A0e9L90CPZ6s1F9WnDtylAdFU_MK_G31xqq_ftD15YopOhWzecrhxQfIEzMEG7ygq0V8vrD0qaofDDb9LuVeS4- Received: from [198.175.253.79] by web51904.mail.yahoo.com via HTTP; Sat, 18 Nov 2006 11:05:39 PST Date: Sat, 18 Nov 2006 11:05:39 -0800 (PST) From: Peter Thoenen To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <821635.34974.qm@web51904.mail.yahoo.com> Subject: GELI + sync issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eol1@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2006 19:06:53 -0000 Hallo, Recently updated to 6.2RC1 and upon reboot GELI is now asking me for a password when it attempts to mount /dev/ad0. This is left over from an old atempt at removable fulldisk encryption that is no longer used. I can type the password wrong 3 time and then it mounts /dev/ad0 as normal. Trying to figure out how correct this. 'geli dump /dev/ad0' lists the metadata (namely the -b problem) but a 'geli kill /dev/ad0' states "Userland and kernel parts are out of sync" (I also get his prob when I attempt to mount a geli swap partition) I don't think I am actually out of sync though as uname -a gives proper output and I have gone through the src/UPDATING and FBSD Handbook building world process 3 times now. All appears to be working except this. Anybody have any pointers on how to fix and do so w/o losing my current data. Some fun outputs: #bsdlabel /dev/ad0 bsdlabel: /dev/ad0: no valid label found #geli kill -v /dev/ad0 Userland and kernel parts are out of sync. #fdisk ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 156296322 (76316 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: # # geli dump /dev/ad0 Metadata on /dev/ad0: magic: GEOM::ELI version: 0 flags: 0x2 algo: AES keylen: 256 provsize: 80026361856 sectorsize: 4096 keys: 0x01 iterations: 66523 Salt: blah Master Key: blah MD5 hash: blah