From nobody Mon Apr 11 21:50:05 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D9B1111CE30D for ; Mon, 11 Apr 2022 21:50:24 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KcjFq4GyPz3ttL for ; Mon, 11 Apr 2022 21:50:22 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-31-137.area1b.commufa.jp [123.1.31.137]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 23BLo5i7095619; Tue, 12 Apr 2022 06:50:06 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 12 Apr 2022 06:50:05 +0900 From: Tomoaki AOKI To: Ronald Klop , Dennis Clarke Cc: freebsd-current@freebsd.org Subject: Re: main-n254654-d4e8207317c results in "no pools available to import" Message-Id: <20220412065005.235e5327a18cef8a49f43c8f@dec.sakura.ne.jp> In-Reply-To: References: <778a795c-5413-9c79-5312-e34dd6bb29c1@blastwave.org> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KcjFq4GyPz3ttL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [0.40 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sakura.ne.jp]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-current]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[123.1.31.137:received] X-ThisMailContainsUnwantedMimeParts: N On Mon, 11 Apr 2022 20:18:48 +0200 Ronald Klop wrote: > On 4/11/22 17:17, Dennis Clarke wrote: > > > > Did the usual git pull origin main and buildworld/buildkernel but after installkernel the machine will not boot. > > > > The rev seems to be main-n254654-d4e8207317c. > > > > I can boot single user mode and get a command prompt but nothing past > > that. Is there something borked in ZFS in CURRENT ? > > > > > > > > > Up until now you are the only one with this error on the mailinglist today. So I doubt something is borked. > You could consider to share more details about your setup to help people to think along with you. > > Regards, > Ronald. > I have main at git c79331a42c308139828c1117f49224bb83617a53 booting fine, and no commits relatd with ZFS exists within git d4e8207317c. So the info at which commit was running before update would be needed. I've encountered the situation like that, but it was far before OpenZFS was introduced into base. If it's the same issue, /sbin/zfs SHALL be updated in conjunction with kernel. *ATM, interface between kernel (or zfs.ko) and /sbin/zfs was changed. If you can boot with any emergency environment (memstick or another installation) and import now-non-bootable pool with e.g. `zpool import -R /mnt -f ZPOOL`, `cp /mnt/usr/obj/usr/src/[your.arch]/cddl/sbin/zfs/zfs /mnt/sbin/` then exporting the pool would be worth trying. Beware! If other updated components are mandatory for /sbin/zfs, the above procedure is not at all enough. But would crash before actually the pool is imported. -- Tomoaki AOKI