From nobody Tue Jul 4 17:23:37 2023 X-Original-To: ports-bugs@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 4QwV4n5LBMz4l5F8 for ; Tue, 4 Jul 2023 17:23:37 +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 4QwV4n1NkNz3jnL for ; Tue, 4 Jul 2023 17:23:37 +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=1688491417; 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; bh=HRAiIJKqoC2OUzzn0MflDa0n+9d9L8xwJMiUeU6C4M0=; b=HJj3N56a8Y9YoscEFh/in/2XtgN/0NWQujrQvbHMsSOBGUllg82B1+w2KbJ+KE5t/Qad8R JBEF7+adpGSXQDivUMNznincJ+mbH4slMD4kk5mWvxPayUEi9n68YPjXT/wBk9fKOi2rnM CLm5qAj8Jx3G7p2ShvaTtd9r5u2sfY+r/HD9/3AZN40xhZsutbH/PHnN7vTYDvpIEEb+Pv PlrTch2I200WRCm0rUK00tv7Cvvd00R1TkkFg47+t/+tA9L0YlXJb3EJHLDx8ICitHcANf dOP+MJIU5MvftOlCLZ4DNv6TPOaYF4iQv8ZSX5wyiVXBCGo0QJGqmoyy0hf7rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688491417; a=rsa-sha256; cv=none; b=CPD3m/bhivmM46R7Uu2mgKL1dvye+KPhBgS1YdWO+McbZF8Itk953+rBE3z2ezar1dmIWL uplcPhNpR45BZlivOtW5BhxDaVFS8CvsMO+F6LFBpzSnpipPyQjE5Z0YntaKiDnb/NQ5q0 fn5NYwaCt2G2qk/QLvodjTlZ0SLuFvO6RphhR4oHBJU7TDN37i/PRuvghRSlxi/BkQmYBB 218PS0QstD9Om4RfZuKoaSmujs/on7vd5R6cMR0Ej/68FKr30KJdIegujLp95yfA4psErP dUPvs5wJUcZnvBKehKdKZ57pkMoQn2GWo/+iRNUZ0wB6ylfnSa97adEcKqTKGw== 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 4QwV4n0Rsnzh32 for ; Tue, 4 Jul 2023 17:23:37 +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 364HNbRE085036 for ; Tue, 4 Jul 2023 17:23:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 364HNblj085035 for ports-bugs@FreeBSD.org; Tue, 4 Jul 2023 17:23:37 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: ports-bugs@FreeBSD.org Subject: [Bug 272365] sysutils/openzfs & sysutils/openzfs-kmod do not boot Date: Tue, 04 Jul 2023 17:23:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.hmich@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freqlabs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272365 Bug ID: 272365 Summary: sysutils/openzfs & sysutils/openzfs-kmod do not boot Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freqlabs@FreeBSD.org Reporter: michael.hmich@gmail.com Flags: maintainer-feedback?(freqlabs@FreeBSD.org) Assignee: freqlabs@FreeBSD.org since the kmod port does not compile I pulled from openzfs github which compiles well and works with stock zfs.ko, I think that is because the vers= ion number is newer=20 it does not really boot with openzfs_load=3DYES as instructed, the kernel is found and booted, but stops at mountroot trying to boot from zroot/ROOT/default, and stops then because there is no suitable filesystem, even if it just booted the kernel from zroot, in other words, we are on zro= ot but it says it can not find zroot ... if PATH is also corrected to give search preference to sbin, openzfs works = like expected, but that is far from being enough, also setting the path in earli= er relevant scripts, it does not work the problem at this point, at least for me, verbose_boot does not help and failing at mounting root there are no other options as typing a valid boot device=20 bectl is not a solution for this case, we're using just another kmod and th= at's all when you look into rc.d at zfs, zpool, zvol and zfsbe they have all the same limitation, they expect required_modules=3D"zfs", not openzfs at this point normally is endpoint, there's not so much to do but guessing I created openzfs scripts as openzfs, openzpool, openzfsbe including not on= ly the search path corrected but also added a fullpath prefix as DIR=3D"/usr/local/sbin" to be sure that the openzfs binaries will be used accordingly, each script is working correctly integrated with the others wh= en needed, adding openzfs_enable var to rc.conf, means I can easily switch bet= ween zfs and openzfs zfsd I've ignored so far, because I don't need it but, unfortunately it is still hanging at mounting root and I'm back at the beginning please don't ask why I want to use openzfs, then I must answer why it is th= ere? but seriously, I have some zpools running on linux and after last zfs upgra= de I answered without thinking yes to upgrade the pools, since then I have no ac= cess from Freebsd workstations any more because of two new feature=20=20 completing my box FreeBSD hm-fbsd 13.2-STABLE FreeBSD 13.2-STABLE #0 stable/13-a86b5f4f06-dir= ty: Mon Jul 3 18:13:27 -03 2023=20=20=20=20 root@hm-fbsd:/usr/obj/usr/src/amd64.amd64/sys/HMichZ amd64 hm@hm-fbsd:~ % which zfs /usr/local/sbin/zfs hm@hm-fbsd:~ % zfs -V zfs-2.2.99-1 zfs-kmod-2.1.12-FreeBSD_g86783d7d9 so now what can I do? I might not have enough knowledge of the little secrets,if somebody know, please tell me what to do the problem is not only openzfs ports, but pkg also, both give the same description and that is uncomplete if not wrong, but who knows I'm just bli= nd or too stupid :)=20 thanks in advance --=20 You are receiving this mail because: You are the assignee for the bug.=