From owner-freebsd-current@freebsd.org Wed Apr 29 05:49:06 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 26BF22CF867 for ; Wed, 29 Apr 2020 05:49:06 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49BndF6Cvpz3H1N for ; Wed, 29 Apr 2020 05:49:05 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id D3A2E2CF866; Wed, 29 Apr 2020 05:49:05 +0000 (UTC) Delivered-To: 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 D35A72CF865 for ; Wed, 29 Apr 2020 05:49:05 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49BndD63Byz3H1M for ; Wed, 29 Apr 2020 05:49:04 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E62D35C034D for ; Wed, 29 Apr 2020 01:49:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 29 Apr 2020 01:49:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= to:from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=fm2; bh=rzYDhaoGeUbo3t7x5bdmhTQuG7 cNQpn3/xIuqKp1CHI=; b=TSmcbmxjO2Efzj9jx5sU0idObQIHyVC6xDjssSNqSM rb+59JfXxJzZPE8heusXWb1WJJKY536wF9E8eFd8iu8AqoeNVmYuGXV7a9sYoQtF v+m41HjFHJ9Apb5vBlFK3fzMmiN0anQSBxTJv6nkc/yLrXdfA+QDqPJ9VVJ5x/Ix RBX+ERuznk+nxEhIlyaACuPcSEGOMGW15psGCT9+Aj6MnCei1hlwagdTz805hV90 UApJAQfFxEpQzMV49v7kCLMRGTA+QbEX6U9dseWtBuPxnzselwSFMj+0tYXytku0 07x+I1/incuIJN2mvmqCXJ+lH6T/CFdEEFMOd7KnyD/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=rzYDha oGeUbo3t7x5bdmhTQuG7cNQpn3/xIuqKp1CHI=; b=O3ywAW3bV9Gt/jhcOtaa0T MvRG8uendAmC/nkWWfWLbsRBuMUlfg3WMoPwCSmRMpU6B9xpoJT3VATLnTa5/Nnj Dv33xfQL7MCUUXhLKKzqVPqyp9mwAii8+WFFS4usJY4npseKn92fVDNHhdNzLv/D H8C3ojH9EhAumhSwfi31VcNWZzDfZLIVrfMfJmEOZ28mCI9KZOMtZX95fbJhpz5b WDhyYHorAk999qthIqDgVtaw4BsgVWMXyuXypt12Cl2UdIb2lbfw4JY0S7Id/dE6 80zG42euKXLbVBvvdOrSRxyPHHYr/atI3n2/I8HXIBhulpIqmInVxn5T982H+vJQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedriedvgdeljecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepvffhuffkffgfgggtgfesthejredttd efjeenucfhrhhomhepjghurhhiucfrrghnkhhovhcuoeihphgrnhhkohhvsehfrghsthhm rghilhdrtghomheqnecukfhppeekhedrudejgedrvddtjedrvddujeenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeihphgrnhhkohhvsehfrghs thhmrghilhdrtghomh X-ME-Proxy: Received: from [192.168.1.6] (unknown [85.174.207.217]) by mail.messagingengine.com (Postfix) with ESMTPA id 98D0A3065EDD for ; Wed, 29 Apr 2020 01:49:02 -0400 (EDT) To: current@freebsd.org From: Yuri Pankov Subject: installkernel ignoring WITHOUT_DEBUG_FILES? Message-ID: <3f8e9b91-40db-d584-d488-087333813651@fastmail.com> Date: Wed, 29 Apr 2020 08:49:00 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49BndD63Byz3H1M X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm2 header.b=TSmcbmxj; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=O3ywAW3b; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 66.111.4.26 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [6.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[26.4.111.66.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(0.00)[+ip4:66.111.4.26]; FREEMAIL_FROM(0.00)[fastmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(0.00)[fastmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[217.207.174.85.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_IN_DNSWL_LOW(-0.10)[26.4.111.66.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[217.207.174.85.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; R_DKIM_ALLOW(0.00)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-0.42)[-0.416,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; MIME_TRACE(0.00)[0:+]; NEURAL_SPAM_LONG(1.00)[0.995,0]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(0.00)[ip: (-9.82), ipnet: 66.111.4.0/24(-4.89), asn: 11403(-2.69), country: US(-0.05)] X-Spam: Yes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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, 29 Apr 2020 05:49:06 -0000 I'm trying to replace the kernel on memstick image with the help of mdconfig, and installkernel runs out of space despite WITHOUT_DEBUG_FILES= added to /etc/src.conf. /usr/src$ make -V MK_DEBUG_FILES no /usr/src$ sudo rm -rf /mnt/usr/lib/debug /usr/src$ sudo make DESTDIR=/mnt installkernel -------------------------------------------------------------- >>> Install check kernel -------------------------------------------------------------- -------------------------------------------------------------- >>> Installing kernel GENERIC on Wed Apr 29 08:43:19 MSK 2020 -------------------------------------------------------------- cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC; MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= CC="cc -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX="c++ -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CPP="cpp -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" AS="as" AR="ar" LD="ld" LLVM_LINK="" NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" PATH=/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin make KERNEL=kernel install thiskernel=`sysctl -n kern.bootfile` ; if [ ! "`dirname "$thiskernel"`" -ef /mnt/boot/kernel ] ; then chflags -R noschg /mnt/boot/kernel ; rm -rf /mnt/boot/kernel ; rm -rf /mnt/usr/lib/debug/boot/kernel ; else if [ -d /mnt/boot/kernel.old ] ; then chflags -R noschg /mnt/boot/kernel.old ; rm -rf /mnt/boot/kernel.old ; fi ; mv /mnt/boot/kernel /mnt/boot/kernel.old ; if [ -n "/usr/lib/debug" -a -d /mnt/usr/lib/debug/boot/kernel ]; then rm -rf /mnt/usr/lib/debug/boot/kernel.old ; mv /mnt/usr/lib/debug/boot/kernel /mnt/usr/lib/debug/boot/kernel.old ; fi ; sysctl kern.bootfile=/mnt/boot/kernel.old/"`basename "$thiskernel"`" ; fi mkdir -p /mnt/boot/kernel install -p -m 555 -o root -g wheel kernel /mnt/boot/kernel/ mkdir -p /mnt/usr/lib/debug/boot/kernel install -p -m 555 -o root -g wheel kernel.debug /mnt/usr/lib/debug/boot/kernel/ cd /usr/src/sys/modules; MAKEOBJDIRPREFIX=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/modules KMODDIR=/boot/kernel MACHINE_CPUARCH=amd64 MACHINE=amd64 MACHINE_ARCH=amd64 MODULES_EXTRA="" WITHOUT_MODULES="" ARCH_FLAGS="" DEBUG_FLAGS="-g" __MPATH="" DESTDIR="/mnt" KERNBUILDDIR="/usr/obj/usr/src/amd64.amd64/sys/GENERIC" SYSDIR="/usr/src/sys" MODULE_TIED=yes WITH_CTF="1" KCSAN_ENABLED="yes" make install ===> aac (install) install -T release -o root -g wheel -m 555 aac.ko /mnt/boot/kernel/ install -T debug -o root -g wheel -m 555 aac.ko.debug /mnt/usr/lib/debug/boot/kernel/ ... ===> dummynet (install) install -T release -o root -g wheel -m 555 dummynet.ko /mnt/boot/kernel/ /mnt: write failed, filesystem is full install: /mnt/boot/kernel/dummynet.ko: No space left on device