From owner-freebsd-questions@freebsd.org Sun Aug 5 10:02:10 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6142107153C for ; Sun, 5 Aug 2018 10:02:09 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F7AD89C36 for ; Sun, 5 Aug 2018 10:02:09 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (156-102-000-128.ip-addr.inexio.net [128.0.102.156]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 79DE8E546 for ; Sun, 5 Aug 2018 12:02:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1533463327; bh=i6G9rj+4x2LqoNOpEKHCUsbEq9y94MBhqiJAw864crI=; h=Subject:To:References:From:Date:In-Reply-To; b=kw5HZU7uOqNb2hiPbHBIGuF21MmNl/CbEgG+PickY7mqjgFGaUfuz+xsEUpxmoh79 CuclYzF0Ltj96i7pWt3WkjJpia8W+6Qts8DxpdUPRsuT9AJQfafvx78jijm+eOFEv9 4ya5+eo/sIzTDw5VgJa4ejs+yQXCUBBf9MM0Mryk= Received: from [192.168.0.151] (156-102-000-128.ip-addr.inexio.net [128.0.102.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 87A587636D for ; Sun, 5 Aug 2018 12:02:05 +0200 (CEST) Subject: Re: 11.2 cannot boot with root on ZFS To: freebsd-questions@freebsd.org References: From: Matthias Fechner Openpgp: preference=signencrypt Autocrypt: addr=idefix@fechner.net; prefer-encrypt=mutual; keydata= xsFNBFqca1YBEADM9mF2+ifk8HILTlf5wtAzV6SYVR4RvNOo/8Kucw4sCZT76zS1fjZe4Zy1 3C0IZ07Wi+3PnoGIgOCsXp3PrTc2nuHQWkwVBYXy8UaR9DHBWA/mIvRGG1ZscKQYA6oUdCvd K8Mu26zO60yTt+ONzFtK6G1myH4EHXZ8dpmdCFf+W3rzTU+aCQ5S3OfwCLGgYgOaVREGkdOc 5SVCpFb4n+2B8+CqeWsRHhnT+4h7/YhgDMGp4GiI3yrB2nBVSUUvcosD2nRtJQgGQHcAFtMq 3hJaKPOR/mHc6KVrp0xmGNmdtazvXloHmGIl9O1UpmMmrYu9Kugl0JkGi2fAcno02XgVlkyX 7xDLTteP5cNqRxor4yVDaRWUQnOfK9XgcrKGrAzb65BkCSkjT+Aw3S/A8Qd6NvjL9qy1d+Ct dzatOVF/Y7jaW28CMr3jvwPS13OxV7PnJzIZzdik20eVxfOXuYfxZD+PwBaGgFF0qj6zKACC aKLalE0ZpY0zNn/iPyQX/Cf9KoDyFpOHSsEswiJ5rCWwppVcsFyogHOemVmeaXlvyDPEipnV ZUkpGP/CCqPu3eD0uDzP7UJ0pt/l/JfW0Xw/4p9mjB024xiRlxLa6vSRfGl//EdtAIbKKa8x 5wsKTQEbYJDmXE3tH/A54DCqRXhcopTlu2iJlTdnIMltn9afVwARAQABzSVNYXR0aGlhcyBG ZWNobmVyIDxpZGVmaXhAZmVjaG5lci5uZXQ+wsGXBBMBCgBBAhsDBQkJZgGABQsJCAcDBRUK CQgLBRYDAgEAAh4BAheAFiEEaWB64mCp804YOtqutot13J/XR+EFAlqcc9gCGQEACgkQtot1 3J/XR+GQyhAAwDxUSg7X2aS1d6rrYUZdDk8rT5TCjayDAyOATdAUhJRZk8qXRNF27Mu6xiOT mIvEMKLagNsitffZs1g/mulRQiDVLloGav7xozSfYlaOYW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IdBuCckGM4rWXkLYbqhdSzdWeCsC0tiQk8x7 O1zXRJOKF4rITJd/qX322EH29BR+T9V1Hw7LDSRe+3YxtoXhROZRXjF8QniEHeKVNRUComr6 rWGmuHjsNTQ7twtwnG8xSOfCkYAp9GrbzBkIYX+VFvFQLqVM+It3RAlge/bwpZPvkr3bFsJk 4JS+EAugBIrP0xd9BMOh6Ej5ABEBAAHCwXwEGAEKACYWIQRpYHriYKnzThg62q62i3Xcn9dH 4QUCWpxrVgIbDAUJCWYBgAAKCRC2i3Xcn9dH4ZZsEACoQI109htphVe2AQhJ7wuPo8pIrSFA 0Mb0pfibX/sYw8ZZz/x3ctTI3Ajq2baSaoebIuUyd6oPI7cAzgL4s2zHiZ3ChH2dDxJlOPfk OaiK124DJMPqWiWuxe39tgq23tsPhwcvF+DC+SkJoLWKCYNC06fS3bLktZ0s4lVE5tqfL5ww MvxgxB+6+sWHwZWSv1IwB/geov6zkEhVdkXqrGPE52LyLfU0ACMmihcl0/npsCMZSls0urge CsPMuHPQnmcM2ERbere8i9OdKQDzGBrTbWl9DxNRf4o+cAYirEJM3Kc+ZD2SE34bTSvg3kdQ QZQbj+o+BRcsR0LaGbORkNaMZlp5OuXteL6nG7sbAPn0bjUUlup8CJEXDXENG6LJG1/oVWFq m3OtPyr5UoMQAuhuGx0/Om6AXKr/mk+veuoKWMXkqll045/bYE7bX2A0gkyGE5DdjaiHPmS9 NsWuKDeExLlXZOL1GX+PKjWLADwlv07XHB8Hf6U0/lpf3/mggRtqHyKbHt0iRqYaMC95gVdM rbugxh61U/zxIaweU7VolD5cRrltxqPp5szOwDzw42JYwbpYsXFJXNkuCGCmK1LHcShfEggt fV3g/JKzvNRQn6p1f0frppl/eZ5UvWVKrNERJzcZgkOecxwiK/L/JoGpGfWOqWGsTxe/AnQc Xxj8Dw== Message-ID: <7415d752-21ab-a397-f90b-afe9945b2585@fechner.net> Date: Sun, 5 Aug 2018 12:01:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2018 10:02:10 -0000 Hi Kyle, sry that it took longer, but I had a harddisk failure and it took some time to resilver the pool to a new disc. Am 16.07.2018 um 19:45 schrieb Kyle Evans: > To be clear- the kernel can't find the zfs pool, or one of the earlier > stages? Giving the pool manually meaning at a mountroot prompt, or > somewhere else? I'm not sure what the problem is. If I update the kernel from 11.1 to 11.2 with freebsd-update and reboot, it could be a kernel panic with an immediate reboot. It is that fast, that it is impossible to see anything on the screen, so I cannot give you a clear error message for this. If I try then to boot the old kernel in the bootloader with: unload load /boot/kernel.working/kernel it is not able to mount the zroot pool. To fix this, I need to boot mfsbsd from an USB stick and do: zpool import -o altroot=3D/mnt zroot cd /mnt tar xjvf boot_111_working.tar.bz2 cd / zpool export zroot reboot > This is for specifically for aarch64, but you've not specifically > mentioned it- you're on aarch64, right? you are right, I'm on a normal amd64 platform. > I think we'll need a little more information about where and > specifically how it's failing for you to determine that. Others have > reported successful upgrades from 11.1 to 11.2 with root-on-ZFS > setups. is it maybe the way the disc are partitioned? I have an empty EFI partition on the harddisk (to have later space for EF= I): gpart show ada0 =3D>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 40=C2=A0 5860533088=C2=A0 = ada0=C2=A0 GPT=C2=A0 (2.7T) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 40=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 262144=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=A0 efi=C2=A0 (128M) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 262184=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 512=C2=A0=C2=A0=C2=A0=C2=A0 2=C2=A0 freebsd-boot=C2=A0 (256K= ) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 262696=C2=A0 5860270424=C2=A0=C2=A0=C2=A0=C2= =A0 3=C2=A0 freebsd-zfs=C2=A0 (2.7T) =C2=A0 5860533120=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 8=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - free -=C2=A0 (4.0K) The bootloader is correctly installed using: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0 Gru=C3=9F Matthias --=20 "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook