From nobody Wed Nov 17 11:48:29 2021 X-Original-To: dev-commits-src-all@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 88A6518A343B; Wed, 17 Nov 2021 11:48:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.blih.net [212.83.155.74]) (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 (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HvLmR6d4Bz4s13; Wed, 17 Nov 2021 11:48:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1637149712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6CC8qTUN2zEc0Z4uMrYk5nhgKsJ2d15kG2nhybNpCjE=; b=jKzE9tnP+SEjqx5eAvzy5np8F41grDP90JZ9Gjy59Xa+q8V2nGpbn5njoTYdzfgXXGOOP4 NF/vi/5EQ70qXcgA6Eo7SS8aYRl3iDGpUu52Wi/BQH9NdBJMsivEl7kGvHdy5B0E5ihWV5 AGRze3o2V6i3yKAFUxuqqzq3cPghHYM= Received: from skull.home.blih.net (lfbn-idf2-1-1163-183.w90-92.abo.wanadoo.fr [90.92.222.183]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 4d67f845 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 17 Nov 2021 11:48:32 +0000 (UTC) Date: Wed, 17 Nov 2021 12:48:29 +0100 From: Emmanuel Vadot To: Tom Jones Cc: Marcin Wojtas , Martin Matuska , src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: dae1713419a6 - main - zfs: merge openzfs/zfs@269b5dadc (master) into main Message-Id: <20211117124829.8b80d2d0dd308b940b1dd481@bidouilliste.com> In-Reply-To: <20211117114318.GC17668@tom-desk.erg.abdn.ac.uk> References: <202111170909.1AH9958u053602@gitrepo.freebsd.org> <20211117114318.GC17668@tom-desk.erg.abdn.ac.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4HvLmR6d4Bz4s13 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 17 Nov 2021 11:43:18 +0000 Tom Jones wrote: > On Wed, Nov 17, 2021 at 10:24:11AM +0100, Marcin Wojtas wrote: > > Hi, > >=20 > > Thank you for the update. > >=20 > > ?r., 17 lis 2021 o 10:09 Martin Matuska napisa?(a): > > > > > > The branch main has been updated by mm: > > > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddae1713419a669d4f6c7ac= ddf81a21297c809741 > > > > > > commit dae1713419a669d4f6c7acddf81a21297c809741 > > > Merge: b6cbbcae40b4 269b5dadcfd1 > > > Author: Martin Matuska > > > AuthorDate: 2021-11-17 08:35:14 +0000 > > > Commit: Martin Matuska > > > CommitDate: 2021-11-17 08:39:40 +0000 > > > > > > zfs: merge openzfs/zfs@269b5dadc (master) into main > > > > > > Notable upstream pull request merges: > > > #12285 Introduce a tunable to exclude special class buffers fro= m L2ARC > > > #12689 Check l2cache vdevs pending list inside the vdev_inuse() > > > #12735 Enable edonr in FreeBSD > > > #12743 FreeBSD: fix world build after de198f2 > > > #12745 Restore dirty dnode detection logic > > > > > > Obtained from: OpenZFS > > > OpenZFS commit: 269b5dadcfd1d5732cf763dddcd46009a332eae4 > > > > >=20 > > I have one question to make sure about the guidelines for future. I've > > been using ZFS on my arm64 machine for a while (a HEAD snapshot from > > ~July + custom newer kernels for development) - after trying the > > vanilla kernel after Nov 10 OpenZFS update I could no longer access > > the root partition (even after returning back to the kernel that had > > previously worked). > >=20 > > I repeated the same thing with Nov 4 snapshot: > > - Install system with ZFS > > - Try kernel binary with updated OpenZFS - lose access to root partitio= n. > >=20 > > Is such behavior expected? If yes, is it recommended for the ZFS case > > to use kernel and the world only from the same baseline? > >=20 > > Best regards, > > Marcin >=20 > I don't know if this is related, but I just updated from the 4th > November snapshot to this commit and my zfs on root box can't mount > root. >=20 > Annoyingly I haven't time to debug right now. >=20 > - Tom I had this problem recently and didn't had much time to debug but what I know is that it's related to recent addition of counter which adds some SYSINIT. I think that something in the zfs code isn't setup properly wrt order and breaks sometimes when SYSINIT are re-arranged by a new compile. To confirm this just remove a few drivers from GENERIC that you don't use (I've removed stuff like nfs* which adds a lot of SYSINITs) and boot with debug.verbose_sysinit=3D1 to compare with a working kernel. Also on my side typing '?' at mountroot listed the zfs pool so if it's the same for you that might be the same problem as mine (of course selecting the pool at mountroot didn't worked). Cheers, --=20 Emmanuel Vadot