From owner-freebsd-current@freebsd.org Wed Dec 16 15:31:02 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 5BA734BFC18 for ; Wed, 16 Dec 2020 15:31:02 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4Cwzc61lJYz3JmN for ; Wed, 16 Dec 2020 15:31:02 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MBP.attlocal.net (unknown [IPv6:2600:1700:358a:c660:2028:287e:7c44:75c1]) (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 16F329D08 for ; Wed, 16 Dec 2020 15:31:02 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: (239489) buildkernel fails if PORTS_MODULES= includes openzfs-kmod To: freebsd-current@freebsd.org References: <7fe2fe36-a342-e863-a63e-47f6890f8220@gmail.com> From: Ryan Moeller Message-ID: Date: Wed, 16 Dec 2020 10:31:01 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Wed, 16 Dec 2020 15:31:02 -0000 On 12/13/20 12:25 PM, John Kennedy wrote: > On Sun, Dec 13, 2020 at 08:19:30AM +0000, Graham Perrin wrote: >> Please: is there some way to include openzfs-kmod at buildkernel time? Not that I'm aware of, but you can write a script to build your system the way you like it and then build the kmod, clone a BE, etc, so you don't forget anything. >> To work around >> I habitually >> remove openzfs-kmod from /etc/src.conf _and_ modify /boot/loader.conf >> before performing the build: >> >> zfs_load="YES" >> openzfs_load="NO" > Isn't openzfs-kmod on 13-CURRENT more or less moot since r36474, the OpenZFS > merge, ~2020/8/25? That ticket was opened on 2019/7/28, pre-merge. The port tracks the openzfs/zfs master branch while the base system tracks the zfs-2.0-release branch. However, that is planned to switch to master once base makes the transition to git. > Now, I still see recent updates on openzfs-kmod port so the question might > still be relevant for non-13 or if you're just using the port for reasons or > anywhere older than 13 (12.2, etc). If the newer features in master (eg draid) aren't needed, the base zfs is at least less likely to break from kernel changes that haven't been coordinated well with the openzfs upstream and the port, which does happen from time to time. -Ryan