From owner-freebsd-current@freebsd.org Fri Sep 4 18:34:43 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 9BDCF3CB83B for ; Fri, 4 Sep 2020 18:34:43 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) (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 4BjmYb0cWSz4RTs; Fri, 4 Sep 2020 18:34:42 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x742.google.com with SMTP id o5so7211820qke.12; Fri, 04 Sep 2020 11:34:42 -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=f9P1ppjkcT5FCxDS58dfjUcWpUqDg8+whP09NRlF1Go=; b=N/qk+oN0f/Bf5ndmUo2puHQItIgD3qYcR/4ljbydQ8Jseh3rHJ2txWNGs4IDC7aH9m aoR7rZonOAOu5cM3JgwF1s+b5CUk0I6/EwAzWdFb4TYBWsIbLY1ESyefH0hwCkxmQX5u /PWVBMcI4Aqvj27Y8eP+Wo8IrAzjCnGOOuSpOGcJ8fITqge6/wHEy24UmfIwkAWQpydv 3YsCBhAs+UUvWC6gseTLduwWcO2IXDSn6D5/DadlT+wPot1HDPJJnKRFcDiT13CdwQ25 ljoMlExr6D6hhaqI06KxMkP0X81BgdJa18daYVVjysF1TqIj/yg9QL6+3pHRKI7P+A1P /1+Q== X-Gm-Message-State: AOAM532czkIgd/kYDrxE8UD7pv462nJD6qS0p+nBSqqEQ2mdsI/kUFSI STpDF+8VjQZB2eorGG2Zn14ug0B7ohBusQ== X-Google-Smtp-Source: ABdhPJxJYltpxrjtNhlaUrJTaYfPcwaaXJpHPBxCDrrvG0Fsa/nGf58nB4DPlEFefQ0xOb/Og+9k+g== X-Received: by 2002:a05:620a:101a:: with SMTP id z26mr9172015qkj.300.1599244481572; Fri, 04 Sep 2020 11:34:41 -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 a52sm5192204qtc.22.2020.09.04.11.34.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 11:34:40 -0700 (PDT) Sender: Mark Johnston Date: Fri, 4 Sep 2020 14:34:38 -0400 From: Mark Johnston To: Ruslan Makhmatkhanov Cc: FreeBSD Current Subject: Re: openzfs related kernel install fails (r365296) Message-ID: <20200904183438.GD10977@raichu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4BjmYb0cWSz4RTs X-Spamd-Bar: - X-Spamd-Result: default: False [-1.94 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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.01)[-1.014]; 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::742:from]; NEURAL_HAM_SHORT(-0.20)[-0.204]; 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:34:43 -0000 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? Index: sys/modules/zfs/Makefile =================================================================== --- sys/modules/zfs/Makefile (revision 365318) +++ sys/modules/zfs/Makefile (working copy) @@ -44,8 +44,6 @@ CFLAGS+= -DDEBUG_VFS_LOCKS CFLAGS+= -fprofile-arcs -ftest-coverage .endif -DEBUG_FLAGS=-g - .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \ ${MACHINE_ARCH} == "powerpcspe" || ${MACHINE_ARCH} == "arm" CFLAGS+= -DBITS_PER_LONG=32