From owner-freebsd-questions@freebsd.org Thu Mar 23 21:07:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C393D192D9 for ; Thu, 23 Mar 2017 21:07:27 +0000 (UTC) (envelope-from zhaghzhagh@openmailbox.org) Received: from mail.openmailbox.org (lb1.openmailbox.org [5.79.108.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC0A31B39 for ; Thu, 23 Mar 2017 21:07:26 +0000 (UTC) (envelope-from zhaghzhagh@openmailbox.org) Received: by mail.openmailbox.org (Postfix, from userid 20002) id B8B69514741; Thu, 23 Mar 2017 22:07:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1490303237; bh=opIznRIsx7ajrP6x1dayfJQOKbFPehdlUdW7PmFn4PE=; h=Date:From:To:Subject:From; b=A+5D1sVYf0eYqq82tpVWD8eNM5JNl+KfsfZaGyrh80LrrtySgtsn3Jh0+RLNWjtY5 z1tt7TxGw1sOhn5KzjnpnxbxvNwu5gbXrvlt/rMV3Ftr1N55lnap41r6ttV6rd8UGE A3TPP+/ErFY2iJv8CCI5+B11q1+amojyJALppXVw= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from www.openmailbox.org (unknown [10.0.0.3]) by mail.openmailbox.org (Postfix) with ESMTP id 21E86512FA5 for ; Thu, 23 Mar 2017 22:07:16 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 23 Mar 2017 21:07:16 +0000 From: zhaghzhagh@openmailbox.org To: freebsd-questions@freebsd.org Subject: 10.2 to 10.3 upgrade: Mounting from ufs:/dev/ada0p3.eli failed with error 19. Message-ID: X-Sender: zhaghzhagh@openmailbox.org User-Agent: Roundcube Webmail/1.0.6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2017 21:07:27 -0000 Hello While upgrading my root file-system encrypted FreeBSD 10.2 I ended up with a system not being able to boot. The error message is: ... Mounting from ufs:/dev/ada0p3.eli failed with error 19. ... Earlier in the boot process: ... /boot/kernel/kernel text=0xf7a155 data=0xdb810+0x160f88 syms=[0x4+0xd7fd0+0x4+0x15f114] /boot/kernel/geom_eli.ko text=0x107cc data=0x4d8+0x134 syms=[0x4+0x1260+0x4+0x16c1] /loading required module 'crypto' /boot/kernel/crypto.ko text=0x20354 data=0x824+0x248 syms=[0x4+0x1ba0+0x4+0x21fc] loading required module 'kernel' ---> module 'kernel' exists but with wrong version Booting... Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. ---> FreeBSD 10.2-RELEASE-p18 #0: Sat May 28 07:06:45 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GEMERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 XEN: Hypervisor version 3.4 detected. ... I recall while setting up full disk encryption, I created a tiny unencrypted partition for the kernel files, plus there was some tweaking with symbolic links between the encrypted and the unencrypted partition. (Unfortunately my notes about this are on the unbootable host. I clearly remember there was a '/unenc/' directory and some files in it, however it was long ago to remember all details...) What could be the issue? And how could it be fixed? The 10.2 to 10.3 upgrade went through, only after the 2nd restart it stopped booting. (Strangely I did earlier an upgrade from 10.1 to 10.2 with the same setup, and it worked perfectly.) My 2nd guess is that in the middle of the upgrade the nightly periodic job was triggered that might have fetched again 10.2 kernel files. (?) Thanks in advance for any help!