From nobody Mon May 08 03:04:33 2023 X-Original-To: fs@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 4QF5jt5MG3z49CVl for ; Mon, 8 May 2023 03:04:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QF5jt4Kvkz4Dfj for ; Mon, 8 May 2023 03:04:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683515074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ogs0s4EltjzZbxwjEF4k9fFderg3adt9mg4xOjXSUGQ=; b=kiJZ2ol1lK63MVZyJCjvGgNipDBMl8NGEp22nUXbBhf7YPXOiBjhl8my9wbkxUQD6UikhL Ybtzfzit9Dg7dmmFBr07SV40BD5GfhqgCbG3KdqEFpoDuowN/OkWpXXNkBIoftbrEUd6sE 5A7nmYw72ZxhrZYE/OZN3/rCHx3QA8viT2ad0DME2x22VUutKWx3lO0jh3OqyKnYe1qItM RsMrsQ/EMELPOTsMgpOIWxPDxwxnCMsKRoaaMJgtyCeUAQu0+akR/8uwWk/BTIkuCki0dg fgKJx4Ddt4/UFBEAXSDwyGSKmMTusx3msu7Cbtz7Tpp+SOQ/gR0aSh8Bga+RcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683515074; a=rsa-sha256; cv=none; b=hrvbLH2iTBnchH1Tw53s2w/NYdUvpb0zGjax+5nCOiZFbIKAU0EWAmqPfZJSo8fNqfevJq HgaWf/ClyktN43sJb+efImvLUbpSxpMGA0rQ9ITAa84S6vVse9E/b7K/DDTvoHvvcYvbis 7L6JwUTRvvE7YiHPZnxJcB/PR0Nn0w4FcZe9WITG3hn2aSso/JOcnk3dosprcWnjOC/tB8 t/Iz5BE3KZiPP/mC+34OafXVjEg+r7xNI6tEVPlhvsmN6h/Yt6GrLF4F8mNY1Pvyr0AwVr GfQqDgi74HpkFQCzYgGoGKlBKA+HczPNb6KXiZa1TfCJ04KDsM8wNKOU6LPkKA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QF5jt3R4dzkRW for ; Mon, 8 May 2023 03:04:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34834Ytg068087 for ; Mon, 8 May 2023 03:04:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34834Yrm068086 for fs@FreeBSD.org; Mon, 8 May 2023 03:04:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 271292] kernel panic while dd'ing a USB disk to a ZFS directory Date: Mon, 08 May 2023 03:04:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271292 --- Comment #17 from Mark Millard --- (In reply to dgilbert from comment #15) Looking at the zfs source it appears that ( in openzfs/module/zcommon/zfeature_common.c ) the following means that, sort of special code changed like the temporary sysctl for block cloning, FreeBSD gets all features as soon as they are imported: static boolean_t zfs_mod_supported_feature(const char *name, const struct zfs_mod_supported_features *sfeatures) { /* * The zfs module spa_feature_table[], whether in-kernel or in * libzpool, always supports all the features. libzfs needs to * query the running module, via sysfs, to determine which * features are supported. * * The equivalent _can_ be done on FreeBSD by way of the sysctl * tree, but this has not been done yet. Therefore, we return * that all features are supported. */ #if defined(_KERNEL) || defined(LIB_ZPOOL_BUILD) || defined(__FreeBSD__) (void) name, (void) sfeatures; return (B_TRUE); #else return (zfs_mod_supported(ZFS_SYSFS_POOL_FEATURES, name, sfeatures)= ); #endif } This means I'm confused about how/why edonr's status has long been not listed in the likes of the openzfs-2.*-freebsd files, but is listed for the openzfs-2.*-linux files: # diff /usr/share/zfs/compatibility.d/openzfs-2.1-* 1c1 < # Features supported by OpenZFS 2.1 on FreeBSD --- > # Features supported by OpenZFS 2.1 on Linux 9a10 > edonr amd64_ZFS amd64 1400088 1400088 # diff /usr/share/zfs/compatibility.d/openzfs-2.0-* 1c1 < # Features supported by OpenZFS 2.0 on FreeBSD --- > # Features supported by OpenZFS 2.0 on Linux 8a9 > edonr Despite edonr in those files, it looks to me like: zilsaxattr "active" head_errlog "active" have been handled in main's kernel well before your Feb-13 time frame. But that still leaves: block_cloning "active" So, if I understand right, you would end up with just Read-Only status for the pool for a kernel from around Feb-13. I've not investigated the loader for back then but I'd expect that using a more modern loader would deal with any issue there (if it even is a boot pool). --=20 You are receiving this mail because: You are the assignee for the bug.=