From owner-freebsd-current@freebsd.org Sat Aug 22 13:47:49 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D591A3BB86D for ; Sat, 22 Aug 2020 13:47:49 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BYfpY5K6cz4dXZ for ; Sat, 22 Aug 2020 13:47:49 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MBP.attlocal.net (unknown [IPv6:2600:1700:358a:c660:30a2:5ed0:7c41:3bda]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 8271C15BD1 for ; Sat, 22 Aug 2020 13:47:49 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: 13-CURRENT won't boot after switch to sysutils/openzfs To: freebsd-current@freebsd.org References: <20200822114934.GB40844@lordsith.net> From: Ryan Moeller Message-ID: Date: Sat, 22 Aug 2020 09:47:49 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2020 13:47:49 -0000 On 8/22/20 9:29 AM, Ryan Moeller wrote: > > On 8/22/20 7:49 AM, marco wrote: >> I'm running r364030. >> >>   [~] uname -apKU >>   FreeBSD harbinger 13.0-CURRENT FreeBSD 13.0-CURRENT #5 r364030: Tue >> Aug >>   11 07:15:59 UTC 2020 >> root@harbinger:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 >>   amd64 1300105 1300105 >> >> When switching from base ZFS to sysutils/openzfs 2020080800 the boot >> process fails. > > The most recent version (2020081800) fixes this. > > -Ryan > Sorry, pre-coffee. I don't think the issue I had in mind there (OpenZFS uses /etc/zfs/zpool.cache instead of /boot/zfs/zpool.cache, we added a fallback) explains your problem. Did you install openzfs from the pkg repo? -Ryan >> These are the steps I took: >> >> - bectl create r364030-OpenZFS >> - bectl mount r364030-OpenZFS /mnt >> - edit /mnt/boot/loader.conf to use openzfs_load="YES" instead of >> zfs_load. >> - bectl activate r364030-OpenZFS >> - bectl umount r364030-OpenZFS >> - shutdown -r now >> >> The boot process shows: >> Loader variables: >> vfs.root.mountfrom=zfs:zroot/ROOT/r364030-OpenZFS >> >> But in the end never boots and drops me to the mountroot prompt >> I've tried several options to make it boot but when I just enter (empty >> line) I get the following: >> >> panic: mountroot: unable to (re-)mount root >> >> pls see https://bsd.to/C4yL >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"