From owner-freebsd-current@freebsd.org Fri Sep 4 18:55:34 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 A56C73CC907 for ; Fri, 4 Sep 2020 18:55:34 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bjn1f0nrzz4Swy; Fri, 4 Sep 2020 18:55:33 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qv1-xf41.google.com with SMTP id cy2so3556359qvb.0; Fri, 04 Sep 2020 11:55:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=5S0IJ542HYE/CR6VgMJkG3WXYEBbx2yED6nIbfqIi6M=; b=eTS3/ydoFGGmKp4wLe4bNhc05nBRgvBlcGICMafs0wF915MkvGdUTV7oF8H8oVmXhE jNWmRo61LF5k127cJO+UiC5PU3n9My7V2KLfLNjts5uu5Clu130f+bAoQDUShhAVK+fF yV2SpZnyNsOEVN/Byk8FQzyCA9hjo26RvJ3nePInKGB8azEWEkRNIH/qw6LAadDE3MXo cZX4+bOoIhGqpHeJV9bLvIpe7CS5BOqBjX47MVLvfE4liIfX1yEVzzV735F8RJ8gQ4Ju NuseIUhMSEHTWmgBbSmRAXjFDxxGb2HMufe2/WIy4sqOyDEr9Oq1sF0/ENMHZ767BbzY 0g/w== X-Gm-Message-State: AOAM5328lM9MwthNeOx0NaSila3hGXyKLmO60EPVi8+UJRVfX0HTvTbz 2Twlx3rnsfqSOC05ZasaIu2KgiJFV2z9Tg== X-Google-Smtp-Source: ABdhPJxeK/ik8Bh77jUz8+sbcga6T/wsJYnzk3cs/9a2f3QC91ApAKLOIPRTOkZB4R8p+0mBTAxzXg== X-Received: by 2002:ad4:5101:: with SMTP id g1mr9316433qvp.104.1599245733198; Fri, 04 Sep 2020 11:55:33 -0700 (PDT) Received: from raichu (toroon0560w-lp130-08-67-71-176-35.dsl.bell.ca. [67.71.176.35]) by smtp.gmail.com with ESMTPSA id m26sm5161735qtc.83.2020.09.04.11.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 11:55:32 -0700 (PDT) Sender: Mark Johnston Date: Fri, 4 Sep 2020 14:55:30 -0400 From: Mark Johnston To: Ruslan Makhmatkhanov Cc: FreeBSD Current Subject: Re: openzfs related kernel install fails (r365296) Message-ID: <20200904185530.GE10977@raichu> References: <20200904183438.GD10977@raichu> <8139c15f-41b2-cf8f-d401-46783b47abfe@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8139c15f-41b2-cf8f-d401-46783b47abfe@FreeBSD.org> X-Rspamd-Queue-Id: 4Bjn1f0nrzz4Swy X-Spamd-Bar: - X-Spamd-Result: default: False [-1.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.02)[-1.021]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.02)[-1.017]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f41:from]; NEURAL_HAM_SHORT(-0.20)[-0.203]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Fri, 04 Sep 2020 18:55:34 -0000 On Fri, Sep 04, 2020 at 09:41:56PM +0300, Ruslan Makhmatkhanov wrote: > Mark Johnston wrote on 9/4/20 9:34 PM: > > On Fri, Sep 04, 2020 at 09:27:54PM +0300, Ruslan Makhmatkhanov wrote: > >> Hello, > >> > >> tried to make world and kernel from r365296. Kernel fails at install > >> stage in zfs module: > >> > >> ===> zfs (install) > >> install -T release -o root -g wheel -m 555 zfs.ko /boot/kernel/ > >> install -T dbg -o root -g wheel -m 555 zfs.ko.debug > >> /usr/lib/debug/boot/kernel/ > >> install: /usr/lib/debug/boot/kernel/: No such file or directory > >> *** Error code 71 > >> > >> Stop. > >> make[4]: stopped in /mnt/hdd/src/sys/modules/zfs > >> *** Error code 1 > >> *** Error code 1 > >> > >> Stop. > >> make[2]: stopped in /mnt/hdd/obj/mnt/hdd/src/amd64.amd64/sys/Z1 > >> *** Error code 1 > >> > >> Stop. > >> make[1]: stopped in /mnt/hdd/src > >> > >> > >> It seems `nomakeoptions DEBUG' in my kernel configuration is culprit. > >> Worked fine before. Is there options to fix that besides enabling DEBUG? > > > > The zfs.ko Makefile unconditionally enables creation of a debug file. > > Could you verify that the problem is gone with this patch? > > > This patch indeed fixes the install. Thank you! Committed in r365336, thanks.