From nobody Mon Jul 26 06:19:41 2021 X-Original-To: current@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 2B097127B036 for ; Mon, 26 Jul 2021 06:19:45 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 4GY8sX1SJGz4vq3 for ; Mon, 26 Jul 2021 06:19:44 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-ej1-x632.google.com with SMTP id o5so14832845ejy.2 for ; Sun, 25 Jul 2021 23:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=a5vX8gBmnnic5UNWxw1jVpXm3AHKRfRAvnIGLKq3V6c=; b=mK0BbuIgBcwT9I4HhmcWx8fAbwi09YCoG1EwRUswzfViYAo6ZPQg0G7J+okKHuxmWa ojFXtwKps8E0A+1t6Hpyqkt8vGorpWWjL/GkRJAnTbtKn9Cx1Q1KeLy17mMivnlvq0SR Z7ZDXubpnQYOh7eOJC1WaZd8n/X7mX1OcmnQ21hEkIf0YyO6L8max7tcaMGxULWbXqe7 w2eziJyBayKfPkblyVl4uh/dVoJc1FOdsCsh3h121PXEC99YbtSTBxRbQkOAk8enXz9o UrF3xtC2a+2G7dAlGheUso21+gHV1j0G91zj8WYelFtQ0xitY55k8pQmmnVUwTJMKIEC CD6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=a5vX8gBmnnic5UNWxw1jVpXm3AHKRfRAvnIGLKq3V6c=; b=KBQteoi6AT7DnUetUJrpLQI6yV4TUv3KiE4VOfDJY4VC++ldjLjifbyRTY2yUZsN53 mJxBGXD/cpLIf0raOkN4gvRuqfwNBAhd2sbmSpO0jcUctGvgrq9cRTQg+eVnhSCd54y0 8tKjfU54Z8ksyhKHpHHxPNRaZp4V5yD/OdoQbMTbCx1Lzq2A3Gnd8tQ13RMtR7QD4dWg /qX/ItCAhx3fwqBwBjOG5LVQ4UFxuX9N2F42m9KEJ8aTQMewpev2RdJLzyJsG42fCmIU gsw5bGziwkw2PfWDxCiyy1DGqdsZWD7jBHqC4UyWawbApHe0xlHHnvsOSexFYkbIaOKh HE9A== X-Gm-Message-State: AOAM533C5Di1tCtkotT/7lPe1SJqBKrDqfq+oIX/sP2YrE3eLMOCljtd kM9yRTY6tZPMmUXoG3yVmMI= X-Google-Smtp-Source: ABdhPJylcFYmZ6iqSRQopQ2pllHuhujt5uPvh1MNPaUrW0muz1YXuDf2fFkuUrQT21nyDYD5pWFnGw== X-Received: by 2002:a17:906:c836:: with SMTP id dd22mr4699918ejb.3.1627280383113; Sun, 25 Jul 2021 23:19:43 -0700 (PDT) Received: from ernst.home (pd9e2360f.dip0.t-ipconnect.de. [217.226.54.15]) by smtp.gmail.com with ESMTPSA id x2sm17419555edj.37.2021.07.25.23.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jul 2021 23:19:42 -0700 (PDT) Date: Mon, 26 Jul 2021 08:19:41 +0200 From: Gary Jennejohn To: Warner Losh Cc: FreeBSD Current Subject: Re: boot hangs after installworld at FreeBSD 14.0-CURRENT main-n248198-72f7ddb587a Message-ID: <20210726061941.3daf514e@ernst.home> In-Reply-To: <20210725170229.50621855@ernst.home> References: <20210725092848.6f64b2d3@ernst.home> <20210725170229.50621855@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GY8sX1SJGz4vq3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mK0BbuIg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-1.89 / 15.00]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.89)[-0.894]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[217.226.54.15:received]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[current] X-ThisMailContainsUnwantedMimeParts: N On Sun, 25 Jul 2021 19:02:29 +0200 Gary Jennejohn wrote: > On Sun, 25 Jul 2021 09:54:35 -0600 > Warner Losh wrote: > > > On Sun, Jul 25, 2021 at 3:30 AM Gary Jennejohn wrote: > > > > > I updated my FBSD-14 tree yesterday. > > > > > > uname -a shows FreeBSD 14.0-CURRENT #5 main-n248198-72f7ddb587a. > > > > > > Did a buildkernel and a clean buildworld yesterday. > > > > > > This morning I booted the new kernel, did an installworld and rebooted > > > the new kernel. > > > > > > Or, should I say, I tried to reboot the new kernel. > > > > > > During boot I see the following outptut: > > > > > > loading /boot/defaults/loader.conf > > > / > > > > > > and the boot hangs. > > > > > > The second line should have contained > > > /boot/test/kernel (I always install new kernels to /boot/test) > > > > > > followed by lines containing the various modules which get loaded. > > > > > > Luckily, I had a USB thumb drive with a FreeBSD memstick.img AND a > > > complete backup of the old /boot, so I could boot from the thumb > > > drive and restore /boot (but I moved /boot to /boot.bad before I > > > did that just in case). With the restored (old) /boot everything > > > works. > > > > > > > Little has changed in the boot loader. Do you know the hash that worked? Or > > if I misread above, the has that failed? > > > > The /boot code which works was installed at 07:36 UTC July 9th. So, > every change to the boot code since then is a culprit. > > Example: 9c1c02093b90ae49745a174eb26ea85dd1990eec change to support.4th. > It just so happens that I had a nextboot.conf in the "bad" /boot at the > time that the hang occurred. This is the only potential candidate I > can see. > > So I'll try overwriting support.4th with the known-good version and > see what happens. But probably not until tomorrow my time. > After deleting the nextboot.conf from the "bad" /boot I was able to boot using the "bad" /boot. That's the only change between this boot and the previous boot which hung the computer. Whether this is a strong hint that the change to support.4th is the culprit I can't say, but since the commit message explicitly mentions nextboot.conf as a reason for the change, that may very well be the case. I decided that removing nextboot.conf was a better test than using the old support.4th. The change looks very simple and innocent, but my 4th knowledge is pretty much non-existent, so I don't really understand what it does. I went back to the "old" /boot because I use nextboot.conf a lot. -- Gary Jennejohn From nobody Mon Jul 26 09:13:19 2021 X-Original-To: current@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 DC08712BBFAD for ; Mon, 26 Jul 2021 09:13:29 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 4GYDk114Tvz4cYp for ; Mon, 26 Jul 2021 09:13:28 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-ed1-x531.google.com with SMTP id n2so9611768eda.10 for ; Mon, 26 Jul 2021 02:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=qMMvqfbAXxHBVN30JnkM0lAprnGMw2/T+okkyWPF4Rw=; b=PvHAVb6/ke3gAoMk6DhJejjRUxUGe7Srq5AlbnqBNU0LdfbvAd8XEzd1lpb+dAIwrW 9GDtKBPWzyq0xCqOTtZpTBCWE5Ay0CPMNfQiV1+EC9eEYLHMijpUgrmERXnmmAOF406G ux/6s0fSHjWdYKadiS9PvsTgCf9zlD9fw60UApy4oGcS1d5CN6vgvma9QhnZj9QwPYrT H7NCaZAW+xIh9Hpu5FekJPnJ0l1Xjz83xgbTdyTc096kjyyBqQtzjybzSeB/kYTcY+S7 iWBnqhSKn4EDfu50v8kQuk6ntL1qrMXnpGITQQpqtDLymkde6Iruiws6YEsJjO8DvxZi soJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=qMMvqfbAXxHBVN30JnkM0lAprnGMw2/T+okkyWPF4Rw=; b=CxKZuDYrU+6BnXRHDPcbJ0RhKVik4DMolDhMJjpTY3cXyIhovUeJEXoHINU7pcwLZG n1bHoQ7AirHIproJ0vhv2FCHrbvbPT15IzHH0en16wwhYEwvW4l9lU/sRiEsL2tVyuIv SEobcXWFeuDSLMgMmG9J9Zp3L0AibEwIXl44m81x2AKaY1DGkecExUcTw096pal62caO mN+tmfsatF9aZVolvyfbDSKloDGokKkv2wQ6YSi+llHERhFa07wik/5sKYfhVfnvxDTJ O+FPducmlb75E8EdMLUX06qQUBz6XScQs5U/sM9Xnh0UlFlxZTISbgHCkaO0kl6Q+PXa Ybuw== X-Gm-Message-State: AOAM531lpjRkNvDx8QqjjjA1UaMEFWGvRWQSLx437I3QkTOax6tFtxZP vcRz7tTvqFCR+xlQ+vWGCU8SFzo/YGQ= X-Google-Smtp-Source: ABdhPJz0SU+RJ8ZMtDqR3xpNopvaHZMjVUBrWC0uDigJU2PkpFWxQyo6kGHCAwLSlrJWzrCybvuqJw== X-Received: by 2002:aa7:c349:: with SMTP id j9mr13912828edr.3.1627290801698; Mon, 26 Jul 2021 02:13:21 -0700 (PDT) Received: from ernst.home (pd9e2360f.dip0.t-ipconnect.de. [217.226.54.15]) by smtp.gmail.com with ESMTPSA id f15sm409920ejt.75.2021.07.26.02.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 02:13:21 -0700 (PDT) Date: Mon, 26 Jul 2021 11:13:19 +0200 From: Gary Jennejohn To: Warner Losh Cc: FreeBSD Current Subject: Re: boot hangs after installworld at FreeBSD 14.0-CURRENT main-n248198-72f7ddb587a Message-ID: <20210726091319.213dd5ed@ernst.home> In-Reply-To: <20210726061941.3daf514e@ernst.home> References: <20210725092848.6f64b2d3@ernst.home> <20210725170229.50621855@ernst.home> <20210726061941.3daf514e@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GYDk114Tvz4cYp X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b="PvHAVb6/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::531 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-0.00 / 15.00]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[217.226.54.15:received]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::531:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[current] X-ThisMailContainsUnwantedMimeParts: N On Mon, 26 Jul 2021 08:19:41 +0200 Gary Jennejohn wrote: > On Sun, 25 Jul 2021 19:02:29 +0200 > Gary Jennejohn wrote: > > > On Sun, 25 Jul 2021 09:54:35 -0600 > > Warner Losh wrote: > > > > > On Sun, Jul 25, 2021 at 3:30 AM Gary Jennejohn wrote: > > > > > > > I updated my FBSD-14 tree yesterday. > > > > > > > > uname -a shows FreeBSD 14.0-CURRENT #5 main-n248198-72f7ddb587a. > > > > > > > > Did a buildkernel and a clean buildworld yesterday. > > > > > > > > This morning I booted the new kernel, did an installworld and rebooted > > > > the new kernel. > > > > > > > > Or, should I say, I tried to reboot the new kernel. > > > > > > > > During boot I see the following outptut: > > > > > > > > loading /boot/defaults/loader.conf > > > > / > > > > > > > > and the boot hangs. > > > > > > > > The second line should have contained > > > > /boot/test/kernel (I always install new kernels to /boot/test) > > > > > > > > followed by lines containing the various modules which get loaded. > > > > > > > > Luckily, I had a USB thumb drive with a FreeBSD memstick.img AND a > > > > complete backup of the old /boot, so I could boot from the thumb > > > > drive and restore /boot (but I moved /boot to /boot.bad before I > > > > did that just in case). With the restored (old) /boot everything > > > > works. > > > > > > > > > > Little has changed in the boot loader. Do you know the hash that worked? Or > > > if I misread above, the has that failed? > > > > > > > The /boot code which works was installed at 07:36 UTC July 9th. So, > > every change to the boot code since then is a culprit. > > > > Example: 9c1c02093b90ae49745a174eb26ea85dd1990eec change to support.4th. > > It just so happens that I had a nextboot.conf in the "bad" /boot at the > > time that the hang occurred. This is the only potential candidate I > > can see. > > > > So I'll try overwriting support.4th with the known-good version and > > see what happens. But probably not until tomorrow my time. > > > > After deleting the nextboot.conf from the "bad" /boot I was able to > boot using the "bad" /boot. That's the only change between this boot > and the previous boot which hung the computer. Whether this is a > strong hint that the change to support.4th is the culprit I can't say, > but since the commit message explicitly mentions nextboot.conf as a > reason for the change, that may very well be the case. > > I decided that removing nextboot.conf was a better test than using > the old support.4th. > > The change looks very simple and innocent, but my 4th knowledge is > pretty much non-existent, so I don't really understand what it does. > > I went back to the "old" /boot because I use nextboot.conf a lot. > I decided to do a further test. I wanted to check whether some other change in the loader might be implicated in the hung boot. I copied the old support.4th to the bad /boot (/boot.b). I then mv'd /boot to /boot.g and /boot.b to /boot and created a nextboot.conf there. After these steps I was still able to boot successfully. So, I'd say that this result is a pretty strong indication that the new support.4th together with a nextboot.conf results in the hung boot. -- Gary Jennejohn From nobody Mon Jul 26 16:17:36 2021 X-Original-To: current@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 4454E127816F for ; Mon, 26 Jul 2021 16:17:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 4GYQ7l71Z7z3r7F for ; Mon, 26 Jul 2021 16:17:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x735.google.com with SMTP id t66so9412911qkb.0 for ; Mon, 26 Jul 2021 09:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I+hQEvowRnNbA8qvcoo4+E4GDJ6eegVbIVinrpqcCvI=; b=uESUhv909W6h25vkIuNfFzOy8FYSWgxUr2RBsb3hb3Nm+ZlaYtcpg77si/uxhnXVWX 0CzOKJpD35mdBLOj5RKyIZTwEHIRLUaUq/GMOtXUjfA3wRcGlJq8L9nDDkc8phH5cTuL i9yGoxfE5T4giVOkYjM1AVEBmCshLF03akzLTNiYN8XxA9TLRL9m9KpG/42NbULssAfw XSnFe8wCxSarFWud2JEo+bMJr4jupAXDqszXzNclg2Oecvw6AUrVirhHYHS8tJw0Xf+0 GQNyJCphYvwoBE9FwsBDno+mC0OGtoDE3rii4tclrO/hgoHNqAYnMNeDU6PghEyyranj jz9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I+hQEvowRnNbA8qvcoo4+E4GDJ6eegVbIVinrpqcCvI=; b=lnhCOU3DwSEKETjm6cBEMiUKun5L3gDhwKeWl/fyssugBiQFXt8W0tFC41ika2bVdp zeeYz0b7tYGZBVcbExBbWNL9U0Q+aUQxRa7DQTdqAY4h1w51ItO2oZPueZRDJdzwVThJ 6jZYA427t1sb85oGJ6wsyyhJ0qPrVRY5zf/RnFMyJ1MFCeWp45zOwAOLsio+eL904PwU eoeQId6mh+5IPldeYo9ZXb0AObot5KYg9oxgeV5To/ln/QlJcURUePoARwIiY/G66G7/ GMqvFVu9dyNFru5pdYRQ4PaXHVa3mGCtLGsRyD3kHCtmK0U+F4W9W4pK61yIcEkhHKnL wxwg== X-Gm-Message-State: AOAM532GcVKC5AYuSl/n3vZUCn5cg5vtOtfxdT/fr4dCjn8rSK2nbNct 4hHZgng+4p3tXU7KyWgp9CXzRSAUh92SW9QZGMq2sg== X-Google-Smtp-Source: ABdhPJwQzYpL+fM04Saehf/ioq9Hg8+6TzjA8ZfRgYM1dDQnNTDdz5yOZh/+SYnYhC0MVxliyav752byOKB+MJJ9whM= X-Received: by 2002:a05:620a:45:: with SMTP id t5mr17258030qkt.206.1627316268823; Mon, 26 Jul 2021 09:17:48 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210725092848.6f64b2d3@ernst.home> <20210725170229.50621855@ernst.home> <20210726061941.3daf514e@ernst.home> <20210726091319.213dd5ed@ernst.home> In-Reply-To: <20210726091319.213dd5ed@ernst.home> From: Warner Losh Date: Mon, 26 Jul 2021 10:17:36 -0600 Message-ID: Subject: Re: boot hangs after installworld at FreeBSD 14.0-CURRENT main-n248198-72f7ddb587a To: Gary Jennejohn Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000240b1b05c809186d" X-Rspamd-Queue-Id: 4GYQ7l71Z7z3r7F X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000240b1b05c809186d Content-Type: text/plain; charset="UTF-8" On Mon, Jul 26, 2021, 3:13 AM Gary Jennejohn wrote: > On Mon, 26 Jul 2021 08:19:41 +0200 > Gary Jennejohn wrote: > > > On Sun, 25 Jul 2021 19:02:29 +0200 > > Gary Jennejohn wrote: > > > > > On Sun, 25 Jul 2021 09:54:35 -0600 > > > Warner Losh wrote: > > > > > > > On Sun, Jul 25, 2021 at 3:30 AM Gary Jennejohn > wrote: > > > > > > > > > I updated my FBSD-14 tree yesterday. > > > > > > > > > > uname -a shows FreeBSD 14.0-CURRENT #5 main-n248198-72f7ddb587a. > > > > > > > > > > Did a buildkernel and a clean buildworld yesterday. > > > > > > > > > > This morning I booted the new kernel, did an installworld and > rebooted > > > > > the new kernel. > > > > > > > > > > Or, should I say, I tried to reboot the new kernel. > > > > > > > > > > During boot I see the following outptut: > > > > > > > > > > loading /boot/defaults/loader.conf > > > > > / > > > > > > > > > > and the boot hangs. > > > > > > > > > > The second line should have contained > > > > > /boot/test/kernel (I always install new kernels to /boot/test) > > > > > > > > > > followed by lines containing the various modules which get loaded. > > > > > > > > > > Luckily, I had a USB thumb drive with a FreeBSD memstick.img AND a > > > > > complete backup of the old /boot, so I could boot from the thumb > > > > > drive and restore /boot (but I moved /boot to /boot.bad before I > > > > > did that just in case). With the restored (old) /boot everything > > > > > works. > > > > > > > > > > > > > Little has changed in the boot loader. Do you know the hash that > worked? Or > > > > if I misread above, the has that failed? > > > > > > > > > > The /boot code which works was installed at 07:36 UTC July 9th. So, > > > every change to the boot code since then is a culprit. > > > > > > Example: 9c1c02093b90ae49745a174eb26ea85dd1990eec change to > support.4th. > > > It just so happens that I had a nextboot.conf in the "bad" /boot at the > > > time that the hang occurred. This is the only potential candidate I > > > can see. > > > > > > So I'll try overwriting support.4th with the known-good version and > > > see what happens. But probably not until tomorrow my time. > > > > > > > After deleting the nextboot.conf from the "bad" /boot I was able to > > boot using the "bad" /boot. That's the only change between this boot > > and the previous boot which hung the computer. Whether this is a > > strong hint that the change to support.4th is the culprit I can't say, > > but since the commit message explicitly mentions nextboot.conf as a > > reason for the change, that may very well be the case. > > > > I decided that removing nextboot.conf was a better test than using > > the old support.4th. > > > > The change looks very simple and innocent, but my 4th knowledge is > > pretty much non-existent, so I don't really understand what it does. > > > > I went back to the "old" /boot because I use nextboot.conf a lot. > > > > I decided to do a further test. > > I wanted to check whether some other change in the loader might be > implicated in the hung boot. > > I copied the old support.4th to the bad /boot (/boot.b). I then mv'd > /boot to /boot.g and /boot.b to /boot and created a nextboot.conf > there. After these steps I was still able to boot successfully. > > So, I'd say that this result is a pretty strong indication that the > new support.4th together with a nextboot.conf results in the hung > boot. > Ok. I'll revert when I'm next at a keyboard... Warner > --000000000000240b1b05c809186d-- From nobody Wed Jul 28 00:55:59 2021 X-Original-To: freebsd-current@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 E8BE212BB09A; Wed, 28 Jul 2021 00:56:16 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 4GZFbM6x45z3LG3; Wed, 28 Jul 2021 00:56:15 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lj1-x231.google.com with SMTP id a7so963440ljq.11; Tue, 27 Jul 2021 17:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=DCZeM1CKwiypSoWOdUXjCSR2nfKyUeRVNx+WMtfsmio=; b=pGBqprsQm2KD6+yThBleYUPrQ0bQ95CgzloyHs42ke5HgzwXAx0dDgv92MEUCuwri2 zPVJx+vSfpAgXS4qr8PmD/9gY7wrWl4JY3F24DI+jfkWKbUcnRDUpvkUVI8X8Vb01fVc hOGmBj6U9jicEr2+/7PEhWNwx5OUz6FBhdizRYK2wpfryqBe3mgbxKDmXGy6JiMCNxr3 XJI9Xq6QWMDOorKooOn9kP1Nt2YQFJVrkJN8GoH4M1KIFyUkefl+eOp7ezZzxX4E9rLt ABHQ0zUXolgE732sjcf2ADjqbVexW/Aq+yaO1vxv7qGZW6ZsBXNeIhT/WKYKTKYyzOaj +YAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=DCZeM1CKwiypSoWOdUXjCSR2nfKyUeRVNx+WMtfsmio=; b=ZQ6GlLdOBaCP9qwL0wBBBtBfgM1QcMdvsJqDHuevRpOMCV8gxPtrvDxEFPdVAygJli KbclLZbszoydKSdX7MFcw5ZVgcS4w3bS+0Q9uwzmsR6B/CZnvSElLTPocekVr3pDIJTK 1ugiWIlPeLuCi4EsWkEuaLCHCQ0lEym/8dH2S9yqrLTgrylzsmTis1Mh/gHN4PfG6ija XJAV0Bjmg8069EfiZUimJpG2+B2ZB/+sgO7sQnOjk5a8pDsGG/QXBaw8E1iL18nV3IE5 qSM1TzHJFtYqo/FMpT/tkDW9qc72WjTSJkNHo9gNPscoCtbvshZevZn4ePIoBrlvkw2w WByw== X-Gm-Message-State: AOAM531EJ6h6h2SOoqx2bHClEtR3FazECvR9o6x0P6RfZ53Pkh8DNuQU /3ZLUK6rhkWVTrlqW2Usm0IxjWVASdc= X-Google-Smtp-Source: ABdhPJx6a0Yy2V2S7WAt6b16weuzJh/apsbvh3VSdUXrlIUgtxZVrrYmj/530tf59eKsCWt2w5Kc9Q== X-Received: by 2002:a2e:a90b:: with SMTP id j11mr17507856ljq.338.1627433769211; Tue, 27 Jul 2021 17:56:09 -0700 (PDT) Received: from rimwks.local ([176.99.169.245]) by smtp.gmail.com with ESMTPSA id z13sm432865lfd.49.2021.07.27.17.56.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 17:56:08 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Wed, 28 Jul 2021 03:55:59 +0300 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Cc: Rozhuk Ivan Subject: pthread_mutex_lock(), EDEADLK and thread ID Message-ID: <20210728035559.3b885fb9@rimwks.local> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GZFbM6x45z3LG3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pGBqprsQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rozhukim@gmail.com designates 2a00:1450:4864:20::231 as permitted sender) smtp.mailfrom=rozhukim@gmail.com X-Spamd-Result: default: False [-2.00 / 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)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::231:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers,freebsd-current]; FREEMAIL_CC(0.00)[gmail.com] X-ThisMailContainsUnwantedMimeParts: N Hi! We have some product based on FreeBSD 12.2 that running in different places and environments, more than 5 years. At one place we got EDEADLK some times then calling pthread_mutex_lock(). This happen to often: 1-4 times per 10 minutes. Code designed to call abort() and generate coredump. So we mostly sure that this was not happen in other places in past. I know that we run as VmWare guest and can ask more details. In lib/libthr/thread/thr_mutex.c ... static int mutex_lock_sleep(struct pthread *curthread, struct pthread_mutex *m, const struct timespec *abstime) { uint32_t id, owner; int count, ret; id = TID(curthread); if (PMUTEX_OWNER_ID(m) == id) return (mutex_self_lock(m, abstime)); .... mutex_self_lock() may return EDEADLK for PTHREAD_MUTEX_ERRORCHECK mutex type, which is default. Is it possible that "id = TID(_get_curthread());" some how changed to ID some other thread that lock mutex in past? From nobody Wed Jul 28 17:11:48 2021 X-Original-To: freebsd-current@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 3B3781278C2B for ; Wed, 28 Jul 2021 17:12:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (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 4GZgFK3jJ4z3jjJ for ; Wed, 28 Jul 2021 17:12:05 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f50.google.com with SMTP id v8-20020a0568301bc8b02904d5b4e5ca3aso2783222ota.13 for ; Wed, 28 Jul 2021 10:12:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JnMztRn6wu8+mzIR6NejD7JbvZbrCLrVJRYhyGOIXbI=; b=cGREchWtR4WuqwzaKu67NzipjWWeiUsq+vIVMzjvpeb7FY+QxO36uTQjOKXEQFOdkq xME199On/0jODRRFNfdQwBdnmy7lXuxV5kksg72QQUMP7wtiU9dlQ9zmLFYHNeWBw6eN fB2q3fNWICkcmjN/lhMxpw50iiQ7FiZ/HvHONYEFHLEoazlxB7LLZh0SzIQR4w4HVg4J bsu0sgYTSWS6bSxEk7ZWJfiSk4/jbzYSYIyGsquyDe7HFLhB1Ei42RUEuBf9d9bLrhMQ 8v4GSWkMy/FIQiwSGibdH+W0G3Lj8FQ1ff3N3m9PoEVr4nQ8d0kgXeF3T5b5Gt7ZRr+G QNPg== X-Gm-Message-State: AOAM531ssqbwGVehZfieT85PbFxGQ+LAYiHYRTqVAqdhET5BXYpMfG6N eN63zh65hOvuBiZLsLNKWQt6wT0nVUKwoP+eHhqTGqREgON+PA== X-Google-Smtp-Source: ABdhPJwZHp1adueFRIJM5eK00/+SbU4UJ3Zv5jR6E0MNiWhmQt48at9Qy5Sr4x3GE+uJbRfhiHuKchEVHQDbunjpcIY= X-Received: by 2002:a9d:7982:: with SMTP id h2mr712837otm.291.1627492318949; Wed, 28 Jul 2021 10:11:58 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Alan Somers Date: Wed, 28 Jul 2021 11:11:48 -0600 Message-ID: Subject: Building multiple kernels with "make release" To: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="0000000000008bb69805c83215a7" X-Rspamd-Queue-Id: 4GZgFK3jJ4z3jjJ X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.210.50 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [2.00 / 15.00]; ARC_NA(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; FREEFALL_USER(0.00)[asomers]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[209.85.210.50:from]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; TO_DN_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.50:from]; NEURAL_SPAM_SHORT(1.00)[0.996]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: Y --0000000000008bb69805c83215a7 Content-Type: text/plain; charset="UTF-8" Is it possible to build multiple different kernels and include them all in a release image? release.conf says so. But from experiment, what I see is that: * release.sh does pass both kernels in the KERNCONF variable to "make buildkernel" * "make buildkernel" dutifully builds both * BUT, "make installkernel" only installs the first kernel and ignores the rest * Only the first kernel ends up in the final image * It's not really clear where an alternate kernel should go, anyway. Probably someplace like /boot/kernel.debug , but release.conf doesn't provide a way to specify that. So is the "multiple kernels in release.conf" feature unfinished? If so, does anybody have a good idea about the best way to finish it? https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4acc17b410fb62a0/release/release.conf.sample#L32 -Alan --0000000000008bb69805c83215a7-- From nobody Wed Jul 28 17:26:50 2021 X-Original-To: freebsd-current@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 4497E127C23D for ; Wed, 28 Jul 2021 17:26:53 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZgZP1KNXz3mnQ; Wed, 28 Jul 2021 17:26:53 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TlsmPmPxL1DWKhmcgOUuBJOW38NgIsHH809qux2BxXw=; b=evjfD2m+3N0wyaKDp46WzaKWjN+yWPJEjn9sfGuRS2xlYVPmT5l27JUyyk88p74kWU+Usi 0mN0Kf4zMFaqQjNZDCW9pCVeolPtb1M6ehipazs3C+/rK//UVsjrLvXaD1o5BGT6xOYDj3 zVQgYd3jELGNmhNvTeiEBTfni4OzLWWAAcnlM9RpddaB4zsFisLmjsoT87f/R7KkjSu4Rs sWeMQCImDfcJZHnFBoyMOx0h4jlbBK0O80sqxUcdB5ERg0xo97UJnVHay0f6iiLhinHBR+ f9tWjyQY0uBxMfUvcjrjrgRROuf9ObHAMOEOPSQLpfuhxG2w2BDz56rR9pMEwg== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id C083516ACA; Wed, 28 Jul 2021 17:26:52 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 17:26:50 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728172650.GI1648@FreeBSD.org> References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JsihDCElWRmQcbOr" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TlsmPmPxL1DWKhmcgOUuBJOW38NgIsHH809qux2BxXw=; b=q3zuslmK+yzHmMY8d5mrQz8JQSEkQwS1siQeTPUHsUkhmiA9K9gG2M97Q/39GZo1c/PTEE zdNQr48Eu53c3uhhUlKmOLVWTKc6xhSl2uxeFClgzW1dXok5ML2d9QfdugqLoRydXnqfJ6 Ga+4WKKNltkj6cbcV5P6k0tJmTzcJfuaI8XCYQo7WHNWpE1TwzKtx3U+sW9keT0XEgXmAv Eokfy8Xvq11RVLaD4dWYzkx32tAFByicv8OCFNmaONk3zhtXlQ8ym2IqzdW6NeMhyNHkHi N1Z51oOvLVR6QAI3O2SHaLxrHxfyU/ohtu4/WBrMBgByYlL0MT9Y2s22kW2lMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627493213; a=rsa-sha256; cv=none; b=UZ9QV6+SobLrnX1ESXVIDD558Oq3g2nrS2XBO0D6JZi4IR2o8adAgycQ64bUuQV16cXTPE 9Ly0ZQjnK1wLX/yfy2Gab8XuYSzyOV+T0AWloiHntTkq1+RRYphtUQ4WFSWFl+tXeUxuSo dth2F5Pw5upjsGVlmh/toNrDRoQnve4tqJ6f5VjCRsX/wc1d7XoYBofqVf3yPLtDuhFC7B 6BABDJ3J9t+/qMjECUF1jDcBvp04DURDH+vlUM8PpZftEVkcJjDPqwnY1tP6ARUyNa17Fu OiqftC3uK87EQYHanRU1g5CatRe8O8dspcetzSiPAMdgL4DTKX0X+nlJjnjwcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --JsihDCElWRmQcbOr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > Is it possible to build multiple different kernels and include them all in > a release image? release.conf says so. But from experiment, what I see = is > that: >=20 > * release.sh does pass both kernels in the KERNCONF variable to "make > buildkernel" > * "make buildkernel" dutifully builds both > * BUT, "make installkernel" only installs the first kernel and ignores the > rest > * Only the first kernel ends up in the final image > * It's not really clear where an alternate kernel should go, anyway. > Probably someplace like /boot/kernel.debug , but release.conf doesn't > provide a way to specify that. >=20 > So is the "multiple kernels in release.conf" feature unfinished? If so, > does anybody have a good idea about the best way to finish it? >=20 > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4acc1= 7b410fb62a0/release/release.conf.sample#L32 >=20 Last I was aware, based on a patch sent to me privately, I believe, it should work. Let me take a look. Glen --JsihDCElWRmQcbOr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBk1UACgkQAxRYpUeP 4pP+/BAAkwgb/QhTjdKTLeXf9UXj9Oq5efEZTjwfXDoCYOnYTJdRrAcsNjZvqqkn SeVWAnZbqotRncW3RhVSlhnyQa948xcM6NmrD141nDczLipLxjpedOFm6R3gGqC5 6n9Yzv/kiEwe6Lu4aerNESUWPFkAPjp1fCHMExOmuuhN6s8Fzumc7RWwSekUWk0j HFZrQ3MtdpAF32H6LW2vUiavhpGV/OBg7UZaCHTy84h769/a4XJ8lNh0+TbrANEJ gV0iDw9mB1Dg7lsO7GHNIUFdkD6H4FDlwdUEJs3Y7pqk4PEiqtAMhEzvQ0MMJd2K AP6r2+m0DcWvkkOrcrxjlgnYOE9FCX/JpHToHmm9jSGD/0E6wtz0AT3abWhFqgxl LWdDZ+wSjoSoqwHEF4KL8FMh0Aut7bjnneBLHH+/AVB4T0CsBxP5izjCbcv61bER veBKQLloTwTXAm9fI1Ukmr9byvvIyXcQ6tZuDrCBkYrXYMIQJQjoQx6Se/EypolR 2Sj3x/ijSePJJdr8L0YelS0h/4g1Ckwq23avZRkZGwcptJxXgUc3QlemiQjTem44 K2NCPgqqFGIj4FbHKisAkhMk/JxLS7IuToQwsS30elelobIo/I8DEmv9I25CDLat /200F4zW/XEs4a6dGYNbu5H/IaMPTadrghwF66tqcddMi63bto8= =Bunr -----END PGP SIGNATURE----- --JsihDCElWRmQcbOr-- From nobody Wed Jul 28 17:28:30 2021 X-Original-To: freebsd-current@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 D11DF127D371 for ; Wed, 28 Jul 2021 17:28:32 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZgcJ5WP4z3p1k; Wed, 28 Jul 2021 17:28:32 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U/FeixJpwjV1cqMLur3hYAoHUPmhbBplFIInjkifnt8=; b=ZKxpqaV4EEgQKGitZsJsN0IGBi/H1K0ApOGg6ClCK0JWxIrhF7ulXOSTkvplii3enohG4k xkIlYpoK4qL6se5HhTx/fE9vCIPpN2LR47Jp+C/vDklZlkyMW6ACttB/Jn7LESbp34snm1 RgvcxtjF6Gq+nj5kUbb+Hy9n4iJ/tA4wzMqQoVZ81djDpQbNiQzSVGQgS+A7bfxlWQ6ohG N3i6BU9ts0hZyKYKqXROLICXck4rOmF0qAhXxfnE/tSbePHumSiVJf96jo12KS1cH0it4v muRgcxa6KtNXc2lbNhwKlDMTfUfy158jlMLneISjt36/8N9CvGs1d4Zx5fh0pA== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 5D77116C36; Wed, 28 Jul 2021 17:28:32 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 17:28:30 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728172830.GJ1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5mZBmBd1ZkdwT1ny" Content-Disposition: inline In-Reply-To: <20210728172650.GI1648@FreeBSD.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U/FeixJpwjV1cqMLur3hYAoHUPmhbBplFIInjkifnt8=; b=yt4UegUj967W4T2RJxc4HO0kTPDQKXuJwl+PU7nFex380ttohkkfhoMIgPjDSCNiaVLXjy EjuL8gpaduBFnq+q+hElttvS7eMCe7/f1rqebEsvMQQnmpG+vhFLJe2p9nCf1fUuTEZUhI +bIE39A1vuJAwScFEHZRE7KMBJUnlgjBf0GgQbBBPKmj2TzyqLre7xixAfyilQpLG+m9Ec GF6jKIAT/Tix4hJLU1SOtEVp+3jA6aX466f0H3Bxsg390kSBe/y7mVnmvB7CFqv946BL7o kY1Ed0zw/yOkf4FhBWLY2FOt7/BiuHa7fwoaAKtnHFuXDTcOo+k4+db973nLtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627493312; a=rsa-sha256; cv=none; b=HufOuPqB2lWDE55M5O9kLBYM3VK29dpPDZV/6fdTmrJKuMPRi/xHFNzcUw5Jo4LbA24w1n b6Rvrx6UeoD+EexxUoXRC9h9AkaYnuhyl1NKiiqxbnPmGrFrYglhKTErFjk1k8C19PJ1D6 T5G1/hDcZzae2vwZfU8Y00XoEJYpouM+CAGFJ3mZQFd32X11/Qi2b8+GG3ZeNpmfJ7sJHx mC7AJfCpf8A79CuCwGotwY7hEpGdDGo54Z3cp2mmcwX7zRWuzB7EICRAR4eIhUfujPXmOn FUARpOpoD6RZxpewxWhS6Xi/UXM6APEVpxM2V0DZa/16PiW7pdwVGG9BHm8ECA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --5mZBmBd1ZkdwT1ny Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 05:26:50PM +0000, Glen Barber wrote: > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > Is it possible to build multiple different kernels and include them all= in > > a release image? release.conf says so. But from experiment, what I se= e is > > that: > >=20 > > * release.sh does pass both kernels in the KERNCONF variable to "make > > buildkernel" > > * "make buildkernel" dutifully builds both > > * BUT, "make installkernel" only installs the first kernel and ignores = the > > rest > > * Only the first kernel ends up in the final image > > * It's not really clear where an alternate kernel should go, anyway. > > Probably someplace like /boot/kernel.debug , but release.conf doesn't > > provide a way to specify that. > >=20 > > So is the "multiple kernels in release.conf" feature unfinished? If so, > > does anybody have a good idea about the best way to finish it? > >=20 > > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4ac= c17b410fb62a0/release/release.conf.sample#L32 > >=20 >=20 > Last I was aware, based on a patch sent to me privately, I believe, it > should work. >=20 > Let me take a look. >=20 Oh, wait. Are you using 'make release' or release/release.sh? Glen --5mZBmBd1ZkdwT1ny Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBk74ACgkQAxRYpUeP 4pMG1A/+I4wRRMOMztuS3C65czvXIyZf+IqqLQTN5dhVz5vfoV3jvueJ9g4TV41/ ICVhqwfWds1IflLc+Q8sXd6DZAlUMzLYv0X/vN9mylVtAos2cYW85DByA9LqHXfx hEhS6NMf2KaQ3tCnN6t8iGy/7Pc9isuhspAJbuh2tm+EREw69BVWWut3I10Sg0gi FS826st3yQqCDYifeeoCcoOdghmaT50w0oDl0m0pFRB8LnELiGMwM/2HcYTmE8h/ 2RYNnd8VCUyFLVWpnHO9voPzxaab0HMdHqy7bLI4Ttzd6t2SiqqqtFVgZK2Zikmq Q0aCoikBtS1/HQboiHMaSUuVH1DCSKYkJT0yxpw6/EGZGpi0+IJN7Rj3BWYBjPfp HRVhlwjPaKTNrQjTVVdcEBvTRzTLDgxu5suGrGQoZY4VSAG9kEtdaeXeeHuvIaQs Jmg8SV9OtvanKMWxXlmmU41p9G+rloS1tI0FB6bbMGXeFdUsyov1/dP5AK1Wk8GG rN8pce+SqjCi0649QdXg2A9hFOUlvp6AJs9jK7mf+I02gUu54KR7gvt3zBpIxac3 MtSzCt1sCjFfD7gZZpf9GpfmOgFyUg3OEhZgXfNVNgDtv6Z0ukr9SpQNPXSFyfHt y2iddtaE32PMZzCezEP/t7zKYNAJl46MESceqZ1TxcguHqMc+bA= =vG7H -----END PGP SIGNATURE----- --5mZBmBd1ZkdwT1ny-- From nobody Wed Jul 28 17:29:20 2021 X-Original-To: freebsd-current@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 94CC7127E3B6 for ; Wed, 28 Jul 2021 17:29:30 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [202.12.127.228]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZgdP31wGz3pr6 for ; Wed, 28 Jul 2021 17:29:29 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from; s= 201508; t=1627493361; bh=mGE9SCVWXsmY+rpIXprseWLITZdJd8K1j+eqzsD ISNg=; b=qOXCiTKPJEhFtULteqkBDXQIu/GM+E8mBMKGAlovva1qbopr+jgW7XA JYT3qy+S066FnHF/349Hl7VCo5EMUD3s+zWa9YewqSK8YRLuEXFAYXtlX1chEQP9 GQBpJBeDiGwAGSuWbHD28X+Qj7FpcRmJzREaAfv4bt/g7dpM7Zks= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 212C94CA97 for ; Wed, 28 Jul 2021 13:29:21 -0400 (EDT) To: freebsd-current Subject: awk behaviour? Message-ID: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> Date: Wed, 28 Jul 2021 13:29:20 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GZgdP31wGz3pr6 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protected-networks.net header.s=201508 header.b=qOXCiTKP; dmarc=pass (policy=reject) header.from=protected-networks.net; spf=pass (mx1.freebsd.org: domain of imb@protected-networks.net designates 202.12.127.228 as permitted sender) smtp.mailfrom=imb@protected-networks.net X-Spamd-Result: default: False [-1.88 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-0.90)[-0.902]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[protected-networks.net:+]; DMARC_POLICY_ALLOW(-0.50)[protected-networks.net,reject]; NEURAL_HAM_SHORT(-0.98)[-0.975]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:5716, ipnet:202.12.127.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] Reply-To: imb@protected-networks.net From: Michael Butler via freebsd-current X-Original-From: Michael Butler X-ThisMailContainsUnwantedMimeParts: N I tripped over this while trying to build a local release .. imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 10000 + $$2 * 100 + $$3}' 10001 imb@toshi:/home/imb> pkg --version 1.17.1 Is this expected? imb From nobody Wed Jul 28 17:30:44 2021 X-Original-To: freebsd-current@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 2620D127FDA2 for ; Wed, 28 Jul 2021 17:31:03 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) (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 4GZggB430Xz3rDT; Wed, 28 Jul 2021 17:31:02 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oo1-f44.google.com with SMTP id n1-20020a4ac7010000b0290262f3c22a63so845953ooq.9; Wed, 28 Jul 2021 10:31:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IOHk+Ty0cvy+oiJ73rcBaRAc9ilh/DRxFrWQNEopjOI=; b=ctJArdc4NN5bc1V8+UU3jTL+Rq6zSgfmKMFQ2aOeUVHES6UfVJhnlFDKsSlMA8/3M0 Ro+UdQ8NFkw4ANwFpoC7gxRQgsZJgaeYOwb5ZsWYy9q4RxREsIEPU5yQIu3KMSZVPz93 Koc/18cJxv+DFi4dxNknASI5Pnvp/AAZ/pJLVfNbjlbqTb6R01WP5LOfCukQHmLHtv99 iqHA5iqlOFJEDIxJKkqolsgbUZJqu8uRLiOcATFEgES3sYhSXA2V3lXpK2LkO8VB5C8L 4wfgcQuk1PN43ZKWcq20unlxnODfy8wgaeXGJbfv+K1KoRGx6bMIAzfG19W5BZK4jMg2 S1mQ== X-Gm-Message-State: AOAM5305ovKo1xZpN/Wm78phEN3M/iL+KtcOKjMFPBRaVw/TMERl6w/u JroZ9brTshk6OoWiHyTId3uZ42Ezyj1QcHB78viNdFbKq6Q= X-Google-Smtp-Source: ABdhPJw3O1QXZz8VJ8dZasTPG5NTfDnjOQiHLrWezeTx4w9SOJTgP7DcRnaI4MGDdwEPAAfSGF+ozqs3pZA0x4nwaGE= X-Received: by 2002:a4a:e1f8:: with SMTP id u24mr444329ood.61.1627493455743; Wed, 28 Jul 2021 10:30:55 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> In-Reply-To: <20210728172830.GJ1648@FreeBSD.org> From: Alan Somers Date: Wed, 28 Jul 2021 11:30:44 -0600 Message-ID: Subject: Re: Building multiple kernels with "make release" To: Glen Barber Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="0000000000004dcfae05c83259bb" X-Rspamd-Queue-Id: 4GZggB430Xz3rDT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --0000000000004dcfae05c83259bb Content-Type: text/plain; charset="UTF-8" On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: > On Wed, Jul 28, 2021 at 05:26:50PM +0000, Glen Barber wrote: > > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > > Is it possible to build multiple different kernels and include them > all in > > > a release image? release.conf says so. But from experiment, what I > see is > > > that: > > > > > > * release.sh does pass both kernels in the KERNCONF variable to "make > > > buildkernel" > > > * "make buildkernel" dutifully builds both > > > * BUT, "make installkernel" only installs the first kernel and ignores > the > > > rest > > > * Only the first kernel ends up in the final image > > > * It's not really clear where an alternate kernel should go, anyway. > > > Probably someplace like /boot/kernel.debug , but release.conf doesn't > > > provide a way to specify that. > > > > > > So is the "multiple kernels in release.conf" feature unfinished? If > so, > > > does anybody have a good idea about the best way to finish it? > > > > > > > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4acc17b410fb62a0/release/release.conf.sample#L32 > > > > > > > Last I was aware, based on a patch sent to me privately, I believe, it > > should work. > > > > Let me take a look. > > > > Oh, wait. Are you using 'make release' or release/release.sh? > > Glen > I'm using release.sh. I thought that was just a wrapper for "make release". --0000000000004dcfae05c83259bb-- From nobody Wed Jul 28 17:32:03 2021 X-Original-To: freebsd-current@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 C00DD12A9070 for ; Wed, 28 Jul 2021 17:32:10 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZghR4nFFz3sGJ; Wed, 28 Jul 2021 17:32:06 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4BzjYB+KASivOysDTnNMtxtYw8EQa4KSKu6uGUZNSbU=; b=DgZf0WM3rnz09MrLUCaAujKejAzb1sr7iqHicd6QVoGSWPTpUcGX5PbFHi6TteBZtyYhpB xaZfbErlZ9KbtFIeCnVX9KJiLUo5dSfeDixzP78dlb3aA1QgaGhlvLkGUGtQx8IWL8fJMC KF3FKLhusB/bexuYrhmGqLzW8vliknOJjvjkmMDTmgWMXWf84d5XJwiSKLLtyem4HSMeNx YU6c2JakJaVLj7R05xZRbljPcEsa9eQ9kvO+yGEkW3ii0YzrVV2kVdcLYTDRTEvPlgr+mL NpI7J6crSDgVUCzyuHPtwMuQ0hbfUTqjEWpoHAhfOXLMGUtleyEMsMaxuI8T+w== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id E08CE16C42; Wed, 28 Jul 2021 17:32:05 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 17:32:03 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728173203.GK1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FnOKg9Ah4tDwTfQS" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4BzjYB+KASivOysDTnNMtxtYw8EQa4KSKu6uGUZNSbU=; b=ZP1gQ2amG+QZjSzBVYRE/+FEwR0B8DRY79OJHyik9hDKKLcHiPqqjd3d4CLqx//zJlOQLA Nna40pB1qM5pp0vR4kowSq7F+iIlShbsE1Ftu5x3xH5lP+Nct+ixHCH01WssjZnk5pw5LJ zWdSMPQi1A6i7ZnCj3mfA/dPhbJr9d1bO1RkHGqNoLJzpgHA26yV2D5d5HLuXWCQSO4Syk rxLc2vnd1KRqy3yDy+0Zfkc+/89WAAN1OccdJ+zEBt8HCcw7nuF8AovEA3OaKoye+DOymr fpyT/kUPwcFviuYWdw7wEkUWQSfyDlBzsV23eD1/CB0JWG2QTm+N47QziLn/Yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627493529; a=rsa-sha256; cv=none; b=wKHnh40XaEzpvrpicpYnULCnzm/t+O1CTceT3FbC0GwPsf8zLngyVNT7Xmaq0dmueWxwbx sS26qOSDX688TakI9gkt0ppxeyveOG5vSd6iZX8istEWaMB0EB77/825JHSP2sLqsMjnAA Fy4K0Nj20RH0sV3J5ahUhDQ5JIbIJBebt8e0YGCoumE3XlM6NGZgxSXZOCGTdrc/2ENWCF L0oppXxudxQ0KXulPEmQUI+lmVnfTy2/zb80JvGs7XMsPCvlCB/3hDy0HVFEFp3PaWyjXy 2v9pjxV0ysVls8PLLL5+SotiadKFnt/AzGcDPFLf5JcDNsKI0EiVfVIZ/nQPcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --FnOKg9Ah4tDwTfQS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 11:30:44AM -0600, Alan Somers wrote: > On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: >=20 > > On Wed, Jul 28, 2021 at 05:26:50PM +0000, Glen Barber wrote: > > > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > > > Is it possible to build multiple different kernels and include them > > all in > > > > a release image? release.conf says so. But from experiment, what I > > see is > > > > that: > > > > > > > > * release.sh does pass both kernels in the KERNCONF variable to "ma= ke > > > > buildkernel" > > > > * "make buildkernel" dutifully builds both > > > > * BUT, "make installkernel" only installs the first kernel and igno= res > > the > > > > rest > > > > * Only the first kernel ends up in the final image > > > > * It's not really clear where an alternate kernel should go, anyway. > > > > Probably someplace like /boot/kernel.debug , but release.conf doesn= 't > > > > provide a way to specify that. > > > > > > > > So is the "multiple kernels in release.conf" feature unfinished? If > > so, > > > > does anybody have a good idea about the best way to finish it? > > > > > > > > > > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4ac= c17b410fb62a0/release/release.conf.sample#L32 > > > > > > > > > > Last I was aware, based on a patch sent to me privately, I believe, it > > > should work. > > > > > > Let me take a look. > > > > > > > Oh, wait. Are you using 'make release' or release/release.sh? > > >=20 > I'm using release.sh. I thought that was just a wrapper for "make > release". It is, I just want to make sure I'm looking in the right place(s). Glen --FnOKg9Ah4tDwTfQS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBlJMACgkQAxRYpUeP 4pNRvhAAgpfnbJCPmBn1PzwE2hxIzG7iGpSfqjN2oQp8QZiY+Ce5YZUD6ZK7R7o8 J9fcnU2e4Mkstflh+h6ckeA+Px2U6cx2x7a0aOKB6Dof+5g0NyHNUKYVqULggQ5r m3v66+Cnj1sYNNTjSF0K60oR5ySvFpcojNi/pk8TbSWp83m0zDgZ60nlvCXGYv0t w+rn6PHkMqzuARVbz4npFlLm6hU/GUCA+zHiX5tnXnNKL4XFHT7rt64lyMhuCL5R xyVxgZn3Kse5scn3uAOaVu+s2Y0R0kO/9ClKFNc1PEw0cjIZrWt9T6GAH13A7tec kUfTP5YA1HLurEL3TYfSoaEg4g32EWq2jzjpy7LYQsELVj0+ojUv6jeAaQHlk676 V9vxPJDIIFbdm+wuLgkZ+ZaqSEACmq73XGdaCWES4fjnAA23CS08gXAB/2nozams C4a42cxmNS0ePVptiWi8w6lNBnQArhxjDc/5MCSB/qh2u69G6FgWMkVWpgc0WXFs PlhLp40+iHG9B4Puk7LcSN58Xi1Y0J4yb6E0Bw2cVpHZcwpyK7uNLJv1eoF8GFuU cDkLMX/nqqlGuZvHadutqHDxQ4iz5h8O/WGwhmUkN0iLviCIZKTVMlTALDMbaujm vg6uS12cgc2OZ3gjkz7PILTn6EpmR4Y0OFtzZ7t9ULc7L48VKJU= =qu8A -----END PGP SIGNATURE----- --FnOKg9Ah4tDwTfQS-- From nobody Wed Jul 28 17:33:08 2021 X-Original-To: freebsd-current@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 15D4D12AA472 for ; Wed, 28 Jul 2021 17:33:18 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZgjm3XV1z3tKY for ; Wed, 28 Jul 2021 17:33:16 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1627493588; bh=uJxr5B0K ja0YCGEqOsSuANuCHo4S5NlRmeHQORkiZ8c=; b=BjvzMFjZAT802BQq6W3Ky3r9 8L/nKJAdFQqwhgCGJ3I9AtBoUm2u4A1HSUoUJEsn6L3nsbCm+gteIZhQsBZzbW0q I9ZPhK4Pxo4Tz0PDkObGuJOevDeoTvztrNFEHJTejBve8TY0G9W+m4Fa3WIrSvU6 M6uM6tmqE1J8MuoWFRo= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id D53954D2A3 for ; Wed, 28 Jul 2021 13:33:08 -0400 (EDT) Subject: Re: awk behaviour? To: freebsd-current@freebsd.org References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> Message-ID: <066b1315-bdab-b963-3a3b-ca2d6bdb76ab@protected-networks.net> Date: Wed, 28 Jul 2021 13:33:08 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-NZ Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GZgjm3XV1z3tKY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protected-networks.net header.s=201508 header.b=BjvzMFjZ; dmarc=pass (policy=reject) header.from=protected-networks.net; spf=pass (mx1.freebsd.org: domain of imb@protected-networks.net designates 2001:470:8d59:1::8 as permitted sender) smtp.mailfrom=imb@protected-networks.net X-Spamd-Result: default: False [-1.05 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-0.11)[-0.108]; DKIM_TRACE(0.00)[protected-networks.net:+]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[protected-networks.net,reject]; NEURAL_HAM_SHORT(-0.95)[-0.946]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] Reply-To: imb@protected-networks.net From: Michael Butler via freebsd-current X-Original-From: Michael Butler X-ThisMailContainsUnwantedMimeParts: N NVM .. it's the escaping of '$' .. On 7/28/21 1:29 PM, Michael Butler via freebsd-current wrote: > I tripped over this while trying to build a local release .. > > imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 10000 + $$2 * > 100 + $$3}' > 10001 > > imb@toshi:/home/imb> pkg --version > 1.17.1 > > Is this expected? > > imb > From nobody Wed Jul 28 17:36:33 2021 X-Original-To: freebsd-current@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 6BBAF12AE108 for ; Wed, 28 Jul 2021 17:36:51 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 4GZgnt42TXz4RZY for ; Wed, 28 Jul 2021 17:36:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82a.google.com with SMTP id k13so1914800qth.10 for ; Wed, 28 Jul 2021 10:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FrAtbZWHSE8fYjtGNoSuIjCotZ4AjQWXCMiMlPH34JA=; b=fYUJ1MDSBBm0iQqDIqAp6UuIJ9js++eI/EVs4xkyanIq7L/H6G/ImSCIGS7QpsdxNg E724+b1LAs9paDcBTr3SmJsHNotx8mbhvA/XqgoTX7ganm8t+R0DrG/o7UtU+UOpmhbF Y4knI6O6me7ybupJAThLoA2SMsrLdaoBDNT6IniUvW9HHGYZB/0NvXDEnTvSwHtDdwH/ 2cn/KSLKS/k0af5KdrNZHhIdnQNES07tGWHZO4VukvHDHRiPYHJQl29K2pENRugiz3oy NULD0amo61QXODHurRle7llh8n3+4b/RDfA5boWTBud5oZkLkTdgv32h+XzJP3KqhIPO PELg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FrAtbZWHSE8fYjtGNoSuIjCotZ4AjQWXCMiMlPH34JA=; b=iOo5v28+nUgpOvxYpv35uWTArajc+lIVvvSG47P/NiSewhrwiKl5CoOPV2DrundNcU bONkRD5/aRDo0Ydl1//TGS9D0chm3GgEVoK9pSYrrQTGfISdtuWLyjTjooqdj5dJKEx4 z+rQClD1MabMhYdpmcfFL4pHKMgV8TpLrfanTXNG9cop06bzKzQV6G2nYriPbPrOZqrH /AnhIqlN7qyAfwCAkIOZtAh9S/Jf0AwTVB6iZawchP7jiaF5q4VXjWrDwWwiRCCBpyBS jgouORfgAni1z/UU3dCeGE7PyaSkJ7gLoiXcvtDOcOOiFRQuen2Ot9HMu0XNRULKmBKn qqiQ== X-Gm-Message-State: AOAM530JsSdxPSgrfPNdvDcuZyfx5RjJuMWtwe1sESe+PhDd7YYzR/ej v0qIs3XtbOrbrN/Yp1EmCIRCI7B77KNdNt6fqeUvViBvEH8j/dIU X-Google-Smtp-Source: ABdhPJwBgAACf4dDBqJy66xeGc2JRdzCy3vaGJHgU4imlJOCqcmdSqor5CiKbBNOKON2kYB5yKZunSg3KEc/pjVNdGw= X-Received: by 2002:ac8:5b8a:: with SMTP id a10mr610666qta.235.1627493804402; Wed, 28 Jul 2021 10:36:44 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> In-Reply-To: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> From: Warner Losh Date: Wed, 28 Jul 2021 11:36:33 -0600 Message-ID: Subject: Re: awk behaviour? To: Michael Butler Cc: freebsd-current Content-Type: multipart/alternative; boundary="00000000000015fdb405c8326ed1" X-Rspamd-Queue-Id: 4GZgnt42TXz4RZY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000015fdb405c8326ed1 Content-Type: text/plain; charset="UTF-8" On Wed, Jul 28, 2021 at 11:31 AM Michael Butler via freebsd-current < freebsd-current@freebsd.org> wrote: > I tripped over this while trying to build a local release .. > > imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 10000 + $$2 * > 100 + $$3}' > 10001 > > imb@toshi:/home/imb> pkg --version > 1.17.1 > > Is this expected? > Why $$ instead of $? $ isn't expanded in '' expressions, so doubling isn't necessary unlike in make... With single quotes it works for me: % pkg --version | awk -F. '{print $1 * 10000 + $2 * 100 + $3}' 11603 % pkg --version 1.16.3 In awk $$n is $($n), so $$ in this context would evaluate $1 to 1 and then $1 to be 1. And then $2 to be 16 and then $17 to be 0 and then $3 to be 1 and then $1 to be 1 which leads to 10001. Warner --00000000000015fdb405c8326ed1-- From nobody Wed Jul 28 17:43:40 2021 X-Original-To: freebsd-current@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 CC26112B21FB for ; Wed, 28 Jul 2021 17:43:54 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZgy23pRFz4Ys8 for ; Wed, 28 Jul 2021 17:43:54 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 842661e4; Wed, 28 Jul 2021 17:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=0MN1frzj Hi+zzGaLL8Tmo4Z4zrY=; b=M6goHwrXaLAs4Al5EfXMyxJ6qiSt0AFthAbRKBF5 Bf0Q6IhOR9lJWynWLzQIog4e1YowEnyJXQQLA+H+yKY0ja/J5f1nY9dKbrjVCfKp xOGMy7Hf6mpnbUmfkach5kYvLx/lKHuRjwvRD1M8f2bjNv8N1gsGsKMfjC9aYvFd yQnHgSXydmbdAulCjKuawKH6WpAmnqHTWJlYDYHkleCOM4Dy691rcy/lVNllZ55h ZAFVCD+wEe7LMLTOJ1Y/acNqa3o27ET84rcTod8H28tdRn2WeIC4mE5iIjPx4Z8Z gyAyvj3SkqSHMVzVak9IYkFWiIJX2It863OqCiyGlePmjA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=VP tGlgoay3nESDOm1UoAP5znvZT9nme5Pc0DLSpOP77JO0aExZJOaWs4zu+hHr1XdQ TxhY8M2XFrw3nwaG6jWFLr5DSWIULfWgwX7RrwID9+hdiKMG5Tic06Z7hURmYYaZ fJcNKm2MR+VCxcxqetJkIQp9Sg6kzexTI8I7jLHduEMukHjups7OL5TSeEr5Y6mw f67VzJl6GbiPB/g5/kuTEoPStn69Z5n39HQOzKr3iyuzH6vNANwXdPJyfO3/WV2O x5PdQsiaKLw3FQD1zEcKiSpYO+19paeyoRiEjSmXUkj3zS52Axl6kEqfQHWlxS42 xMdu6iwKnTE7ULQ6OlvQ== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id b20c2e7a (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Wed, 28 Jul 2021 17:43:41 +0000 (UTC) Date: Wed, 28 Jul 2021 19:43:40 +0200 From: Michael Gmelin To: Michael Butler via freebsd-current Cc: imb@protected-networks.net Subject: Re: awk behaviour? Message-ID: <20210728194340.469c2ee4@bsd64.grem.de> In-Reply-To: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GZgy23pRFz4Ys8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 28 Jul 2021 13:29:20 -0400 Michael Butler via freebsd-current wrote: > I tripped over this while trying to build a local release .. > > imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 10000 + > $$2 * 100 + $$3}' > 10001 > > imb@toshi:/home/imb> pkg --version > 1.17.1 > > Is this expected? Yes, as you're using $$ instead of $. With single dollar sign you'll get the expected value of: 11701 With double dollar you reference the content of the field, so in case of 1.17.1: $$1 * 10000 + $$2 * 100 + $$3 is equal to $1 * 10000 + $17 + $1 Which is: 10000 + 0 + 1 Which equals 10001 -m > > imb -- Michael Gmelin From nobody Wed Jul 28 17:56:57 2021 X-Original-To: freebsd-current@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 18A9D12B7D70 for ; Wed, 28 Jul 2021 17:57:00 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZhF76xNbz4f4j; Wed, 28 Jul 2021 17:56:59 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627495020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=k4BIyrHyPQcRxfQW1Cp9jPshfKG6vFkSaF4WRnWk66Y=; b=XP8eJasKSaw61JI6iJAHAPKDgsAl6AFLDhMl+oJ/M8QJYNyFwylrbO4FSWlrv8fuiYc6Ms 4QJWdif4Cb85HUZoH6ibCKJxlI99gii1srf+C5gQjrMEo+jcHSXdiuIC3c8gKdNmPyWTlv /Yjr8KiRb09YUnZ4xUlvrhQzhrXer9iHaGMktDr5vGymzyTVWXAI6TY/be3lt/MRKKUx7p OkGiVtbvBU/MWNlY2VESwdglCILAvx+V9lEnofEdv7QRXxkjx5dCLTGYhL9izwAno7xE4V pJktIRot0qxwRlB8SbrxUY1DrjQJlJZpwzinX+ASC6ozuBBWyzLSLcyurSQexA== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 8116E16E36; Wed, 28 Jul 2021 17:56:59 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 17:56:57 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728175657.GL1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UUMz/kfoogzZ9WLZ" Content-Disposition: inline In-Reply-To: <20210728173203.GK1648@FreeBSD.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627495020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=k4BIyrHyPQcRxfQW1Cp9jPshfKG6vFkSaF4WRnWk66Y=; b=kBUfUfS4nJE1QEGbbFwekOEzq9qsT7EjJFeZsHJ5D4D39vTM672CEg3RleySNZCTCbeg/J FXLyRilcz+hMVAXZ1qCDs8JlDhMHFyf8JyTm0i2+j30D+tcok1FrUFt6ASuYO2KYyZUZdR mdudN6KjFAZfJgcQl39FLSjhQx5p3ZC64o8aqwasN+ImJtLEn6+yO3FxwtqsJ4Z3YsnlXz Nydg+rWjresWfiBOGWK1ndxvC5PdnJ+OgUfwAu+VXysRMHT+63tmNBnSqMA+ZoriWivDWR z0jOLVSLucPk40HxbjJ69Lf+Gbv8MPWGJPmM7KLN1VSV/KcNM9/2BzeDyANOJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627495020; a=rsa-sha256; cv=none; b=x/S6U0nfInL9U6rzFfts5FWg78pWm81UmfUYLyjphi9nDTG81tH7Rhd+1OBdi5MtnG6nk/ ORCjZs3yaii9HFbVIsMj6Lc4BUNy7KghiOQXthKU1U7ML3Paj2jJp3SR80jydanMG0+cKj R0IkHn1P/fG9FC4ntSmbgsoTF31Ss4GgKG3Q9iytuypkgnqhGKmZDR5kUux1I4IGFS1crP OVqojW7QxNIimvCYEZ4qLUCkFV1zk6p2FbeOpI9uNSdqcIzRrbYZSliD//A3Cp/+vm3bcL R9enRCPWVU4xNo0lICKTWpyrmMP+YIf4WX/4CWyHNog1kgIMbCVO+RlmmAJW4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --UUMz/kfoogzZ9WLZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 05:32:03PM +0000, Glen Barber wrote: > On Wed, Jul 28, 2021 at 11:30:44AM -0600, Alan Somers wrote: > > On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: > >=20 > > > On Wed, Jul 28, 2021 at 05:26:50PM +0000, Glen Barber wrote: > > > > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > > > > Is it possible to build multiple different kernels and include th= em > > > all in > > > > > a release image? release.conf says so. But from experiment, wha= t I > > > see is > > > > > that: > > > > > > > > > > * release.sh does pass both kernels in the KERNCONF variable to "= make > > > > > buildkernel" > > > > > * "make buildkernel" dutifully builds both > > > > > * BUT, "make installkernel" only installs the first kernel and ig= nores > > > the > > > > > rest > > > > > * Only the first kernel ends up in the final image > > > > > * It's not really clear where an alternate kernel should go, anyw= ay. > > > > > Probably someplace like /boot/kernel.debug , but release.conf doe= sn't > > > > > provide a way to specify that. > > > > > > > > > > So is the "multiple kernels in release.conf" feature unfinished? = If > > > so, > > > > > does anybody have a good idea about the best way to finish it? > > > > > > > > > > > > > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4= acc17b410fb62a0/release/release.conf.sample#L32 > > > > > > > > > > > > > Last I was aware, based on a patch sent to me privately, I believe,= it > > > > should work. > > > > > > > > Let me take a look. > > > > > > > > > > Oh, wait. Are you using 'make release' or release/release.sh? > > > > >=20 > > I'm using release.sh. I thought that was just a wrapper for "make > > release". >=20 > It is, I just want to make sure I'm looking in the right place(s). >=20 Just on a hunch, could you try with adding INSTALLKERNEL=3D"${KERNEL}" to your release.conf? I now seem to recall some weirdness with this, but the exact details elude me at the moment. Glen --UUMz/kfoogzZ9WLZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBmmkACgkQAxRYpUeP 4pPX2Q//btJsc7pI7M6qU9fFgyotzkrMTc5KXrJ4oLYqOasAn2FejQoubrGZd8Dd KaK11Oas1gtPqeqg2whFEgkmx1rOcnz4OkTYg560wdTQlnbT2e+Yc7YAwrtL2ytM k0veryBT8IA9r6kg036CbGHz8+TCAP2yXDIs2Ou6aUvUvQYkp0IpeFFMywIliT6R go/U8YFWLAJ3MfJ826Jz2MriPsIv167dN05zcBKiK1+ahyhMU7vWxGu5H9lT5tM0 vmyh+sdtKUa4OvI8Upcpuw2HBANhmwZTsi4A/IIfY6TT/acnEVsh4pVlyw3kf1Dn KMUK0VtNauJqGCeHtHnNXinkDnngUXvJWwTdTh06ocWT/3rdJe3WVxc54lfJRaeo P2VSDQQpfkbLkm8jDMX0ogV4JiLmwFyoAGweJBjv2TkRLWaI0YRWNFeWuZZ78Wfm 8iWBoH51py1I3BPmh+grfi5MtfKYEPgLA+lFDMHS+PFI0p6MvbiLOztc7AviYsGz 2Fio4y26b5N+R7MU9Mf5w5wzdMpQVs9fIiElouVnpkrb3Ckr/ngOU4nKZpZAQwuy gkgxhsF6LAP6ChiFJkPw7s+t4KdLSrIMjpIrRjem4nLJFds1qi8Dn7lVVhQtbJ2f E9Pk0jLmOC52b0ENLVKCukea2uE4fJ4vg53bC/47RRajWR6D1YQ= =CXCV -----END PGP SIGNATURE----- --UUMz/kfoogzZ9WLZ-- From nobody Wed Jul 28 18:05:25 2021 X-Original-To: freebsd-current@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 C9B7412BB9A4 for ; Wed, 28 Jul 2021 18:05:43 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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 4GZhRC4yg0z4j0f; Wed, 28 Jul 2021 18:05:43 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f48.google.com with SMTP id 68-20020a9d0f4a0000b02904b1f1d7c5f4so2973960ott.9; Wed, 28 Jul 2021 11:05:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+gL/q3OojU+wSx6ymzB/yBaykKPFlQLZy+d5vxNsk10=; b=kadRzBi4uxp9Yed4+hEV0tsEB3ndl2xM4aK1ZEf+fliXiUqdmTFJcfFq6+YL1uD6sT QqTeIMFTn0SMWHHdNspYd8vLgBs719IE8e7K3Hng1lDRwp+yirAraGqCYEDjsBHl/sz3 t8PvXkqSQAzuDdSOQZsNsVQ2jMeZ88CRGj39Z2Ijuy5Raxrn+6T6D6wUkrHMELg3zUJT podS7bfuSy3aSbm1LoRVq+nHaYRJLmlcUxBeHjp/7a243qMcYVstiXjZhsNpYWgdfW5/ AJqJMHrHUaR87KEV1Mn6p2UienupMEm8/e+4uG2jYlu91P8rfzUFzyI0Z6SEa141E9+H oKaA== X-Gm-Message-State: AOAM530xQbpVYXkl9Ec/lYYNZyEmtMgLMf9ZT7Gu36Z1T5l4oH2Gmv3l ZsblNhYGM0wSusVjoCFBKsKaG3h0WTHx+yZ6iAY++V1E+Eo= X-Google-Smtp-Source: ABdhPJyAI1g+/lozRzpGrc5NiziH73dz2RBBIbei4oENz2K/gk2qlOO1r+T+7Q7oN4hU3fBid8YjQlAcJDu9IR4WXH8= X-Received: by 2002:a9d:d04:: with SMTP id 4mr912585oti.251.1627495536548; Wed, 28 Jul 2021 11:05:36 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> In-Reply-To: <20210728175657.GL1648@FreeBSD.org> From: Alan Somers Date: Wed, 28 Jul 2021 12:05:25 -0600 Message-ID: Subject: Re: Building multiple kernels with "make release" To: Glen Barber Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000545ecf05c832d596" X-Rspamd-Queue-Id: 4GZhRC4yg0z4j0f X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --000000000000545ecf05c832d596 Content-Type: text/plain; charset="UTF-8" On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: > On Wed, Jul 28, 2021 at 05:32:03PM +0000, Glen Barber wrote: > > On Wed, Jul 28, 2021 at 11:30:44AM -0600, Alan Somers wrote: > > > On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: > > > > > > > On Wed, Jul 28, 2021 at 05:26:50PM +0000, Glen Barber wrote: > > > > > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > > > > > Is it possible to build multiple different kernels and include > them > > > > all in > > > > > > a release image? release.conf says so. But from experiment, > what I > > > > see is > > > > > > that: > > > > > > > > > > > > * release.sh does pass both kernels in the KERNCONF variable to > "make > > > > > > buildkernel" > > > > > > * "make buildkernel" dutifully builds both > > > > > > * BUT, "make installkernel" only installs the first kernel and > ignores > > > > the > > > > > > rest > > > > > > * Only the first kernel ends up in the final image > > > > > > * It's not really clear where an alternate kernel should go, > anyway. > > > > > > Probably someplace like /boot/kernel.debug , but release.conf > doesn't > > > > > > provide a way to specify that. > > > > > > > > > > > > So is the "multiple kernels in release.conf" feature > unfinished? If > > > > so, > > > > > > does anybody have a good idea about the best way to finish it? > > > > > > > > > > > > > > > > > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4acc17b410fb62a0/release/release.conf.sample#L32 > > > > > > > > > > > > > > > > Last I was aware, based on a patch sent to me privately, I > believe, it > > > > > should work. > > > > > > > > > > Let me take a look. > > > > > > > > > > > > > Oh, wait. Are you using 'make release' or release/release.sh? > > > > > > > > > > I'm using release.sh. I thought that was just a wrapper for "make > > > release". > > > > It is, I just want to make sure I'm looking in the right place(s). > > > > Just on a hunch, could you try with adding INSTALLKERNEL="${KERNEL}" to > your release.conf? > > I now seem to recall some weirdness with this, but the exact details > elude me at the moment. > > Glen > Setting INSTALLKERNEL="GENERIC-NODEBUG" during "make installkernel" overrides whatever KERNCONF was set to. But it still only installs one kernel. Trying to set that variable to a list doesn't work. -Alan --000000000000545ecf05c832d596-- From nobody Wed Jul 28 18:37:02 2021 X-Original-To: freebsd-current@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 5203712BF46F for ; Wed, 28 Jul 2021 18:37:05 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZj7P1tJmz4myg; Wed, 28 Jul 2021 18:37:05 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627497425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4pq7nQed+6n9Dx3Q4bW0e8VXRxovoFe7rkG4cXeWSi8=; b=oUKfvNyJXLfUnv+HntHXqxF3jjAjtPzy1HzCBuokXQBAg5O8asR+iYVR56udpI4enkq+/h CqrvaztrU197ydHpLb1Nv9FBZ2WucPWvfZ3h+RsY/sSKjUpS9kl/tHRoI5aaM9tANbmuDn wkaht/KpwhfAaVT9iCFvgylYi2N1mCVZiFJ9XEjmJk41GqzA/LBdVdU1jjlWXdeEg9zUCx A1RuuoXwLRJdUVZgaGujllwh1LrV5HyN19fh/G+icwI6KZaebcefbry5aKtW8ifTCClK5l cGpZcNj04ZNFnKPZPV9OzNmUzb9FYb1KYan4j3rfSkVoiWL5QEAb5tjfeSyovA== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id D6B38170D1; Wed, 28 Jul 2021 18:37:04 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 18:37:02 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728183702.GM1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sy9WyBOsCRoUO165" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627497425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4pq7nQed+6n9Dx3Q4bW0e8VXRxovoFe7rkG4cXeWSi8=; b=ZVofMt6vWEGzYqBx519MMhy2LWLm7MAVlaWLHlRPdDMuBfeopNtVrfYLmhLJUY72i/9B3a QB1lRlHomei2Sex+lwlCYndwtleRa9AzI2/aM71QIbKKtFkGS2A9qNXP5ti3LH6x4Ozq6Q 1Dm+WPWkvg81W9HYwfYbzCO5HSg8hja9CW9QmcNqCtRvs5i0iENdC5Ee0vajLesN4jIyuS pYJgNQQ3oXrNb5sxRuliR7wiVR8qBkqn5tJr3rdpRHbPiukr7a7ze1/6BiVmCx+mir0c/e X2yoJLYKOjTCXuYmt0rkBVx8pffDsi+BQJoQX4//llvzna48xVsFAp8fhv/h7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627497425; a=rsa-sha256; cv=none; b=aWPsAxySTqOoi952xwNJZrSrEsxclyYh8j82LIj47dfnDQmF+dCWDh5Fk65nVYUIbotURy 5qPZfAsOPqoykTGkTIZRDraiRLUo1NioO/aOFieN5kdb27Odr26cBcyz8eYlP8kDU2z1/V 9XzthMIKrjvbdgzO+7mkOXWVKdh03z2qMRgVan2A9sjClRp72NWQSr1MlvrFjD1yZnuMYP QCwbK1Qr8teDlRGTZivR4jVFw8KRrjwqnDIesWVeiQ74po2HbT8cw76DotxNlANbx5ZXpK SFTqHs02CMouyft0WAugW1bBg0a8ilo1SfJQT5JliorV+ao7aEcNv8Lb1s2GTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --sy9WyBOsCRoUO165 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: > > Just on a hunch, could you try with adding INSTALLKERNEL=3D"${KERNEL}" = to > > your release.conf? > > > > I now seem to recall some weirdness with this, but the exact details > > elude me at the moment. > > >=20 > Setting INSTALLKERNEL=3D"GENERIC-NODEBUG" during "make installkernel" > overrides whatever KERNCONF was set to. But it still only installs one > kernel. Trying to set that variable to a list doesn't work. Ok. Give me a day or so to try to figure out what is (or isn't) happening here. I do not recall any recent-ish changes that would have caused this, and I am 95% certain it has worked in the past. Glen --sy9WyBOsCRoUO165 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBo84ACgkQAxRYpUeP 4pN1URAApRCP+V3+336l+G30L760+D03sHKepAqSil7r1H4/aMVe3tyYqwwNKu86 DENygnpxxdH41+73omTqliIgv2+1QdROcwZVyMya7WVAEik4CL/PRoc1lt7Dn+2C LBuL1lrRTlACnxwi4d/NIbSl1jbIQuDEag2rRxMaUDGMeAtnQPqate5hfNT0wZGE tXtARigXMXtLFOD2UQyD4/J3GwfCspMw9cutpX+biZtNUcchhjaqqRyZY2Wtye/n N0Uq6kwIF1trIR9o/2DF6hy1ZVr9YjEkapLu+T2+/tyLG0syHAJwUSeNkSuyfycW S3kgqkdsW01cSbWCNVP8ykbdwa680ehNyIASfnRTXkiI9ubrWafWadBg/pSKJZKI jeh+4d+N+D61o3yPAvdWTu7o7aQ/1QrR2cWgobWt1n55ENP+YBM1kY/7kMMIvbmt 5MYZZ1P7XnCSta5w2Jbvrm6X8kD3GM8N7MGwsB6yKWD3cY/buOtADSbiusude4pK z/I6MGEJBjfpScZ4fw63tWdLbaB8c8YShronCD/y4mffmZK6mamazIk3Jj7nV1dt 6s6tI2ubuzxb3kR2XNPqmOWALbnt0B+rbC766+wFFy2MHONx1TtGkjJdaPcsfH8M fSM2MM0hoXSETqp0O1UItyOz/tFjkGwqdZC2kvAicCavXubTDww= =CLJr -----END PGP SIGNATURE----- --sy9WyBOsCRoUO165-- From nobody Wed Jul 28 18:46:19 2021 X-Original-To: freebsd-current@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 944EF127AA87 for ; Wed, 28 Jul 2021 18:46:36 +0000 (UTC) (envelope-from SRS0=KAfI=MU=FreeBSD.org=otis@ns2.wilbury.net) Received: from ns2.wilbury.net (ns2.wilbury.net [IPv6:2a01:b200:0:1:f816:3eff:fecd:13e6]) (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 (2048 bits) client-digest SHA256) (Client CN "svc.wilbury.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZjLN33F6z4qVX; Wed, 28 Jul 2021 18:46:36 +0000 (UTC) (envelope-from SRS0=KAfI=MU=FreeBSD.org=otis@ns2.wilbury.net) Received: from smtpclient.apple (gw-upc.owhome.net [188.167.168.254]) (Authenticated sender: juraj@lutter.sk) by svc.wilbury.net (Postfix) with ESMTPSA id A608745D318; Wed, 28 Jul 2021 20:46:20 +0200 (CEST) From: Juraj Lutter Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_6792B993-E51B-431A-8A3A-017674A104E9"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: Building multiple kernels with "make release" Date: Wed, 28 Jul 2021 20:46:19 +0200 In-Reply-To: <20210728183702.GM1648@FreeBSD.org> Cc: Alan Somers , FreeBSD CURRENT To: Glen Barber References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on ns2.wilbury.net X-Rspamd-Queue-Id: 4GZjLN33F6z4qVX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_6792B993-E51B-431A-8A3A-017674A104E9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 28 Jul 2021, at 20:37, Glen Barber wrote: >=20 > On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: >> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: >>> Just on a hunch, could you try with adding INSTALLKERNEL=3D"${KERNEL}"= to >>> your release.conf? >>>=20 >>> I now seem to recall some weirdness with this, but the exact details >>> elude me at the moment. >>>=20 >>=20 >> Setting INSTALLKERNEL=3D"GENERIC-NODEBUG" during "make = installkernel" >> overrides whatever KERNCONF was set to. But it still only installs = one >> kernel. Trying to set that variable to a list doesn't work. >=20 > Ok. Give me a day or so to try to figure out what is (or isn't) > happening here. I do not recall any recent-ish changes that would = have > caused this, and I am 95% certain it has worked in the past. According to Makefile.inc1: make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D should install KERN1 and KERN2. Similar goes for buildkernel. Or is there something I am missing? =E2=80=94 Juraj Lutter otis@FreeBSD.org --Apple-Mail=_6792B993-E51B-431A-8A3A-017674A104E9 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQR9WLqI3W4V0bRHtaAtyIKFszIZVAUCYQGl+wAKCRAtyIKFszIZ VHpaAQCpDtunmyWBu3twEHzf64FX9tQ+24Ovc1rV72EcPObakAEAoM0LFErrCG2Y QW91vuajAhSrRkRnkJtsCx+eyath/kg= =vzXI -----END PGP SIGNATURE----- --Apple-Mail=_6792B993-E51B-431A-8A3A-017674A104E9-- From nobody Wed Jul 28 18:57:34 2021 X-Original-To: freebsd-current@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 3F098127D4E4 for ; Wed, 28 Jul 2021 18:57:37 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZjb51Fzgz4t5c; Wed, 28 Jul 2021 18:57:37 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627498657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cDo1C+q/QpeprU1h167y2EmvLxWt1CXnsAbrXtbckTA=; b=EA/9ue2Dr+IA2JgK3qJX0mTYLY5PrujdH4CWUitUHzKMAgT+bPqMk7D877aeZB2RymtX8b WWln8/jphE0PZEe7bXXMpCuUhFZgOWnpxcz2vjfF4QNNrnopvmd97ZphBru6AKCTu8JIZW KJBnwSSpJLZpudUip0uv91bDBuzIRFe4BxBIZgd3YZlgCVc2m3uhdcTklbwG5ihCFvHym6 kA9aZWSFfndZDeAI5TtRVS05FZxm28CGGmWAaYjFCFgA8FYHWNjC/A0fzKRcjkqr6nxaLS k9iiga/UibeJWJlznZdpNuiPFcrNyEOQLECqcXlnmV7X9IN5ll8U/m/lsP32/w== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id BDC481707A; Wed, 28 Jul 2021 18:57:36 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 18:57:34 +0000 From: Glen Barber To: Juraj Lutter Cc: Alan Somers , FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728185734.GN1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0lsrIB+s628ok5gC" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627498657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cDo1C+q/QpeprU1h167y2EmvLxWt1CXnsAbrXtbckTA=; b=owHd48DxD/WOfvf+dT7xATa/szErfOKiBng8MFDUMjkhM3Q6J6/L2BPUhCvcc4JI8DEglf mFTcEv6Hhp16semyBQ/5k1qioKYl9ICJXqQCIhPgiNbf53/W0fWGpKXJSut6+g5g1989KP N/4pguPClAaSHIl4NTsuWLtj6DbT8XfNASOAk0O4TMyqwykRkhKSfo8CD2EqA5NW1ClqtR 7CM8Z50skhHq+cBzZdo4epGPgryAiP9hRYEuNHcmFhrrXWu/5LBzQx4A1K5PzZdkEkP+/i LrpJtCsmSb/WRy8iGcxeRqP0QqgdTeVoAlTpVkxrP6rYwi0M9wOvkV+wsnIeMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627498657; a=rsa-sha256; cv=none; b=fKiC6/w13Fdd7At75WF/NAIH1PxGvFNZxt/dEhF4zmZpCuIkyH1zKaypRGIOt9C4C8upDw s8QYCuVynhrSRmxazqvxyvn4n4Q6mn/GXxrVG72GHwny1+4hlIhyuaDlcBxG4N11b58pd8 Bkzs4cipo9mqnbSgT9U/efNjVRNf9/LGIBv+JCVXdKw2tEGsL3dvhTA3O9ZKiNvP3jL9Av tFnWdeY87l4cEKoUF+jbewTvoTYr3rhCXBjSMnvAoEveoZIM7TEYub8vUTlhMq1ZL7fjuq 4nI9Gg5bUVVArDfNy2uBoXx0oJlOOzspWin+0Oo+c8m94Xcl643OPWqYdDsOPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --0lsrIB+s628ok5gC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 08:46:19PM +0200, Juraj Lutter wrote: >=20 >=20 > > On 28 Jul 2021, at 20:37, Glen Barber wrote: > >=20 > > On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > >> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: > >>> Just on a hunch, could you try with adding INSTALLKERNEL=3D"${KERNEL}= " to > >>> your release.conf? > >>>=20 > >>> I now seem to recall some weirdness with this, but the exact details > >>> elude me at the moment. > >>>=20 > >>=20 > >> Setting INSTALLKERNEL=3D"GENERIC-NODEBUG" during "make installkernel" > >> overrides whatever KERNCONF was set to. But it still only installs one > >> kernel. Trying to set that variable to a list doesn't work. > >=20 > > Ok. Give me a day or so to try to figure out what is (or isn't) > > happening here. I do not recall any recent-ish changes that would have > > caused this, and I am 95% certain it has worked in the past. >=20 > According to Makefile.inc1: >=20 > make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D >=20 > should install KERN1 and KERN2. Similar goes for buildkernel. >=20 > Or is there something I am missing? >=20 Nope, I think you found what is missing. I'll test changes to release.sh tomorrow after tonight's snapshot builds are done. Thank you for the hint. Glen --0lsrIB+s628ok5gC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBqJ4ACgkQAxRYpUeP 4pM7nA//Z4bK44H+qJMBRtwIKJxuyWt73OQQVCMOMYqkp8xxitspLpliFJPWk07o 1uGJ+f20hbJ8ZW8bpJm8erS0zI2pA4PDiCqpE9Tch6fp3qHpsgIpvNMVSHdgQ38w 7fvsd4jnTy27t1kRCpMyKFIMzpqr0JPCM3WoK/B9Z/uShO1u2Af87/ga8ByWzQbN 0kz6jdFXRozW7fV0kARUwO6qYPMSwdHj1hCXsQSBS7VwOH5b2JfVOYZLWX8ApaWw HP4v1aojaxySPamgo2JDe0YBB8bz0RVqfCbgNoCYmGLp9GIv2A33gHvMrRGYnwhB Mbfjooere9m84xScq/3t1caBLmAZvv+D92OxshyMS+I0DXcH3SxvtS/9u6H0QZRU nh1pSjLSkdiUUMqTcnX1F3A7Recz6KWt2c6abKNDhQICMej5B7+UnpW+TXbe/cjL SyIo3yHExZH3ZRS0G9AB/j0xypeGIxaHxhrEaCXRdONKgCo0hF1Pifg1TD7un3LY OsaExaOcyfSWIb+91qVnguqruVvy/M0WqTHQTXYh0FXUd05qNSEAnkXwBDo3uZ5c H+Ue002MReolFQA5oA2QHIVJLpTPBSI1UYgOM7o1cKBVbqOxzsfYAUKfewl4nyng tTLZgUQAwdtXvsyXsgW0sV+qp8l9vWVHVhgU3i8hp2AE+C6CKE0= =map2 -----END PGP SIGNATURE----- --0lsrIB+s628ok5gC-- From nobody Wed Jul 28 19:12:22 2021 X-Original-To: freebsd-current@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 B9F5812A8C9F for ; Wed, 28 Jul 2021 19:12:26 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZjwB4JChz3CjP for ; Wed, 28 Jul 2021 19:12:26 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1627499543; bh=8a6VMTbj F8QL4q1ZS2QSwd5v8HdgOOCGTzHS52ZfMAw=; b=nS7byAalrpzQC6g6w2XX++No JqN7KDYSx6S3Z9UIQrvBCu7RrJwhnrp/MVv52ZpS1tqeSi7oRAbi/WEgkzn5oAXU LSrUt2eUokT9YuW6J5GSRSrfjqg96IzJwM0801mTCcN2fN2pbzeko3h3KYwDQMqv wZ9PSSj+FxqpbPAi8+w= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 32808279A; Wed, 28 Jul 2021 15:12:23 -0400 (EDT) Subject: Re: awk behaviour? To: Warner Losh Cc: freebsd-current References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> Message-ID: <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> Date: Wed, 28 Jul 2021 15:12:22 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GZjwB4JChz3CjP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: imb@protected-networks.net From: Michael Butler via freebsd-current X-Original-From: Michael Butler X-ThisMailContainsUnwantedMimeParts: N On 7/28/21 1:36 PM, Warner Losh wrote: > On Wed, Jul 28, 2021 at 11:31 AM Michael Butler via freebsd-current < > freebsd-current@freebsd.org> wrote: > >> I tripped over this while trying to build a local release .. >> >> imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 10000 + $$2 * >> 100 + $$3}' >> 10001 >> >> imb@toshi:/home/imb> pkg --version >> 1.17.1 >> >> Is this expected? >> > > Why $$ instead of $? $ isn't expanded in '' expressions, so doubling isn't > necessary > unlike in make... With single quotes it works for me: > > % pkg --version | awk -F. '{print $1 * 10000 + $2 * 100 + $3}' > 11603 > % pkg --version > 1.16.3 > > In awk $$n is $($n), so $$ in this context would evaluate $1 to 1 and then > $1 to be 1. And then $2 to be 16 > and then $17 to be 0 and then $3 to be 1 and then $1 to be 1 which leads to > 10001. What prompted the question was my (obviously poor) attempt to debug and resolve this failure when attempting to build a release for i386 on an amd64 .. make -C /usr/src/release obj make -C /usr/src/release ftp cdrom memstick.img mini-memstick.img mkdir -p dist cd /usr/src/release/.. && make TARGET_ARCH=i386 TARGET=i386 distributeworld DISTDIR=/usr/obj/usr/src/i386.i386/release/dist make[3]: "/usr/obj/usr/src/i386.i386/toolchain-metadata.mk" line 1: Using cached toolchain metadata from build at vm01.auburn.protected-networks.net on Wed Jul 28 18:01:01 UTC 2021 make[3]: "/usr/src/Makefile.inc1" line 1864: String comparison operator must be either == or != make[3]: "/usr/src/Makefile.inc1" line 2073: String comparison operator must be either == or != make[3]: Fatal errors encountered -- cannot continue make[3]: stopped in /usr/src *** Error code 1 Stop. imb From nobody Wed Jul 28 19:17:44 2021 X-Original-To: freebsd-current@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 A222012AB917 for ; Wed, 28 Jul 2021 19:18:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 4GZk2d434fz3G44 for ; Wed, 28 Jul 2021 19:18:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x835.google.com with SMTP id a12so2165626qtb.2 for ; Wed, 28 Jul 2021 12:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QAIEYOR6pBHf/Js5XsFmkqiTU/8RV0D0JuwMqu8MOgA=; b=g9gyyJ5MskiYAbjBo/sjJXusqMbuy6t2ro2G9sOqpEBBFTOiMFs/roqk6ofa/J6l85 nvS4ZQIVhAAJyJnMU4Ou0TzdUu03rx/7XCPYPhQgqE+BQmVAN1UxJbXHHM0d21QexQu0 KzS8w+om41SykGZNi+aBk4IB6BM1XLGPiA2rn7n1NxOekxALW2bRrKYXeITjdKYqr7IB Mltqj6SKTryo/R3HWsCZJTJtr/ROk6RTsLXRtrqo3P35nRXm/AFxShZ3pamAipIObS4D lC4cSyJLEb1fmxbo581CFE+v+PmQdRNWGG6QrzZY8OqOmNwLdkE/9saS18CnUR+adguy PJPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QAIEYOR6pBHf/Js5XsFmkqiTU/8RV0D0JuwMqu8MOgA=; b=M2jWM/U/3VAlckXA7te/GaFV3sLkJW8BLON1k7sALcwJMIieHoA9wcEpF3tr8xI75Y p4z/RcGkRIY8bzKJkiQAIcu83F/5E0rpUbGN6xeEtcaxlEWBXqvGSqbfqyoJ5F13mR7U wxc2t4I+iTfjV4M/sky1NbBbnSmXjixMhqCdSxv3fQ1yt0sfvOEmDc0uY9NbE9mzawiF TMkRC8phQ6eb1Mt7zwBiZSkPO7WC5peLs0Qeu84vQAoT7um6a0iV7TL7B48+onIjvsbY cr/3e7RoniDjI6a4APez/A58Z5f/F6l0lWD5k8xUjTxYX5EP7lr7iTrb4BKUnBt8RuF6 GG/A== X-Gm-Message-State: AOAM53260dyVMxl64P1w5OH1qXZ1s22Tjs+bHcRPbgwCrxleK9ZRgjSR Q2d0RSN0dNDcGTypU7AidYgtqjW4FChsRPG9J3t/1Q== X-Google-Smtp-Source: ABdhPJyjrbHXAafO6dLhVA8wak4lCw26JjPjNPvq+6Hunse/fu6yaarOCXnL+z0P5UtTVjJJkLgcRgLAr6txNB6/mpE= X-Received: by 2002:ac8:6759:: with SMTP id n25mr1012893qtp.49.1627499874952; Wed, 28 Jul 2021 12:17:54 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> In-Reply-To: <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> From: Warner Losh Date: Wed, 28 Jul 2021 13:17:44 -0600 Message-ID: Subject: Re: awk behaviour? To: Michael Butler Cc: freebsd-current , Ed Maste Content-Type: multipart/alternative; boundary="000000000000eb3dee05c833d7dc" X-Rspamd-Queue-Id: 4GZk2d434fz3G44 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000eb3dee05c833d7dc Content-Type: text/plain; charset="UTF-8" On Wed, Jul 28, 2021 at 1:12 PM Michael Butler wrote: > On 7/28/21 1:36 PM, Warner Losh wrote: > > On Wed, Jul 28, 2021 at 11:31 AM Michael Butler via freebsd-current < > > freebsd-current@freebsd.org> wrote: > > > >> I tripped over this while trying to build a local release .. > >> > >> imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 10000 + $$2 > * > >> 100 + $$3}' > >> 10001 > >> > >> imb@toshi:/home/imb> pkg --version > >> 1.17.1 > >> > >> Is this expected? > >> > > > > Why $$ instead of $? $ isn't expanded in '' expressions, so doubling > isn't > > necessary > > unlike in make... With single quotes it works for me: > > > > % pkg --version | awk -F. '{print $1 * 10000 + $2 * 100 + $3}' > > 11603 > > % pkg --version > > 1.16.3 > > > > In awk $$n is $($n), so $$ in this context would evaluate $1 to 1 and > then > > $1 to be 1. And then $2 to be 16 > > and then $17 to be 0 and then $3 to be 1 and then $1 to be 1 which leads > to > > 10001. > > What prompted the question was my (obviously poor) attempt to debug and > resolve this failure when attempting to build a release for i386 on an > amd64 .. > > make -C /usr/src/release obj > make -C /usr/src/release ftp cdrom memstick.img mini-memstick.img > mkdir -p dist > cd /usr/src/release/.. && make TARGET_ARCH=i386 TARGET=i386 > distributeworld DISTDIR=/usr/obj/usr/src/i386.i386/release/dist > make[3]: "/usr/obj/usr/src/i386.i386/toolchain-metadata.mk" line 1: > Using cached toolchain metadata from build at > vm01.auburn.protected-networks.net on Wed Jul 28 18:01:01 UTC 2021 > > make[3]: "/usr/src/Makefile.inc1" line 1864: String comparison operator > must be either == or != > make[3]: "/usr/src/Makefile.inc1" line 2073: String comparison operator > must be either == or != > make[3]: Fatal errors encountered -- cannot continue > make[3]: stopped in /usr/src > *** Error code 1 > I've cc'd emaste to see if this is related to his recent changes. Warner --000000000000eb3dee05c833d7dc-- From nobody Wed Jul 28 20:02:30 2021 X-Original-To: freebsd-current@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 A14DC12AFD33 for ; Wed, 28 Jul 2021 20:02:59 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) (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 4GZl2W46B6z3L2Z for ; Wed, 28 Jul 2021 20:02:59 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-il1-f182.google.com with SMTP id j18so547035ile.8 for ; Wed, 28 Jul 2021 13:02:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SYEq4S8yGICityUwLWT8uPjDDo3R+aZgi0UWyp/a95k=; b=t1uMHktdfHIxkW5oY0CHeH3H43J0ix0qOjK9M9vcGtZJSmSoznumw41/O1Mjw8WqfT OdIrbHm755Ro82F442nwJPzne9xI/ZbhiR+ar3KfFCMpiNxL+RvQjecc4kPEAmjBR05i Ajs++uBH6PkrMUxKEmUW5+Z5+IWaw6bkfb/P1/ItEOs2Zhfheg0zGNr33L9ycHt/N5Fd JEt7ilVJr/DfBW4CkjD3xcJLK+ZqxNjQTqijmKqdm4DU4YrrXF9UFkTYxmsYRWYc1ovP ZGtZGLJjXNX2JZjBqsI3crKC8SgTVEdDoUOz7q81XdZmiLB3eMhkQZG8jQ3EKKlS9YsQ aDpg== X-Gm-Message-State: AOAM532vAqOpuB6coAuFz5yoGVxzQTGvJBRDqd10+cCpSteUyvqyO5ts h0cW5vPvosu4U/gTvKpsADzOtcq/c+sczB/Knkc9ebABSzw= X-Google-Smtp-Source: ABdhPJwIT9lVwbJsVodbz3uW3U++Rp2+NNv/ls4SEhjen3WJYteLgdKi2Jee9Z6B5VcNt2A4GjFZn9CUqfYhs5IGn3I= X-Received: by 2002:a05:6e02:50c:: with SMTP id d12mr1016404ils.256.1627502572930; Wed, 28 Jul 2021 13:02:52 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> In-Reply-To: <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> From: Ed Maste Date: Wed, 28 Jul 2021 16:02:30 -0400 Message-ID: Subject: Re: awk behaviour? To: Iain Michael Butler Cc: Warner Losh , freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GZl2W46B6z3L2Z X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 28 Jul 2021 at 15:15, Michael Butler via freebsd-current wrote: > > What prompted the question was my (obviously poor) attempt to debug and > resolve this failure when attempting to build a release for i386 on an > amd64 .. This will be due to my 4e224e4be7c3. I'm not sure exactly what's happening yet, but I can provoke this behaviour if `${PKG_CMD} --version` outputs something other than a single line with the version number. Can you give this change a try: diff --git a/Makefile.inc1 b/Makefile.inc1 index 23fb4b5581ac..9ef954e0678c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1860,7 +1860,7 @@ _pkgbootstrap: .PHONY .if make(create-world-packages-jobs) || make(create-kernel-packages*) || make(real-update-packages) || make(sign-packages) PKG_ABI!=${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI .endif -PKG_BIN_VERSION!=${PKG_CMD} --version | awk -F. '{print $$1 * 10000 + $$2 * 100 + $$3}' +PKG_BIN_VERSION!=${PKG_CMD} --version | awk -F. '/^[0-9.]+$$/ {print $$1 * 10000 + $$2 * 100 + $$3}' .if ${PKG_BIN_VERSION} < 11700 PKG_EXT= ${PKG_FORMAT} .else From nobody Wed Jul 28 23:52:25 2021 X-Original-To: freebsd-current@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 D810412BF56E for ; Wed, 28 Jul 2021 23:52:36 +0000 (UTC) (envelope-from SRS0=oKtl=MU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 4GZr7S4vT8z3vWQ; Wed, 28 Jul 2021 23:52:36 +0000 (UTC) (envelope-from SRS0=oKtl=MU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 509AB28416; Thu, 29 Jul 2021 01:52:28 +0200 (CEST) Received: from illbsd.quip.test (ip-94-113-69-69.net.upcbroadband.cz [94.113.69.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 5C0CF28411; Thu, 29 Jul 2021 01:52:27 +0200 (CEST) Subject: Re: Building multiple kernels with "make release" To: Juraj Lutter , Glen Barber Cc: Alan Somers , FreeBSD CURRENT References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Thu, 29 Jul 2021 01:52:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GZr7S4vT8z3vWQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 28/07/2021 20:46, Juraj Lutter wrote: > > >> On 28 Jul 2021, at 20:37, Glen Barber wrote: >> >> On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: >>> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: >>>> Just on a hunch, could you try with adding INSTALLKERNEL="${KERNEL}" to >>>> your release.conf? >>>> >>>> I now seem to recall some weirdness with this, but the exact details >>>> elude me at the moment. >>>> >>> >>> Setting INSTALLKERNEL="GENERIC-NODEBUG" during "make installkernel" >>> overrides whatever KERNCONF was set to. But it still only installs one >>> kernel. Trying to set that variable to a list doesn't work. >> >> Ok. Give me a day or so to try to figure out what is (or isn't) >> happening here. I do not recall any recent-ish changes that would have >> caused this, and I am 95% certain it has worked in the past. > > According to Makefile.inc1: > > make installkernel KERNCONF=“KERN1 KERN2” > > should install KERN1 and KERN2. Similar goes for buildkernel. > > Or is there something I am missing? Does 'make installkernel KERNCONF=“KERN1 KERN2”' really install both kernels? Under which names? I have 3 kernels defined in KERNCONF in /etc/make.conf for years. 3 kernels are built by "make buildkernel" but only one installed by "make installkernel". To install other kernels I use: make installkernel KERNCONF=KERN2 KODIR=/boot/kernel.KERN2 make installkernel KERNCONF=KERN3 KODIR=/boot/kernel.KERN3 Miroslav Lachman From nobody Thu Jul 29 00:00:28 2021 X-Original-To: freebsd-current@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 869F612D2199 for ; Thu, 29 Jul 2021 00:00:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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 4GZrJs36x5z4SML; Thu, 29 Jul 2021 00:00:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi1-f179.google.com with SMTP id x15so5986089oic.9; Wed, 28 Jul 2021 17:00:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6SicMlUFqO+JPv9wYYUUAg+odopg+JqhFB/91Ps+9N0=; b=Zlm6xFXLQJjY0ps4A4mskiaPAxRq2DwKY2tqYdbGf6SPQTiGAQWyv2xnunssOgN9M9 i0AufUwK+9Tjz0OdCkqZMP7bDr8Qofgpm8QK0ftbBECHYd5Ue8fWDF4nf7R7Gm3il9PM ROGvZ3DSR8IUFZBtqyQEs7+4wqeJbm+zBREwq0kl9RA1+3qapnBlYU5EQ6v5BwqFGjep OMXm4040rH/a9fmqguU++qa8sCBKoNcRfOQ+zpgCapVfkO0vJiQhH9ZUCBa7swa1IRL8 zDqpYMRFcSZXHErZonQA9ULZLeeXatg5+qN+Dko1tzUd7buZtO0Et+47HJSKmskoHnT0 vcfg== X-Gm-Message-State: AOAM5335vtepx6LT/D5QAD8S3RkNLls4rtL0U7RTyoO9yPGPiQPNmNPt /Moeq44hYnDDSRByg/bSu2gusY5FME8M6o+agP4s7GYyvh0= X-Google-Smtp-Source: ABdhPJzmFwDokbNPzYKYild5yngGEA1i7LeZvzYfnAconNad6KZyVD9g8zIhGCfgoOm0FXy1tWQvs4SgX7Vct1youGY= X-Received: by 2002:a05:6808:2198:: with SMTP id be24mr6571402oib.55.1627516839242; Wed, 28 Jul 2021 17:00:39 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> In-Reply-To: From: Alan Somers Date: Wed, 28 Jul 2021 18:00:28 -0600 Message-ID: Subject: Re: Building multiple kernels with "make release" To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Juraj Lutter , Glen Barber , FreeBSD CURRENT Content-Type: multipart/alternative; boundary="00000000000011b08f05c837cb5d" X-Rspamd-Queue-Id: 4GZrJs36x5z4SML X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000011b08f05c837cb5d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 5:52 PM Miroslav Lachman <000.fbsd@quip.cz> wrote: > On 28/07/2021 20:46, Juraj Lutter wrote: > > > > > >> On 28 Jul 2021, at 20:37, Glen Barber wrote: > >> > >> On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > >>> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: > >>>> Just on a hunch, could you try with adding INSTALLKERNEL=3D"${KERNEL= }" > to > >>>> your release.conf? > >>>> > >>>> I now seem to recall some weirdness with this, but the exact details > >>>> elude me at the moment. > >>>> > >>> > >>> Setting INSTALLKERNEL=3D"GENERIC-NODEBUG" during "make installkernel= " > >>> overrides whatever KERNCONF was set to. But it still only installs o= ne > >>> kernel. Trying to set that variable to a list doesn't work. > >> > >> Ok. Give me a day or so to try to figure out what is (or isn't) > >> happening here. I do not recall any recent-ish changes that would hav= e > >> caused this, and I am 95% certain it has worked in the past. > > > > According to Makefile.inc1: > > > > make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D > > > > should install KERN1 and KERN2. Similar goes for buildkernel. > > > > Or is there something I am missing? > > Does 'make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D' really= install both > kernels? Under which names? > I have 3 kernels defined in KERNCONF in /etc/make.conf for years. 3 > kernels are built by "make buildkernel" but only one installed by "make > installkernel". > > To install other kernels I use: > > make installkernel KERNCONF=3DKERN2 KODIR=3D/boot/kernel.KERN2 > > make installkernel KERNCONF=3DKERN3 KODIR=3D/boot/kernel.KERN3 > > Miroslav Lachman > Miroslav is right. Despite the comment that Juraj found, "make installkernel" only installs the first kernel listed in KERNCONF. -Alan --00000000000011b08f05c837cb5d-- From nobody Thu Jul 29 00:13:54 2021 X-Original-To: freebsd-current@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 1448912D4BF6 for ; Thu, 29 Jul 2021 00:13:57 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZrc46yMdz4Wd8; Thu, 29 Jul 2021 00:13:56 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627517637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X/KUhxPhfnvcMjLUyGInovZRexmcPCVW0LZfcEk7Vvk=; b=PWpzyDrRPXMKBtx4yiHAOntHQI/baF/ml/bgpDmvYK2DNi3XJ8FJ4Jgo2HR8tKjUNF1Xjn U7VmvDzO0PLiasi0ZilA4uSqiwOoJmMiUrq0pC29U2tuPnOE9a2giPzeY83R+/81cUtrwo pU5C+Sbz6rl+RCQZT7Aqcia/RmAU2huwma7R7yLnufiF+5e1MnpvJnD9co29KAqf0ysZMU iVlVqoStTKXDTgmjC7RwfLKybSiD21wK+Q3gFHf6mRwZvDAugSANse4R6Qdio8/SYz0MQj 7rIdROpwem+nRdcRfe52/tBMbWhKwGyhVIldJQ7IN46xZOAp53MixwbUGQ5wPQ== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 856841862D; Thu, 29 Jul 2021 00:13:56 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Thu, 29 Jul 2021 00:13:54 +0000 From: Glen Barber To: Alan Somers Cc: Miroslav Lachman <000.fbsd@quip.cz>, Juraj Lutter , FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210729001354.GO1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zxEKvxCKojqA/Afl" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627517637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X/KUhxPhfnvcMjLUyGInovZRexmcPCVW0LZfcEk7Vvk=; b=WVekktzPG6sBT+s3AN/om6exkDaouTJWopo9JXaYaF2b6K7rV/8tctZlJTx1TTLct0T5go RghLfvW0eVE2/FqS4YdC/z8A/053PpJjN8j6xvCO7R2juG/fq4UY7mc9llA2gxDcq5dJMw uBbPeXaZsQi9ZD8poLuwfczHFCIyxG0XixBRwywD5ZSvuGHex/zp1n4MSO8SM4x0ey2yO/ 5SRGpvMWCFZXVXaqkP4Zrmqebh2Ol44Hs5qE4/k+ks945WaNeBMAZToQIMJat18L80C1Vu lA0CibBIH0jwfUvFcSWVFCfR17tx8BDjqk+VOsI+02hPzteVrYK/JDNe83Ajjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627517637; a=rsa-sha256; cv=none; b=QDMEMrmHJOq/PDEckmSTzO9Dqci3Zm/jJWIXeLl6b+aJM5X/6bUxwgjLovOWxk2hfjxb1M jN1vFIqV8amY52PxwDNN7Ezna4jVhIJM8Va2gNnOWgIZf9a9AmBRcDGa2cFO49Gihgw82Z C7qZhGSgkpbq13Meg+VLlP6vZPPab4urpHkHpbMCzi3n6cX9PMWjJGX2Tu5XSOOThKjuSG bzR21b9pcxwnwDudHvmADGrraRGkxX73P0/EbDU78rBDEOdqsVdwWZ8fg6RBwj7ebjPIuH xeTtPQDm9rlMydJgNWwMld+ezhROPX1cRdxb/Wr1nH2wgYhIhtoNt0PN+Ew5sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --zxEKvxCKojqA/Afl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 06:00:28PM -0600, Alan Somers wrote: > On Wed, Jul 28, 2021 at 5:52 PM Miroslav Lachman <000.fbsd@quip.cz> wrote: >=20 > > On 28/07/2021 20:46, Juraj Lutter wrote: > > > > > > > > >> On 28 Jul 2021, at 20:37, Glen Barber wrote: > > >> > > >> On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > > >>> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrot= e: > > >>>> Just on a hunch, could you try with adding INSTALLKERNEL=3D"${KERN= EL}" > > to > > >>>> your release.conf? > > >>>> > > >>>> I now seem to recall some weirdness with this, but the exact detai= ls > > >>>> elude me at the moment. > > >>>> > > >>> > > >>> Setting INSTALLKERNEL=3D"GENERIC-NODEBUG" during "make installkern= el" > > >>> overrides whatever KERNCONF was set to. But it still only installs= one > > >>> kernel. Trying to set that variable to a list doesn't work. > > >> > > >> Ok. Give me a day or so to try to figure out what is (or isn't) > > >> happening here. I do not recall any recent-ish changes that would h= ave > > >> caused this, and I am 95% certain it has worked in the past. > > > > > > According to Makefile.inc1: > > > > > > make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D > > > > > > should install KERN1 and KERN2. Similar goes for buildkernel. > > > > > > Or is there something I am missing? > > > > Does 'make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D' real= ly install both > > kernels? Under which names? > > I have 3 kernels defined in KERNCONF in /etc/make.conf for years. 3 > > kernels are built by "make buildkernel" but only one installed by "make > > installkernel". > > > > To install other kernels I use: > > > > make installkernel KERNCONF=3DKERN2 KODIR=3D/boot/kernel.KERN2 > > > > make installkernel KERNCONF=3DKERN3 KODIR=3D/boot/kernel.KERN3 > > >=20 > Miroslav is right. Despite the comment that Juraj found, "make > installkernel" only installs the first kernel listed in KERNCONF. Good find. I honestly thought this worked as expected versus as written. In fact, I *thought* secondary, tertiary, etc. kernels were installed as /boot/kernel.KERN2, /boot/kernel.KERN3 (using the example above). Although, I may be misremembering, and 'kernel.KERN2.txz' may be created instead, although not installed/extracted. Though, we are going back at least seven years, and I do not even remember what I had eaten for dinner last night, so there's that... Glen --zxEKvxCKojqA/Afl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEB8rwACgkQAxRYpUeP 4pPLYw//dpHYFTtCit14YdqJ86MnTFlHesP9IZ/8PIEbyfPFjpKQe0PeVY3QlBtg k8gfFPGHiy2gzzTGNrnJ8b5fSVvQ0zp8SGqQnhjdSBaWNXyEvdq3VJoEIRZp5yu1 OyFOWpAFxx2jDdyQpPxDHLiLq/Ua4cbVLJPXaQE532d2nbqSNCb2f4a+/pwaLGuy BJspAb4OexE9tNIgW89oAjB1wAxCrjTz30rylE2ZrshSUmje9ytKm4sDHe8HK/et SWM+h5wx0OY0CCtsbL5PcU8h90qmsf1Uf0eWjZ7cIjI0zjgvFAYorzPcB276gaLb 8uHFOIZydL/WLjUtZ26/wl0w9Waya9jghcL3HvAnhqyLbwC9IcHraAJ3tT4+tjp5 X8zAE7OsYef9BJI6dRft2fCiJ0BaGFoBbTcjWadNsjNd1iFYS8h4qRFi56okxGdH nxqXSt9IGTOIIww8BiI5XA4c0yRmPnted8YFuuv4h18J7a1z562IALemTiixfRjt fHxyaPhPHUCokx9+ZopAOP7p324ZpIQ7zMGwnMj1YYKC6JRm+Rk9p7gs1/VjgCqf oBDmqyNzht8zlUbmItUEQLpFarOHc/P3x+ePL7Mt8mmf68XER9W0zo3wFavHaggK neOfZ3Jwc+s6h7V+avQHfID+LBUprNl84jNKqQQJPL0GGMhI6JU= =Y5Vr -----END PGP SIGNATURE----- --zxEKvxCKojqA/Afl-- From nobody Thu Jul 29 07:16:04 2021 X-Original-To: current@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 A6B1512B87A9 for ; Thu, 29 Jul 2021 07:16:16 +0000 (UTC) (envelope-from filippomore@yahoo.com) Received: from sonic315-22.consmr.mail.ne1.yahoo.com (sonic315-22.consmr.mail.ne1.yahoo.com [66.163.190.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gb1zM4pg0z3L7B for ; Thu, 29 Jul 2021 07:16:15 +0000 (UTC) (envelope-from filippomore@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1627542967; bh=uHSuMNjpbdaOuXnpkhHnIr4DQZE+EBHJVkd3filiw4E=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=H3mRivHrCpoRNgI4xhtpCCZluBroPNsul8zX0loVlg8YVZT0AJzEu6kUXphZTW0qJtfUWbrOlS8f+gOfR+/YPhg1dxEXAylja13uZsKvh1zqtqDeT3jZAxuAzXKFUCM0vlByx7E71Rvy9AuPKSycpSB9aMAQinWZYZtwyHQVUK+Sy+FUKbY4AAkKhY3XjH3tg5vAkztczXEelRrMfMkDzY7ZTNBYpXO2h4y1dPNgCy1vMRkgiRE6K3lYrxPRxNttRS/Sq+oqiDG1+CdXEc0DQDK9BTQ34jP2+UEUl8I0utwAhFwsD/NJuqm3vnwUo4VHERTflXISJBRIAysIfOAo/g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1627542968; bh=vb3oehRS29TOtEMRIEyxr9AwxNNcq2kP2Fk4YaRXsKY=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=HAHNU5dRvW7YcFBbzgMpbwKODDlXRXSkraXd94pKP0luZuJlbi1RiDHhUCrRbjzC1b1VoTXTOsmD0FxV8Pj3H8ANp3HbX9KW7XCkBrjdZiaT8x5Hjk8Hyvh66h2kLs4X1l+boNdysxptypguv0eumRWEc3gwQ20M7A9ylPjQ3LvLRBcECqsj4OPr4wWEu0foQ77SqxANWN3yuZmiXf1GGrsMuaAEzUHM1tj21la4sjALPnK/QpwQL2Zf2nVXp0RNmoLcD1S8xfBFy0SjO22op+eWfMsWNJYEH3dsKjKoI9ABGIYvTTftto5JC/4Dpxr+QP6pyT+Nr8US+eHKXrWAYw== X-YMail-OSG: vzeSFjIVM1nA412kO.XLMPx_s.fFl5hdgv1CIhT8oot024HzG2cs9rs8lixHLBO 4.f_KZ1aMyHEBhZxaY6nRzPsnmuaINYo8B27.2i6lNvj3ka7EiVjrecffhCidcZooMbPK37qimh2 nIPNIsCBgBBG9dvPwdDzSmH.deZb2fEbEMTfx6PguHAOa8xKPDN5z1vS9DCaRooOzJ.ZB00BnwFI LSOtsX7YcW0jHFW5goaWNNIjxe8e1.e9NBfbxyEc_VdsGTXxxW.MEtM.c2rwz7o2BL0.URNtlUZO FKHdDUyeQv5H_SWuu7WoMzRTmBZQBIM3RlaWTQGde5CXDvrp_MFMyWhX2DoHZKI1UhGCinPYsavd mT2Jcri6cIvfsbE9RJSOOjEnrHbZMASGEe9gI9Hvn45FsOhPZU4dXtv45xyBTJFjRkkldeBjcdBS Th__.p.mjsFjv4h7os0dgY0kqAMIQetPiR_wNtR1YcbeOcRRKlpHk3lLwjtJJ9gYlk39KpFIJz3e SzK_wU5_ybHRsFPualmq4WK2SfFuQQeTCfOhMOX9qPGQqdAB3k_mZ7XwFS.NhgljpUO0KMIuOFYb dOaCAlBPNIBCFcN7JtsPB7079nWfsiaIUMC3K8065VwkmEjNWf2MHuJmO_r2slr_9JbdMp6pspwv _eJ66dr2g9uWxSjGZumkyHZ9gE6PcDqgRxGoTLeJjGdDX4ZpblpKkDOM2_tzF3mud9PFiNUAIiu_ CQn1mOw.KwTgFb_dwv3846GA4FLM.xe61axodyQoDVNZ9yec7c.bLl9XiHbqT_124_4e8dpfFnX0 tA.amV6VPWdCjQYmNm6NXgukp95ARHKnBU7hvMZ1Sg5HxEDzN9uLxaiHXveuwc581JVULAqB1Ohd X6ijc6N9.OchD.pJmyqQy5a6Um82VFLQ4_4lMAxqjYRkVr506X0pNc07w.MgNU4edUW_4ek7AnCz wOsTu_M6jS0EmVvvqf0_KCzpWbfLJyuiTBHBPcNG5SovIW_v2fVLCcyPzX6vmuZ7k4AnOn0x3tJI tiYUlnYxFWhj58zC4aivxNC6zRUAxZNqh9Pm_1uanJioAf7aQFPO3Tmb5_UX8zCDfhsaam7Xsdja m6xlOnXQdjGjIvxQSK1HNgmG4QZmbXe8Ipt..1T8iDtXYeokb9fKgerBnU0_ZWyrUZRnnJtWc1w_ dHs6P9TdnXhEoir796N1UnjIHKFejTFBDbzMdnWiZMtGi7r7XMT750QyEpt5z4qwCmhGTWuRJpN3 9NQpDvINmGHnQOy84a533LgCQm0ZMSoUfFs3E1d8kOnsOFKVVmZe0zw2WtBufFglyap59lwD4HbP gXK82iSEGH4tlY3EAxJfzmFOaUdV4z5XejFQxHXcyOkwjoDMT62._0PNcpyp_i2auxJFfMN86iM2 fTiapM0R1IykTTIoCh63DbaRyuBR8kygfrQAoVMO_97dEVO65kpGP_7gZsWUEyWPKL5DPUN._9rV QBfW4nMntYpJYNKjB_tmC_B6Y9KP07NdoBi1Nzm8wOkrkwmRMS6X5Xv_L7NfDO_bVBxuhbLH7wF4 IPWLq4n9Ru3Sgbp_quQvQOc3Q6z9WfyTy3DGqAiRNSV0ZHXdLb4CpwmapvAjHdm5Nz1ZXzWdYEdu oIQaL_f9NjaczSX043Unr60rpvdyI4g12N.1RSUrG0ayT4AwfTm07D0J1NOrShDlumS9A0iVhXWL Qz6BZT13HyzTdetJ9fjS9eZ_Vg.PIcVplr_WXbpAzj8EosIqGqdYW3wb15WzKB0XQWGLu1hqbDxb SZzAzhc1TYSDU7_hptuMNcg_mmPzTfsZUl1aa52YVJHNGgpTmv1qRD5pzVa45rqf1nC9h4TPb2nj .CMJhD9yfkLvWN5iMNRFBBSqOoROVcgNG.RMXEUm75f9TAK76WX3BYbB2koh4aBDQIO7Jj2UlYXJ u6mjZw68bhaiaxxJ.6dxTLnUgOcqcDqbgLPqKanWEJOp1JVGWs.cR6VTrrHtDXNS4rR9rJKh7.k0 aS_6b0SDOFT.ZmJlGd8c1y5ewwEjcDDGx2U8B.uxS_ekzVRGz0ea8u8Q1ho.IbbsIXL821d7bWmB nmgoAeQvVztDyhIFoc4Bk9ozB6zzQ1Nvb2sRQKeI75zzcvDkxKLPcaaR4LJGDru0.33TkyYtm4FK r6ZWvM8Af3mOC3hew4yMUYQx.H5h52VGvevPZpuMmVGXb_DwqUKdfUbv5SB9fiBybtwtYN3kZSWW QmXk3L01_dMCTNh3ixa2LqfsZq070uDo867cs.bjKutnTKzYMVcZcFxpz65oPF0SCTHnUmmmHmNB Ej7JZ9573FIp0W5ix2YCJyFO1pgPL_x9AwOlMAGzsGEXb7EdkMvzqcJL_EIH56g3yUFh_SvQ- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 29 Jul 2021 07:16:07 +0000 Date: Thu, 29 Jul 2021 07:16:04 +0000 (UTC) To: FreeBSD Current Message-ID: <1082213315.1015140.1627542964634@mail.yahoo.com> Subject: Error in buildkernel List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1015139_809948039.1627542964632" References: <1082213315.1015140.1627542964634.ref@mail.yahoo.com> X-Mailer: WebService/1.1.18749 YMailNorrin X-Rspamd-Queue-Id: 4Gb1zM4pg0z3L7B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=H3mRivHr; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of filippomore@yahoo.com designates 66.163.190.148 as permitted sender) smtp.mailfrom=filippomore@yahoo.com X-Spamd-Result: default: False [-2.85 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[66.163.190.148:from]; NEURAL_HAM_SHORT(-0.85)[-0.853]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[current]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.190.148:from] Reply-To: filippomore@yahoo.com From: Filippo Moretti via current X-Original-From: Filippo Moretti X-ThisMailContainsUnwantedMimeParts: Y ------=_Part_1015139_809948039.1627542964632 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Good morning,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 I have the following error in build kernel:ror=3Dunused-function -Wno-e= rror=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packe= d-member -Wno-format-zero-length=C2=A0=C2=A0 -mno-aes -mno-avx=C2=A0 -std= =3Diso9899:1999 -Werror vers.c ctfconvert -L VERSION -g vers.o linking kernel.full ld: error: undefined symbol: xen_clock_init >>> referenced by pv.c >>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 pv.o:(xen_pvh_init_ops) ld: error: undefined symbol: xen_delay >>> referenced by pv.c >>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 pv.o:(xen_pvh_init_ops) *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/STING *** Error code 1 Stop. make[1]: stopped in /usr/src [root@sting /usr/src]# uname -a FreeBSD sting 14.0-CURRENT FreeBSD 14.0-CURRENT #43 main-n248147-8539518055= d: Thu Jul 22 11:36:29 CEST 2021=C2=A0=C2=A0=C2=A0=C2=A0 root@sting:/usr/ob= j/usr/src/amd64.amd64/sys/STING=C2=A0 amd64 sincerelyFilippo ------=_Part_1015139_809948039.1627542964632-- From nobody Thu Jul 29 10:09:06 2021 X-Original-To: freebsd-current@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 DF12212AE99D for ; Thu, 29 Jul 2021 10:09:16 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gb5q03hmRz3vGR; Thu, 29 Jul 2021 10:09:16 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 53cd6a55; Thu, 29 Jul 2021 10:09:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=oik/3T1z PWt9UwLdO9ShP0l1aFY=; b=LcVzWg3FIXut074/PwgrHQnD4CKPeo1aYS0fsVDH a/f4GlA7FJAHtalMqHI+A3Q87aqZmoIYy0m1Ur8lkZBs/9k6jOQZ1H0CMYwEDE7O PhsvFBeCO4q+hmRPVnpN3dCAP8xsvbNRl1D7ww2VVLGkV+89c2+5NEVKc2vkyOnN nATR/0cNy+UWKhIILOYP6OeOWHJBwpJds9um3q6EgvHBWH48OIVZV2b9kNVXMxM7 IZUc/VPyFEh5m1KvLpSWdLA4AgjJzPIcj6cceE08pBsncNFOK3DJ2HKOJ+gGfQoD TnAa6GUMhl85ZnbM/rQ0cfTczUvAkpdg4F7TyODBTCs/9w== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=GK t1L/NDl1YyaXgJp41CjFM9issYktEmCiuvsSYoj/+S7TCO2NJNsbuFhSWpvo+rEK 3N8Vf1DsELZS4Ik/3L5cYdauqVlJR/wl6uMU7TTskbRUhMdI5hlE+5GLGYFWLqKQ tc9+Pr73tWomTrI3FAJlBNR87Bjn9h0nRwP4mG8A5nzVlZooAbnpsS0UkmlsZEQR IWbuFyHr/SCGBDq0JcJsnFAdT+FmSYIp76nb7YyPKWUJK21pvefodRQtzBKDRhKr JTrB9fYYPvHRH2QbYVdrDQ4ngvkYZxfZBe7Q9nesqPBprUr/qSp7JPXjCeIyRdEl mnqgww7tGL0BoK6wgixg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id cc463b1d (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Thu, 29 Jul 2021 10:09:09 +0000 (UTC) Date: Thu, 29 Jul 2021 12:09:06 +0200 From: Michael Gmelin To: Ed Maste Cc: Iain Michael Butler , Warner Losh , freebsd-current Subject: Re: awk behaviour? Message-ID: <20210729120906.685fbb12@bsd64.grem.de> In-Reply-To: References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Gb5q03hmRz3vGR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On Wed, 28 Jul 2021 16:02:30 -0400 Ed Maste wrote: > On Wed, 28 Jul 2021 at 15:15, Michael Butler via freebsd-current > wrote: > > > > What prompted the question was my (obviously poor) attempt to debug > > and resolve this failure when attempting to build a release for > > i386 on an amd64 .. > > This will be due to my 4e224e4be7c3. I'm not sure exactly what's > happening yet, but I can provoke this behaviour if `${PKG_CMD} > --version` outputs something other than a single line with the version > number. > Could it be, that the pkg binary isn't installed in $LOCALBASE/sbin/pkg, (whatever LOCALBASE is at that point)? This would make pkg --version shows its bootstrap message: The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: which could explain the behavior. Just speculating... -m -- Michael Gmelin From nobody Thu Jul 29 15:00:41 2021 X-Original-To: freebsd-current@FreeBSD.org Received: from mlmmj.nyi.freebsd.org (unknown [127.0.1.24]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C375812D0F65 for ; Thu, 29 Jul 2021 15:00:41 +0000 (UTC) (envelope-from freebsd-current+bounces-help@FreeBSD.org) Subject: =?utf-8?q?Information_for_freebsd-current=40FreeBSD.org?= From: freebsd-current+owner@FreeBSD.org To: freebsd-current@FreeBSD.org Message-ID: <1627570841-11155-mlmmj-33afecfe@FreeBSD.org> Date: Thu, 29 Jul 2021 15:00:41 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N Hi, this is the Mlmmj program managing the mailing list. Here is some information about the list. You can subscribe to the following versions: - The normal version: Every time a post is sent to the list, subscribers receive a copy of it. Subscribe by emailing . - The digest version: Subscribers receive multiple posts in a single mail message, at regular intervals, or when a lot of posts have accumulated. Subscribe by emailing . - The no-mail version: Subscribers do not receive any posts to the list. This means, though, they are able to post to a list which only subscribers may post to, while they follow the list using a web archive or another subscribed email address. Subscribe by emailing . Unsubscribe by emailing . Posts are made by emailing . However, only subscribers may post to the list. The list also has access rules which may affect who can post and which posts are moderated. Subscribers can retrieve message number N from the list's archive by sending a message to (change the N to the number of the desired message). You can retrieve the frequently asked questions document for the list by sending a message to . To contact the list owner, send a message to . From nobody Thu Jul 29 15:39:04 2021 X-Original-To: freebsd-current@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 9493012D59F4 for ; Thu, 29 Jul 2021 15:39:14 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 4GbF7j6Fdzz4vDl for ; Thu, 29 Jul 2021 15:39:13 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.53.230] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m987l-0004pJ-RV for freebsd-current@freebsd.org; Thu, 29 Jul 2021 17:39:05 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.16.1/8.14.9) with ESMTPS id 16TFd5L3002728 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 29 Jul 2021 17:39:05 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.16.1/8.14.9/Submit) id 16TFd49u002727 for freebsd-current@freebsd.org; Thu, 29 Jul 2021 17:39:04 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 29 Jul 2021 17:39:04 +0200 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: Fwd: Information for freebsd-current@FreeBSD.org Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.53.230 X-Rspamd-Queue-Id: 4GbF7j6Fdzz4vDl X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [2.98 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.41)[-0.411]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.99)[0.992]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[178.254.4.101:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N Is this a phishing attack or did I missed some change in the FBSD mailing lists? matthias ----- Forwarded message from freebsd-current+owner@FreeBSD.org ----- Date: Thu, 29 Jul 2021 15:00:41 +0000 =46rom: freebsd-current+owner@FreeBSD.org To: freebsd-current@FreeBSD.org Subject: Information for freebsd-current@FreeBSD.org Hi, this is the Mlmmj program managing the mailing list. Here is some information about the list. You can subscribe to the following versions: - The normal version: Every time a post is sent to the list, subscribers receive a copy of it. Subscribe by emailing . - The digest version: Subscribers receive multiple posts in a single mail message, at regular intervals, or when a lot of posts have accumulated. Subscribe by emailing . - The no-mail version: Subscribers do not receive any posts to the list. This means, though, they are able to post to a list which only subscribers may post to, while they follow the list using a web archive or another subscribed email address. Subscribe by emailing . Unsubscribe by emailing . Posts are made by emailing . However, only subscribers may post to the list. The list also has access rules which may affect who can post and which posts are moderated. Subscribers can retrieve message number N from the list's archive by sending a message to (change the N to the number of the desired message). You can retrieve the frequently asked questions document for the list by sending a message to . To contact the list owner, send a message to . ----- End forwarded message ----- --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub Tear it down! Defund the Humboldt Forum! https://www.jungewelt.de/artikel/406715.humboldt-forum-feudaler-themenpark.= html From nobody Thu Jul 29 16:11:02 2021 X-Original-To: freebsd-current@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 8271312D93DF for ; Thu, 29 Jul 2021 16:11:11 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (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 (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbFrZ434jz3FSP for ; Thu, 29 Jul 2021 16:11:10 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 16TGB3Vc029280 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 29 Jul 2021 09:11:03 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 16TGB3ex029279 for freebsd-current@freebsd.org; Thu, 29 Jul 2021 09:11:03 -0700 (PDT) (envelope-from sgk) Date: Thu, 29 Jul 2021 09:11:02 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Subject: Re: Fwd: Information for freebsd-current@FreeBSD.org Message-ID: <20210729161102.GA11373@troutmask.apl.washington.edu> References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4GbFrZ434jz3FSP X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none); spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [2.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.994]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none] X-ThisMailContainsUnwantedMimeParts: N The mailing lists are migrating from mailman to Mlmmj. I suspect, but haven't verified, that this is the new norm for the monthly notice about mailing list subscriptions. I would suggesting reading the mailing list archives, but needs to guess where the relevent discussion might be found. If you got here: https://www.freebsd.org/community/mailinglists/ You'll find You can *search* or *browse* the mailing list archives. At the current time, archives prior to May 2021 are *in a separate archive.* where *search*, *browse* and *in a separate archive.* are hyperlinks. This is quite misleading as at least dev-commits-doc-all/ - 2021-Jul-02 03:27 dev-commits-ports-all/ - 2021-Jul-01 03:27 dev-commits-ports-branches/ - 2021-Jul-04 03:27 dev-commits-ports-main/ - 2021-Jul-01 03:27 dev-commits-src-all/ - 2021-Jul-02 03:27 dev-commits-src-branches/ - 2021-Jul-03 03:27 dev-commits-src-main - 2021-Jul-03 03:27 are under *in a separate archive*, which clearly shows messages newer than the May 2021 date are not archived under *browse*. There are a few other archives that violate the statement on the FreeBSD.org. -- steve On Thu, Jul 29, 2021 at 05:39:04PM +0200, Matthias Apitz wrote: > > Is this a phishing attack or did I missed some change in the FBSD > mailing lists? > > matthias > > ----- Forwarded message from freebsd-current+owner@FreeBSD.org ----- > > Date: Thu, 29 Jul 2021 15:00:41 +0000 > From: freebsd-current+owner@FreeBSD.org > To: freebsd-current@FreeBSD.org > Subject: Information for freebsd-current@FreeBSD.org > > Hi, this is the Mlmmj program managing the > mailing list. > > Here is some information about the list. > > You can subscribe to the following versions: > > - The normal version: Every time a post is sent to the list, subscribers > receive a copy of it. Subscribe by emailing > . > > - The digest version: Subscribers receive multiple posts in a single mail > message, at regular intervals, or when a lot of posts have accumulated. > Subscribe by emailing . > > - The no-mail version: Subscribers do not receive any posts to the list. > This means, though, they are able to post to a list which only > subscribers may post to, while they follow the list using a web archive > or another subscribed email address. Subscribe by emailing > . > > Unsubscribe by emailing . > > Posts are made by emailing . > > However, only subscribers may post to the list. > > The list also has access rules which may affect who can post and which > posts are moderated. > > Subscribers can retrieve message number N from the list's archive by > sending a message to (change the N to > the number of the desired message). > > You can retrieve the frequently asked questions document for the list by > sending a message to . > > To contact the list owner, send a message to > . > > > > ----- End forwarded message ----- > > -- > Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > Tear it down! Defund the Humboldt Forum! > https://www.jungewelt.de/artikel/406715.humboldt-forum-feudaler-themenpark.html > -- Steve From nobody Thu Jul 29 16:14:00 2021 X-Original-To: freebsd-current@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 8EB2312DB1B1 for ; Thu, 29 Jul 2021 16:14:02 +0000 (UTC) (envelope-from bapt@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbFvt3Xdjz3Hsl for ; Thu, 29 Jul 2021 16:14:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4381920130 for ; Thu, 29 Jul 2021 16:14:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id EA3F0438F7; Thu, 29 Jul 2021 18:14:00 +0200 (CEST) Date: Thu, 29 Jul 2021 18:14:00 +0200 From: Baptiste Daroussin To: freebsd-current@freebsd.org Subject: Re: Fwd: Information for freebsd-current@FreeBSD.org Message-ID: <20210729161400.ttj37h25kg4nxxyf@aniel.nours.eu> References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ThisMailContainsUnwantedMimeParts: N On Thu, Jul 29, 2021 at 05:39:04PM +0200, Matthias Apitz wrote: > > Is this a phishing attack or did I missed some change in the FBSD > mailing lists? > This is not phishing attack this is the result of someone requesting help using freebsd-current@f.o in the from and somehow not catched by our antispam. Anyway those kind of request are now blocked. As for the change in FBSD mailing list, it happened for most of the a couple of month ago. Some are still in migration (the moderated one) Best regards, Bapt From nobody Thu Jul 29 16:42:29 2021 X-Original-To: freebsd-current@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 68B3612DF661 for ; Thu, 29 Jul 2021 16:42:31 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbGXl1zP3z3Ns9; Thu, 29 Jul 2021 16:42:31 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1627576949; bh=448Ov24M eM+KJaQNFKqDQeNpLfPBbC7ssevoSw/PDig=; b=CZhKJDxOYPR/jQU2Q9ayXcvE UIb5Cr4kZXyFldtTXO7bR7PjERz/Svi6zovgqO8jAextTFaQRt0kndB3lTI1oiaY goTtZ0RHumDQ4cVp3K8OFkdI1gZ1Wy4FeOsUhqdNhW9sLaUDlmcrCtWNkfoRemz/ y7SrWKVsvh92RcLlBPc= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id A0DB41301E; Thu, 29 Jul 2021 12:42:29 -0400 (EDT) Subject: Re: awk behaviour? To: Michael Gmelin , Ed Maste Cc: freebsd-current References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> <20210729120906.685fbb12@bsd64.grem.de> Message-ID: <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> Date: Thu, 29 Jul 2021 12:42:29 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: <20210729120906.685fbb12@bsd64.grem.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GbGXl1zP3z3Ns9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: imb@protected-networks.net From: Michael Butler via freebsd-current X-Original-From: Michael Butler X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On 7/29/21 6:09 AM, Michael Gmelin wrote: > > > On Wed, 28 Jul 2021 16:02:30 -0400 > Ed Maste wrote: > >> On Wed, 28 Jul 2021 at 15:15, Michael Butler via freebsd-current >> wrote: >>> >>> What prompted the question was my (obviously poor) attempt to debug >>> and resolve this failure when attempting to build a release for >>> i386 on an amd64 .. >> >> This will be due to my 4e224e4be7c3. I'm not sure exactly what's >> happening yet, but I can provoke this behaviour if `${PKG_CMD} >> --version` outputs something other than a single line with the version >> number. >> > > Could it be, that the pkg binary isn't installed in $LOCALBASE/sbin/pkg, > (whatever LOCALBASE is at that point)? This would make pkg --version > shows its bootstrap message: > > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: > > which could explain the behavior. > > Just speculating... This is consistent with the behaviour I'm now seeing after the most recent patch. In the chroot environment used by a cross-compilation, there is no installed pkg port. When pkg is invoked in the target environment, it now waits on the yes/no response, imb From nobody Thu Jul 29 16:55:15 2021 X-Original-To: freebsd-current@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 18F0D12AA373 for ; Thu, 29 Jul 2021 16:55:24 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbGqb6Lktz3hJm; Thu, 29 Jul 2021 16:55:23 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 16TGtGhZ012347; Thu, 29 Jul 2021 09:55:22 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Thu, 29 Jul 2021 09:55:15 -0700 From: Chris To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" In-Reply-To: References: User-Agent: UDNSMS/17.0 Message-ID: <5721545f464aa07abd8623d48851ec8b@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: multipart/mixed; boundary="=_591307a74a3602b392f50a2c8b0f05a6" X-Rspamd-Queue-Id: 4GbGqb6Lktz3hJm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --=_591307a74a3602b392f50a2c8b0f05a6 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2021-07-28 10:11, Alan Somers wrote: > Is it possible to build multiple different kernels and include them all in > a release image? release.conf says so. But from experiment, what I see is > that: > > * release.sh does pass both kernels in the KERNCONF variable to "make > buildkernel" > * "make buildkernel" dutifully builds both > * BUT, "make installkernel" only installs the first kernel and ignores the > rest > * Only the first kernel ends up in the final image > * It's not really clear where an alternate kernel should go, anyway. FWIW For me, the way I've always accomplished this was via the DESTDIR keyword for kernels. Probably not the most elegant, or maybe even the "correct" way. But It's something figured out a good while ago and since it worked. I continue to use it. Maybe it'll work for you. HTH --Chris > Probably someplace like /boot/kernel.debug , but release.conf doesn't > provide a way to specify that. > > So is the "multiple kernels in release.conf" feature unfinished? If so, > does anybody have a good idea about the best way to finish it? > > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4acc17b410fb62a0/release/release.conf.sample#L32 > > -Alan --=_591307a74a3602b392f50a2c8b0f05a6 Content-Transfer-Encoding: 7bit Content-Type: application/pgp-keys; name=0xBDE49540.asc Content-Disposition: attachment; filename=0xBDE49540.asc; size=5028 -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBGDTzGEBCADHlXdS4V57s2soaEK2wi3o9rr9zo7to/giBSxCpFYJxOnPkL5A 2ibbvflrL8sWvAczx47wgDS7iIhzICBBRdnXtcFGnoeeriV27LSn+PcpnIB+DaWZ xe+6TDC0Z0JUJ7qDTjUBFzhnQGYlrVvc4WbnWTjJaB1LEwgIX8JqX5S3SX0/oXgs +OtqDuENZ4/a5te5xPnspTv/5NJHjqYGxjHP0Vw0KjRKS1AoJ1SBPSMQV5373AX9 5NzFS+CjqeQhjfHFPeRajQ8t4T6eqhKA7LtKMO1egeAwNehk9ZoEqEBT2+ojuKUd oSuzqvhhx+eUIYLFqoPSzMKR+YbStzergsbnABEBAAG0KUNocmlzIEh1dGNoaW5z b24gPGNocmlzaEB1bHRpbWF0ZWRucy5uZXQ+iQFrBBABCABVBgsJBwgDAgQVCAoC AxYCAQIZAQIbAwIeARgYaGtwczovL2tleXMub3BlbnBncC5vcmcWIQQGJAsyyBlk cuwsSYsYdR58veSVQAUCYNQl+wUJA8LAmgAKCRAYdR58veSVQN3NB/sFTeXrZeDk ml/dshET8QbkOPgXlnibk8+Mauf+y9LjS9WT7R8EmqhK7T7aw115JQ1RWTM6kpQM jyDBjYF7piJEpNKI9YDeSnODKir1fWQqm9+wd68wAKGvV4m8kg9uOHCvXG4J++MG zDFH+PuGVxKirFnaz46DpS0Zw7wTtjNiNFvCooYov3IeYGfqcchd3hwBuXgWLexZ vI8JW7lL9oXl7B/wcbSxg9rwy6/QLYGg6sEtYRcFYyvQWefSMJaLWjU/pZN2iSxM lXm55iZv1BXHupfeD1ldRiGs6ejrcpa8+U1ju291WbLzcIsU8IDljeW9/WB2dLFT hJmY1wRk158AtB5DaHJpcyA8YnNkLWxpc3RzQGJzZGZvcmdlLmNvbT6JAWgEEAEI AFIGCwkHCAMCBBUICgIDFgIBAhsDAh4BGBhoa3BzOi8va2V5cy5vcGVucGdwLm9y ZxYhBAYkCzLIGWRy7CxJixh1Hny95JVABQJg1CX7BQkDwsCaAAoJEBh1Hny95JVA aI0H/AlJAOfc5TcMKa479Itw31mwccKb+u0DPN9Gkm/RfWIBjeqqozxCM8G8jVFr dt/J6KmBO3dQtRZHlXdD57RAfDDl5Vm3uws0s+UIFOxMiua/YxyuDcKLsE8Bjkzx z+vuJ8f6cg4WlygPr3bo3l81AOuU/wOsTrNkQvVJxgATlooATSVxs0yNn2uoso9f nhMGUYsmT4c35JYh0k6Lq7Z2LS+ELipMTQ7M7iCWSP1O/zSEvPD4NBo52xCvjLka KcL4fRl7UN+6ouwGr5aUn83tztE/IR0AK45gFvL5yxI4g/zm1t3j2+hhhW1pBU8w uQWkD2DyLTWy7xs1uVF5m1ojHp60H0NocmlzIDxrbm90QHRhY29tYXdpcmVsZXNz Lm5ldD6JAWgEEAEIAFIGCwkHCAMCBBUICgIDFgIBAhsDAh4BGBhoa3BzOi8va2V5 cy5vcGVucGdwLm9yZxYhBAYkCzLIGWRy7CxJixh1Hny95JVABQJg1CX7BQkDwsCa AAoJEBh1Hny95JVA5m8H/iENaTD4j5QHfaHfiDIdxGx36GnETyRK0vAzr2b6pzG+ 7VHNCm4ZfuMsXDJ1ZD8fjTipvg0f4w31xCQI0NgNdAqudBqE075Jwcr9pE9j8VN1 Nvejto01cgLHODbLPhokrkFz1K023VjCdy5RaVuCZ6ajTif7Kq+BEOE8TumYx4ly zdhnh/9ICohqfVvEMh347wI36D7HuezHB773hOsHdqTy9T+0Qu0Vu+wud45MUy1f vRF11OkJFtKL0bh4yMSGVY1xte1Mt/qC6rd43TDtAW3ekw1o/exh764kp7XXQsmP wwe4Y040PZafcygJlEW9bBtjjxKnzDTvqeb5dMi6d7a0GENocmlzIDxvaWRldkBz dW5vcy5pbmZvPokBaAQQAQgAUgYLCQcIAwIEFQgKAgMWAgECGwMCHgEYGGhrcHM6 Ly9rZXlzLm9wZW5wZ3Aub3JnFiEEBiQLMsgZZHLsLEmLGHUefL3klUAFAmDUJfsF CQPCwJoACgkQGHUefL3klUB74wf8DSvT36bYZp7oqZ+35HNhTekJ2dbTzUhauF0S +Z9R1AGnNnINgua75CyQGdNCIgcZxo4qG9sePl7SllQ9i0qhmiw0mzmvky8bAZQV V/2Coc1C/81b+PI19VczYrbZC20jApsnbAIkKZgSh9XQoiLd3meY7G2lX2k6CXYL xSeBEh+N3BU8vLxExm82U71Qzm43u0kA1TlbTSqpBvg/tfAzTCsYQLSlB6b4ZL2W D6U7b7ZYF5oZNonVNWSHxpjUN3Evkta9xWS2+cgYQdlP1/ku5w5ZWwzmYG7awh0J /YuSNIp6Ks6D/PSBduu6XbH+FJHaXmq+ZCKpNBh5EKH+GhOfq7QfQ2hyaXMgPHBv cnRtYXN0ZXJAYnNkZm9yZ2UuY29tPokBaAQQAQgAUgYLCQcIAwIEFQgKAgMWAgEC GwMCHgEYGGhrcHM6Ly9rZXlzLm9wZW5wZ3Aub3JnFiEEBiQLMsgZZHLsLEmLGHUe fL3klUAFAmDUJfwFCQPCwJoACgkQGHUefL3klUC3GggAo4Y+hslaoV7Namp7qWYZ Vei4ZwPfsYW7/HtmFORSGV8C8xR+LSkwzN1Hc7Qxvwv+DXuk7Hzd1Ag/xe8XhbNG /NMrXENY/8ym9TRbxtrBIhQyhkyShSUT+N+g16GRNZKuNL2MOIHc/RCS/YyyaTtu TzIxFbP7Gb2LO1LiiZsFVOGirHfxyiww7CAm3HXY2K4smOiKs6swZMpStVy3dd6A BcB1LPGs3ywDglFfKCRbVmjsPgsi61r4kUBVO6ML7lAmPDXLXOa+7iAtBN479QxC MVeH3Y3SMrvu61Vyf1xL79rIznU3u8C34zfxqsoIV0zCZe2YDLbFfLhZYqatYYEo e7QjImNocmlzLmgiIDxjaHJpcy5oQHVsdGltYXRlZG5zLm5ldD6JAWgEEAEIAFIG CwkHCAMCBBUICgIDFgIBAhsDAh4BGBhoa3BzOi8va2V5cy5vcGVucGdwLm9yZxYh BAYkCzLIGWRy7CxJixh1Hny95JVABQJg1CX8BQkDwsCaAAoJEBh1Hny95JVAkUEH /jkzYrRh7muqoebwEgVeULzPbAs/nYJm9SMME2ypB2FS8kusO7lE+33UJO7PhHkJ 0nJ+tPfP8UV+fCzVjKjabzpvUGuiMWKRZEK9xNoxwi/epOrRw87msHA2LPqEob+F sVh09Nc58s75koUgSYp5h0FjsLK0+fwsQ6PtTfpY5W6JJVJRQnMwGKk5czrukBSM 79kJvphgul2xuzqo5K7rM98dL75AwCJmJZnbyXpUJIhtY/G01nURupBiQGgNixYs Zeo6OR669TFrMRWxueXtlHD0WaX7JNSlR5uyzpVaDCH0Kxa6ozmZtD+a6dAXg630 zbLGHg51JIm38Uvi1i47Jaa0KCJILlIuIENvbW11bmljYXRpb25zIiA8ZG5zQGRu c3dhdGNoLmNvbT6JAWgEEAEIAFIGCwkHCAMCBBUICgIDFgIBAhsDAh4BGBhoa3Bz Oi8va2V5cy5vcGVucGdwLm9yZxYhBAYkCzLIGWRy7CxJixh1Hny95JVABQJg1CX8 BQkDwsCaAAoJEBh1Hny95JVAABoH/iOWA+9BKxLIAIFgW2nxTFDrGvbxXL/mVSFt SOInKX8UqqfLCcikfpWLsj2D7mg5rKFMCu+31UYYlnrXl4YY1qruq0vh41L72qNy yHYol+xW4BSbZXf2q2ph7+lnPsFoodw7acVun5F8M8NH0roo5AOSbgRlK69ZFIcq fDEJdtk4oul7pqGArdeTCCdrSaeR3zrRN8P0PDOkGKSdlpeOE6XHnbbmAPZIhr/9 KsSpX1BGyipda3k5kOB4TsGVo+cRJMkK+GMpsZ+lJ7ZzRbjHbC+b52TiAIjMtXCK 3A3LrDUeMoJwvRKoO1tzquF6HqHJSg0ArZOvAB3BHlwUyUtA/o25AQ0EYNPMYQEI ANFpucNRdYEOubTNluoK97N9JmDb0WRXPPow+3XfBom6ZBSrWqNBgqDbjxSsLB00 QXbA8EB5W/Oolp/0epwEtgNAxyKVPowE/un+rY1PqvGjeAR4gBhY9Za1Lg1Q3vnR /WzsY7RIQCqhWUbfdGn1u6r/EgTBVrwUp4U/3ggfSz/PcUt4pUhlgxfYvjSjOgEZ wbqaQIwWud11FKMARNAUJzvJL/fDGeKLMvgRUwynIDGzCq7e67hhEEo5jwkZ0gEl 8RxXHKFuYkbb/q7rpdifXYYT6QCFlEZhiRbtH5Us7kgKuRD2XUFEQnN4U/rxuydH 4XOP6iOhiZfYnK/y9HBeRCMAEQEAAYkBPAQYAQgAJgIbDBYhBAYkCzLIGWRy7CxJ ixh1Hny95JVABQJg1CYkBQkDwsDDAAoJEBh1Hny95JVApBsH/iEg2ANRkHByfXB+ sH3PMf2Jsg5NSuj8OiNeKKGGIKCJkSAPjtv5rvKLNcvIcTR5Vnhr0e6AteFcK2te iFWDmj0QuFoQNvIOHQ3nHBPSpai2Ubq12nvYfg4bYK28AMi4xPMssgQ8awFgAI2V k9okq5XwC0Cc1MGhupEWYYSaFLIDQvFvRRSw1Lyc/W3SKa4d2dgesIPnB/rdv0Zq u8ftsSmurKxA2hQeNIcn06Ew7AbWUIjFX/bDXJlg/3Sj/spU2ur23TmaADBKhT5P DvfdaFTkk0SBfpN1j2S0DNXBHSrWvRp15zZmU4hwELiUY/H2/j/XpOGV3Q0i2iob 1hJ30C8= =aMQi -----END PGP PUBLIC KEY BLOCK----- --=_591307a74a3602b392f50a2c8b0f05a6-- From nobody Thu Jul 29 17:15:19 2021 X-Original-To: freebsd-current@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 D81D412AE19C for ; Thu, 29 Jul 2021 17:15:28 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 4GbHGm0N27z3lDb for ; Thu, 29 Jul 2021 17:15:28 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id o5-20020a1c4d050000b02901fc3a62af78so7312062wmh.3 for ; Thu, 29 Jul 2021 10:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=/Ack0KufbW2UCK7hWL3rLjBRd3x4bmUgD+lCmhpewyA=; b=hxBrj4ziuo4iMRqgtQ9ifyFstioxon/nF0Q/tydJJ6MgfKrrDhYwCCy2p0dEp8Dom5 bYgkMzMm1uONBjcLZtLIyamDMg2OkPy+ZQmw+p44W17nVgMljcmKzpUZyI/6Dbc2npEL S5sl5VA9TOnktq2hbaRkdPhHvmyj+8je98DD8OKhRcr0B3rPAo0NyOnnrsJHy4f8Li5/ BfHABfB8VPZW4uN7b2fQx4BueStBe+HloJOwhcY07qSeQVKa4kOyGYEA8f8U82S7dUGX nILYX23jrUT15gr2u+oYomCUobdGhFwTHHIxHN2e2YyP15Ez432isH2jTsuBgJbJiU+t leBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=/Ack0KufbW2UCK7hWL3rLjBRd3x4bmUgD+lCmhpewyA=; b=kTuH9VcbA4yl3oO3mSpm6etRKbbSLA13QlJyK58R9KmjKov88YfVlofRTSjymJRai9 BPJNKFc1Bt7YMKpTp3Hp8IjYq5lJUJLV9FbDHzEHYTeF2XfCEb/yDEMjvA7SSDUFWVTf fOjQAguFmfQUmqCgyexYd91g+Ydnl0I7UoFv/HT1lBu1Gd0XKI8hQmLxzE8kuDTGQGok P1q/khgPzp8iw5It6AK5f37JNuJC39EWqJ0SM5iz8WmN6nCkqvQTSIDMbjnS/JUneBM7 C/Q+grM3FWjtsi12V3oRHKkQkLyyo0DRS9mgglnBI4j6PEUeAel7LRYMlU7FUaTsH6NR /5kA== X-Gm-Message-State: AOAM530syxvd/UulPI80G9MgimhPy/l/wZeJKX0RQ447x0VfxDVjOCut g79uFxobpW2gYeXgxzoJIBTb04F8sinBaw== X-Google-Smtp-Source: ABdhPJw8Lgf5nVZsmoPUYlfxV7jPeMAXK1lSNY5CY/3b3tvqt8XiWnZKUfeHjRWJl2K0y5azWhF2Pw== X-Received: by 2002:a1c:e90f:: with SMTP id q15mr15379341wmc.175.1627578920716; Thu, 29 Jul 2021 10:15:20 -0700 (PDT) Received: from [192.168.1.7] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id h25sm2525663wmp.33.2021.07.29.10.15.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jul 2021 10:15:19 -0700 (PDT) To: freebsd-current@freebsd.org From: Graham Perrin Subject: Wake from sleep with nvidia-modeset Message-ID: Date: Thu, 29 Jul 2021 18:15:19 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: 4GbHGm0N27z3lDb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hxBrj4zi; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.988]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::332:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N nvidia-driver-460.84 from ports, nvidia-modeset, NVIDIA Quadro K1100M (GK107GLM), HP ZBook 17 G2, KDE Plasma. An initial wake from sleep was almost entirely successful, one exception: * title bars of windows lacked colour. Since then: all sleeps succeed, however I can never wake the computer. There's an (immediate) dimly lit screen but nothing visible, and no response to keyboard or trackpad input. It's necessary to force off the computer. I experimented with nvidia-driver-390-390.144, no better. Any other suggestions? I'd _love_ it to work, and the one near-success makes me believe that it's possible. From nobody Thu Jul 29 17:38:25 2021 X-Original-To: freebsd-current@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 AD0BF12B1B4F for ; Thu, 29 Jul 2021 17:38:27 +0000 (UTC) (envelope-from se@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbHnH46zmz3p8n; Thu, 29 Jul 2021 17:38:27 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p200300cd5f2742001d65c9b40f93eff9.dip0.t-ipconnect.de [IPv6:2003:cd:5f27:4200:1d65:c9b4:f93:eff9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D1AFF20DE7; Thu, 29 Jul 2021 17:38:26 +0000 (UTC) (envelope-from se@freebsd.org) To: imb@protected-networks.net, Michael Gmelin , Ed Maste Cc: freebsd-current References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> <20210729120906.685fbb12@bsd64.grem.de> <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> From: Stefan Esser Subject: Re: awk behaviour? Message-ID: <9460a45c-b5e0-0094-d46b-2ac93cad5885@freebsd.org> Date: Thu, 29 Jul 2021 19:38:25 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS Content-Type: multipart/mixed; boundary="rkZKM0WK0fyP5LqnRPGYYgnva1EQcXk2j"; protected-headers="v1" From: Stefan Esser To: imb@protected-networks.net, Michael Gmelin , Ed Maste Cc: freebsd-current Message-ID: <9460a45c-b5e0-0094-d46b-2ac93cad5885@freebsd.org> Subject: Re: awk behaviour? References: <8e1a8e3c-b062-7749-ceab-e500c1ab758e@protected-networks.net> <04456969-bee0-8b22-4e81-a3201824d852@protected-networks.net> <20210729120906.685fbb12@bsd64.grem.de> <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> In-Reply-To: <3274b1b2-13ea-b6fd-19fd-263b3ff7ff50@protected-networks.net> --rkZKM0WK0fyP5LqnRPGYYgnva1EQcXk2j Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 29.07.21 um 18:42 schrieb Michael Butler via freebsd-current: > On 7/29/21 6:09 AM, Michael Gmelin wrote: >> >> >> On Wed, 28 Jul 2021 16:02:30 -0400 >> Ed Maste wrote: >> >>> On Wed, 28 Jul 2021 at 15:15, Michael Butler via freebsd-current >>> wrote: >>>> >>>> What prompted the question was my (obviously poor) attempt to debug >>>> and resolve this failure when attempting to build a release for >>>> i386 on an amd64 .. >>> >>> This will be due to my 4e224e4be7c3. I'm not sure exactly what's >>> happening yet, but I can provoke this behaviour if `${PKG_CMD} >>> --version` outputs something other than a single line with the versio= n >>> number. >>> >> >> Could it be, that the pkg binary isn't installed in $LOCALBASE/sbin/pk= g, >> (whatever LOCALBASE is at that point)? This would make pkg --version >> shows its bootstrap message: >> >> =C2=A0=C2=A0 The package management tool is not yet installed on your = system. >> =C2=A0=C2=A0 Do you want to fetch and install it now? [y/N]: >> >> which could explain the behavior. >> >> Just speculating... >=20 > This is consistent with the behaviour I'm now seeing after the most rec= ent patch. >=20 > In the chroot environment used by a cross-compilation, there is no inst= alled > pkg port. When pkg is invoked in the target environment, it now waits o= n the > yes/no response, Passing "ASSUME_ALWAYS_YES=3Dyes" in the environment should cause the installation to proceed without a wait for user input. Regards, STefan --rkZKM0WK0fyP5LqnRPGYYgnva1EQcXk2j-- --dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmEC55EFAwAAAAAACgkQR+u171r99UTp iggAmazbTVJyz2MmHtZjN7Fxg1P1JTS/XIIVmak8N1cSvH4nNc1rZr2jcHtPA5iUcRTWVHa1dGWP XavVyu6P+jMqcuaxCgEwKDNvNSEo6torUt2pmKFJvGn4wOUoTTUyQHa0ozU63XRUDZlBchS5vz4P 1va95M2ur57TJDrPF1z9jhVEMWccBo3oexoXr1UJF+L74yeh4PQab+KIQDWho3tfrClksMviQrNB kSTjmPRUfTbeZPO67VtbyVct6p+pSfi3/mmLj3TR6VSoFJ2IFs0kCJ5m2mxi45eAngGNhOpQ5WDa yxRrV3IGyR/nmWEPM0KgDYbX2ZwULFp+C7zmoFSXMQ== =srnL -----END PGP SIGNATURE----- --dQdjeRQ47EDGZ1IgqtEaqTSB6zf14hGrS-- From nobody Thu Jul 29 18:43:18 2021 X-Original-To: freebsd-current@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 DA4C112B8F6C for ; Thu, 29 Jul 2021 18:43:27 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.blih.net [212.83.155.74]) (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 (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GbKDH2Xjxz4SF5; Thu, 29 Jul 2021 18:43:27 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1627584199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5KjDKgMldiJiXqg0LGTkFCyENbh4SDuqlJN2Dh85iyM=; b=lPyWsBJPtWiM5rkpZ7iiUyWZXHLCh/vYZX50rf99JBpIuXZg7Zvp1Z5XKu3+qr7ukgWgYx eE7+J/EK/oayxxgTQg4CM6lPqIgfyxgt5A0kJBdv0qo31LuASUVfquXCcLXBODfzJY5z4E aV3tDmx0y/5FJKpGOexxxGB/C68F+2A= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 305df10b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 29 Jul 2021 18:43:19 +0000 (UTC) Date: Thu, 29 Jul 2021 20:43:18 +0200 From: Emmanuel Vadot To: Glen Barber Cc: Alan Somers , Miroslav Lachman <000.fbsd@quip.cz>, Juraj Lutter , FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-Id: <20210729204318.97f009cafd90e44cba40d474@bidouilliste.com> In-Reply-To: <20210729001354.GO1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> <20210729001354.GO1648@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4GbKDH2Xjxz4SF5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 29 Jul 2021 00:13:54 +0000 Glen Barber wrote: > On Wed, Jul 28, 2021 at 06:00:28PM -0600, Alan Somers wrote: > > On Wed, Jul 28, 2021 at 5:52 PM Miroslav Lachman <000.fbsd@quip.cz> wro= te: > >=20 > > > On 28/07/2021 20:46, Juraj Lutter wrote: > > > > > > > > > > > >> On 28 Jul 2021, at 20:37, Glen Barber wrote: > > > >> > > > >> On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > > > >>> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wr= ote: > > > >>>> Just on a hunch, could you try with adding INSTALLKERNEL=3D"${KE= RNEL}" > > > to > > > >>>> your release.conf? > > > >>>> > > > >>>> I now seem to recall some weirdness with this, but the exact det= ails > > > >>>> elude me at the moment. > > > >>>> > > > >>> > > > >>> Setting INSTALLKERNEL=3D"GENERIC-NODEBUG" during "make installke= rnel" > > > >>> overrides whatever KERNCONF was set to. But it still only instal= ls one > > > >>> kernel. Trying to set that variable to a list doesn't work. > > > >> > > > >> Ok. Give me a day or so to try to figure out what is (or isn't) > > > >> happening here. I do not recall any recent-ish changes that would= have > > > >> caused this, and I am 95% certain it has worked in the past. > > > > > > > > According to Makefile.inc1: > > > > > > > > make installkernel KERNCONF=3D?KERN1 KERN2? > > > > > > > > should install KERN1 and KERN2. Similar goes for buildkernel. > > > > > > > > Or is there something I am missing? > > > > > > Does 'make installkernel KERNCONF=3D?KERN1 KERN2?' really install both > > > kernels? Under which names? > > > I have 3 kernels defined in KERNCONF in /etc/make.conf for years. 3 > > > kernels are built by "make buildkernel" but only one installed by "ma= ke > > > installkernel". > > > > > > To install other kernels I use: > > > > > > make installkernel KERNCONF=3DKERN2 KODIR=3D/boot/kernel.KERN2 > > > > > > make installkernel KERNCONF=3DKERN3 KODIR=3D/boot/kernel.KERN3 > > > > >=20 > > Miroslav is right. Despite the comment that Juraj found, "make > > installkernel" only installs the first kernel listed in KERNCONF. >=20 > Good find. I honestly thought this worked as expected versus as > written. In fact, I *thought* secondary, tertiary, etc. kernels were > installed as /boot/kernel.KERN2, /boot/kernel.KERN3 (using the example > above). You need to set NO_INSTALLEXTRAKERNELS=3Dno for that to happens (yes the variable name and double no sucks if anyone have a patch for that that would be awesome). > Although, I may be misremembering, and 'kernel.KERN2.txz' may be created > instead, although not installed/extracted. Though, we are going back at > least seven years, and I do not even remember what I had eaten for > dinner last night, so there's that... >=20 > Glen >=20 --=20 Emmanuel Vadot From nobody Thu Jul 29 20:30:27 2021 X-Original-To: freebsd-current@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 1661712D0F38 for ; Thu, 29 Jul 2021 20:30:29 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4GbMbm5wyhz4c2S for ; Thu, 29 Jul 2021 20:30:28 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 16TKURqC076524; Thu, 29 Jul 2021 20:30:27 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 16TKURDc076523; Thu, 29 Jul 2021 13:30:27 -0700 (PDT) (envelope-from david) Date: Thu, 29 Jul 2021 13:30:27 -0700 From: David Wolfskill To: Graham Perrin Cc: freebsd-current@freebsd.org Subject: Re: Wake from sleep with nvidia-modeset Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Graham Perrin , freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RHUnmXTi8CJE3U/4" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4GbMbm5wyhz4c2S X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --RHUnmXTi8CJE3U/4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 29, 2021 at 06:15:19PM +0100, Graham Perrin wrote: > nvidia-driver-460.84 from ports, nvidia-modeset, NVIDIA Quadro K1100M=20 > (GK107GLM), HP ZBook 17 G2, KDE Plasma. >=20 > >=20 > An initial wake from sleep was almost entirely successful, one exception: >=20 > * title bars of windows lacked colour. >=20 > Since then: all sleeps succeed, however I can never wake the computer.=20 > There's an (immediate) dimly lit screen but nothing visible, and no=20 > response to keyboard or trackpad input. It's necessary to force off the= =20 > computer. >=20 > I experimented with nvidia-driver-390-390.144, no better. >=20 > Any other suggestions? >=20 > I'd _love_ it to work, and the one near-success makes me believe that=20 > it's possible. I presume (since this is to current@) that you are workiing with head (FreeBSD 14). My older laptop is also using nvidia-modest from nvidia-driver-460.84; hardware is NVIDIA GPU Quadro K2100M (GK106GL) (on a Dell PRecision M4800). Suspend/resume almost always works while running stable/12, tested most recently running: FreeBSD 12.2-STABLE #1099 stable/12-n233460-ac56cd3ba62: Tue Jul 27 03:32:2= 4 PDT 2021 root@g1-55.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64= /sys/CANARY amd64 1202508 1202508 but last I checked, resume fails for stable/13 and head (I track each of the 3 daily). One possibly-salient difference is that I had been running with kern.vty=3D"sc" (and still do, for stable/12), but since the VBE changes earlier this year, I let kern.vty take the default value (which I am not recalling at the moment) for stable/13 and head. Peace, david --=20 David H. Wolfskill david@catwhisker.org Life is not intended to be a zero-sum game. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --RHUnmXTi8CJE3U/4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmEDD+NfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcnuMQf+ImbscUzG7pGkmokamvw4rnPeVhzTlXprw94M7fL489NQfOFMcP80eYtQ sJE0RDenWKYcHFwjQ4iL+sFJOWdeWrELjlkgDMsn5Q2LOMBKOdKSj/gFFOWqq18z U7PxMMxmYb427JhjPpwuzebDV8fohNoivX/B1dX5B9sYS/uwzoBSFMYeGFW7xBrC 0GvKcpfNVhdq7NE5q1f7sZsMWTFojrQbvENOkQmaqDNxV7ZhKwQgo6sGfKAzsJaZ p3gCOh/47QqJBQ9YCZVHvkc+t6RH6nzMKMKpoCntWBAQ0c7O7BHOi/AI6ZVy0jZ6 /nGIHTW8joQ3Kih3QYYhVgCM8tduAA== =K7Kj -----END PGP SIGNATURE----- --RHUnmXTi8CJE3U/4-- From nobody Fri Jul 30 07:31:40 2021 X-Original-To: freebsd-current@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 A864112D4D5D for ; Fri, 30 Jul 2021 07:31:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 4GbfGr6hY6z3q7j for ; Fri, 30 Jul 2021 07:31:48 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x32a.google.com with SMTP id h24-20020a1ccc180000b029022e0571d1a0so5721695wmb.5 for ; Fri, 30 Jul 2021 00:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=tobj0p2lTeBqNnjH+zTljs5UrHMxoL+4459Gu1gFwpg=; b=gSs3YvY/g5Y3m92BahxiWkUeVPsbZG0mFWds2YoCBme9q5O6DcplZbCwKk7xlj9yxB 0HXldbp5WheO2AnUJSZmSPNWBTdfnhAvC9gAbQikk/E7+abwF1KbdEKhRuZSBvGKgP19 frCWqvv13yB/wx09PYQ9fHANjPYuhU5bGvpfD8mOWOda91KRly+voYzsYfQBskLmpEsp J84+qWmWZCPQhAJS2eSP50TSyRy+q+Hx/Jh/F4MiCl9tXh9aQQsGtub+NHEqxQVo/Fty NPyRpABj/SUTOjAvLXK0ZwOK1pIZxYjSossiijYWoHYRUmQAMX3uep7WD5mnP4hKOgGm aWEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tobj0p2lTeBqNnjH+zTljs5UrHMxoL+4459Gu1gFwpg=; b=UcY1UzAgSp+s1PqJhe+YxcltDhLUB8UesQ/IaA/aSkYJaT8wFNkD3O6Xw3SSqeNKz1 nDBPHoJzBeoLffAfS0oMR/tc2/z4AlE+xNRXTTx9QUKA+VW8GQVGdtiHZII7L0HqSFNO BxM0if/ZTvE9zdgZ8zt/dlZAMSh3ZNoqlBkeIS6HxHdLHIP3jZ9S4AXFEMK1yii2euwe 2mTEvs+LOzju/yLjCUXmVe6/SLyHh8Ih+gJ53Wbvyhe/U4xIRwk2El2kGOr5AAptGulL X3UH8mrAx3es6hh2KyFn4HVlLxy8IFS8DWzdwC5nmiYiD1KM0s1uI5OijyJ6wLpGsWyO kNtQ== X-Gm-Message-State: AOAM532QaoKexurAJ1Bkn/JDoGaJXtguFnvbQIthVNrH+5233yFPFRl/ v4OT43V9PBckjqFUs5LU17RK3EenPiHZoQ== X-Google-Smtp-Source: ABdhPJxfklz6HlwpmJPqwxAC3qBQNBhFCywFm6XfFMHkbdALQZCOeavxEOisisBEmeI/5rD5YdlWAA== X-Received: by 2002:a1c:9d91:: with SMTP id g139mr1462560wme.76.1627630301658; Fri, 30 Jul 2021 00:31:41 -0700 (PDT) Received: from ?IPv6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id 19sm957095wmj.2.2021.07.30.00.31.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jul 2021 00:31:41 -0700 (PDT) Subject: Re: Wake from sleep with nvidia-modeset To: freebsd-current@freebsd.org References: From: Graham Perrin Message-ID: Date: Fri, 30 Jul 2021 08:31:40 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4GbfGr6hY6z3q7j X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b="gSs3YvY/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32a as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32a:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N On 29/07/2021 21:30, David Wolfskill wrote: > On Thu, Jul 29, 2021 at 06:15:19PM +0100, Graham Perrin wrote: >> nvidia-driver-460.84 from ports, nvidia-modeset, NVIDIA Quadro K1100M >> (GK107GLM), HP ZBook 17 G2, KDE Plasma. >> >> … > … head(FreeBSD 14). True; At the time of writing: % uname -KUv FreeBSD 14.0-CURRENT #103 main-n248269-941650aae97: Wed Jul 28 07:28:47 BST 2021 root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 1400026 1400026 % > … possibly-salient difference is that I had been running with > > kern.vty="sc" > > (and still do, for stable/12), but since the VBE changes earlier > this year, I let kern.vty take the default value (which I am not > recalling at the moment) for stable/13 and head. Without specifying kern.vty, I get vt. With kern.vty="sc" in /boot/loader.conf, graphics failed after appearance of EFI framebuffer information , however disk activity continued and eventually, through use of the power button, I could repeatedly sleep then wake the computer (albeit without graphics). (Compare with vt, where things fail hard and quickly at wake time; no response to the power button.) Back to vt. I wondered whether screen.font in loader.conf might have an impact. No better after commenting out the line. For 470.57.02 there's a patch and commentary at/around . I might try this. Any other suggestions? TIA From nobody Sun Aug 1 12:26:48 2021 X-Original-To: current@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 83FCC12DBDFD for ; Sun, 1 Aug 2021 12:26:50 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Gd0kK65fjz3jSr; Sun, 1 Aug 2021 12:26:49 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 171CQmFE001971; Sun, 1 Aug 2021 12:26:48 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 171CQmiG001970; Sun, 1 Aug 2021 05:26:48 -0700 (PDT) (envelope-from david) Date: Sun, 1 Aug 2021 05:26:48 -0700 From: David Wolfskill To: current@freebsd.org Cc: wosch@freebsd.org Subject: Re: git: 99feb137f5f6 - main - `make buildworld' with time logging for each stage Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, wosch@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YL1ukQszTZpDkqh6" Content-Disposition: inline X-Rspamd-Queue-Id: 4Gd0kK65fjz3jSr X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [2.23 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org]; NEURAL_SPAM_SHORT(0.63)[0.627]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; FAKE_REPLY(1.00)[]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_LONG(-1.00)[-0.999]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; MAILMAN_DEST(0.00)[current]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --YL1ukQszTZpDkqh6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I believe that src/Makefile.inc1 needs a tweak to add "time" to the list of "Required install tools to be saved in a scratch dir for safety" -- something like: diff --git a/Makefile.inc1 b/Makefile.inc1 index 3d54a088d070..213b32a97ed3 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1300,7 +1300,7 @@ _sysctl=3Dsysctl ITOOLS=3D [ awk cap_mkdb cat chflags chmod chown cmp cp \ date echo egrep find grep id install ${_install-info} \ ln make mkdir mtree mv pwd_mkdb \ - rm sed services_mkdb sh sort strip ${_sysctl} test true uname wc \ + rm sed services_mkdb sh sort strip ${_sysctl} test time true uname wc \ ${_zoneinfo} ${LOCAL_ITOOLS} =20 # Needed for share/man Because when I tried to update from main-n248391-f7f76c200a8c to main-n248404-60fb9e10c74c, I saw: =2E.. =3D=3D=3D> etc (install) =3D=3D=3D> etc/sendmail (install) cd /usr/src/share/man; make makedb makewhatis /usr/share/man makewhatis /usr/share/openssl/man cd /usr/src; make -f Makefile.inc1 install32 sh: pkg: not found cd /usr/src/lib; time env MACHINE_CPU=3D"i686 mmx sse sse2" MACHINE=3Di386 = MACHINE_ARCH=3Di386 PATH=3D/common/S4/obj/usr/src/amd64.amd64/tmp/bin:/comm= on/S4/obj/usr/src/amd64.amd64/tmp/usr/sbin:/common/S4/obj/usr/src/amd64.amd= 64/tmp/usr/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/comm= on/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/common/S4/obj/usr/src/amd= 64.amd64/tmp/legacy/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/l= ibexec::/common/S4/obj/usr/src/amd64.amd64/tmp/bin:/common/S4/obj/usr/src/a= md64.amd64/tmp/usr/sbin:/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin:/com= mon/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/common/S4/obj/usr/src/a= md64.amd64/tmp/legacy/usr/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy= /bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/tmp/instal= l.Z8rMzNyp SYSROOT=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp LIBDI= R=3D/usr/lib32 SHLIBDIR=3D/usr/lib32 DTRACE=3D"dtrace" make AS=3D"as --32" = LD=3D"ld -m elf_i386_fbsd" NM=3D"nm" OBJCOPY=3D"objcopy" -DCOMPAT_32BIT CC= =3D"cc -target x86_64-unknown-freebsd14.0 --sysroot=3D/common/S4/obj/usr/sr= c/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -DCOMPAT= _32BIT -march=3Di686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd14.0 = -m32 --sysroot=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/comm= on/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -B/common/S4/obj/usr/src/amd64.am= d64/obj-lib32/tmp/usr/lib32" CXX=3D"c++ -target x86_64-unknown-freebsd14.0= --sysroot=3D/common/S4/obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/sr= c/amd64.amd64/tmp/usr/bin -DCOMPAT_32BIT -march=3Di686 -mmmx -msse -msse2 = -target x86_64-unknown-freebsd14.0 -m32 --sysroot=3D/common/S4/obj/usr/src= /amd64.amd64/obj-lib32/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bi= n -B/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32" CPP=3D"cpp = -target x86_64-unknown-freebsd14.0 --sysroot=3D/common/S4/obj/usr/src/amd64= =2Eamd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -DCOMPAT_32BI= T -march=3Di686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd14.0 -m32 = --sysroot=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/common/S4= /obj/usr/src/amd64.amd64/tmp/usr/bin -B/common/S4/obj/usr/src/amd64.amd64/o= bj-lib32/tmp/usr/lib32" -DNO_CPU_CFLAGS MK_CTF=3Dno -DNO_LINT MK_TESTS=3Dno= OBJTOP=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32 OBJROOT=3D'${OBJTOP}= /' MAKEOBJDIRPREFIX=3D MK_MAN=3Dno MK_HTML=3Dno -DLIBRARIES_ONLY install /tmp/install.Z8rMzNyp/sh: time: not found *** Error code 127 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src 149.85 real 65.62 user 35.05 sys *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Command exit status: 1 Script done on Sun Aug 1 05:17:29 2021 Making the above change, then re-running the "make installworld" has worked. Peace, david --=20 David H. Wolfskill david@catwhisker.org Life is not intended to be a zero-sum game. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --YL1ukQszTZpDkqh6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmEGkwhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcncsAf/d2YSD3Hia0vFqQM8XqfdOylybK7SdPYN4Bur9LOzdTc411iy3fxEUkPg 7dxlTP8ezBSJp2ymdPbTx/G6lyKgU92VbPXMSNibxOQ906niU10Dx7Zkn3oafV5X 2h0yxg/kQ2C2tezVm5K9bQICvgydBoT02G+xFRPADHuWKSpIRMKLrTrFkUIn7Zzq KPs5L4/nzQnT4UhYAh9sqqqOmLecPSbiVRSZS005MbuL/N3/0WvDgIVXPpO6o1WS hYGiW6YwZiBlJHWqYAYc6am8QZh/WF/BoBTNbVcz+76IaZxi4Dxxa7vtxx7bYOfG i5C8n8+l71jfYfrIEf5sR6a39Q+aNA== =siXw -----END PGP SIGNATURE----- --YL1ukQszTZpDkqh6-- From nobody Sun Aug 1 12:35:22 2021 X-Original-To: current@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 B218A12DE379 for ; Sun, 1 Aug 2021 12:35:35 +0000 (UTC) (envelope-from wschnr@googlemail.com) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 4Gd0wR4b3cz3m04; Sun, 1 Aug 2021 12:35:35 +0000 (UTC) (envelope-from wschnr@googlemail.com) Received: by mail-lf1-f44.google.com with SMTP id t9so15485526lfc.6; Sun, 01 Aug 2021 05:35:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=0myj2zy7gb0hzLkxSCwibsR+U6XR2bLxmzgoUzCKaH8=; b=Hri3UYVUIGXCLjX9kgNKocP19K+sZ7d2/sD7rkrVyVN4uZZavwc1b2jdhoMBJANROk EsvwKSEAi20DKtCkMuGv5Pni3Zzy04qtaLVWb7lIPjo8zxWwNA3NVxrBp7CAqakwm352 SwJ1lrn+dq+mCeQcx4YsLdfYlTbH8eN+Y0SuRcL7b2dCFxgSYDOsdTTYbpiP/tIKTKTn PzMqKXAt1+wQotYgE9sLmNyCs0vsY/AlsB9+MJ0YF7bmJgNd5vCDp4G9PFkP05eV/KED 0FmLsAe9JY+bePPR4kDW2gDKlmvotCyp7ppHawiMKVt/IAjR4trJh4YGAxsqnoBG/Fox 11NQ== X-Gm-Message-State: AOAM532MvjX4MyozDhqMOhTRyLDRGtZ02YISZ12zoJ00gbKyNoH2wjBd NzMMJ2/lXw+sAAaTXg3AivUMEsxQqSzUODHZajSw566yy0g= X-Google-Smtp-Source: ABdhPJyYNX2lOv4/X3gWkt52dwyZ9QNeJBQUQ80QsLZvtc6yhF+FcVK2brVevUFIbRkat3tJF6SRHa0EIrlVo98iOyc= X-Received: by 2002:a05:6512:4d1:: with SMTP id w17mr8611784lfq.329.1627821333583; Sun, 01 Aug 2021 05:35:33 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Wolfram Schneider Date: Sun, 1 Aug 2021 14:35:22 +0200 Message-ID: Subject: Re: git: 99feb137f5f6 - main - `make buildworld' with time logging for each stage To: current@freebsd.org, Wolfram Schneider Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Gd0wR4b3cz3m04 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi David, Thanks for the investigation. I will prepare a fix soon. BTW, should we care about the error message "sh: pkg: not found" ? -Wolfram On Sun, 1 Aug 2021 at 14:26, David Wolfskill wrote: > > I believe that src/Makefile.inc1 needs a tweak to add "time" to the list > of "Required install tools to be saved in a scratch dir for safety" -- > something like: > > diff --git a/Makefile.inc1 b/Makefile.inc1 > index 3d54a088d070..213b32a97ed3 100644 > --- a/Makefile.inc1 > +++ b/Makefile.inc1 > @@ -1300,7 +1300,7 @@ _sysctl=3Dsysctl > ITOOLS=3D [ awk cap_mkdb cat chflags chmod chown cmp cp \ > date echo egrep find grep id install ${_install-info} \ > ln make mkdir mtree mv pwd_mkdb \ > - rm sed services_mkdb sh sort strip ${_sysctl} test true uname wc = \ > + rm sed services_mkdb sh sort strip ${_sysctl} test time true unam= e wc \ > ${_zoneinfo} ${LOCAL_ITOOLS} > > # Needed for share/man > > > Because when I tried to update from main-n248391-f7f76c200a8c to > main-n248404-60fb9e10c74c, I saw: > > ... > =3D=3D=3D> etc (install) > =3D=3D=3D> etc/sendmail (install) > cd /usr/src/share/man; make makedb > makewhatis /usr/share/man > makewhatis /usr/share/openssl/man > cd /usr/src; make -f Makefile.inc1 install32 > sh: pkg: not found > cd /usr/src/lib; time env MACHINE_CPU=3D"i686 mmx sse sse2" MACHINE=3Di38= 6 MACHINE_ARCH=3Di386 PATH=3D/common/S4/obj/usr/src/amd64.amd64/tmp/bin:/co= mmon/S4/obj/usr/src/amd64.amd64/tmp/usr/sbin:/common/S4/obj/usr/src/amd64.a= md64/tmp/usr/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/co= mmon/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/common/S4/obj/usr/src/a= md64.amd64/tmp/legacy/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr= /libexec::/common/S4/obj/usr/src/amd64.amd64/tmp/bin:/common/S4/obj/usr/src= /amd64.amd64/tmp/usr/sbin:/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin:/c= ommon/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/common/S4/obj/usr/src= /amd64.amd64/tmp/legacy/usr/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/lega= cy/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/tmp/inst= all.Z8rMzNyp SYSROOT=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp LIB= DIR=3D/usr/lib32 SHLIBDIR=3D/usr/lib32 DTRACE=3D"dtrace" make AS=3D"as --32= " LD=3D"ld -m elf_i386_fbsd" NM=3D"nm" OBJCOPY=3D"objcopy" -DCOMPAT_32BIT C= C=3D"cc -target x86_64-unknown-freebsd14.0 --sysroot=3D/common/S4/obj/usr/s= rc/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -DCOMPA= T_32BIT -march=3Di686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd14.0= -m32 --sysroot=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/com= mon/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -B/common/S4/obj/usr/src/amd64.a= md64/obj-lib32/tmp/usr/lib32" CXX=3D"c++ -target x86_64-unknown-freebsd14.= 0 --sysroot=3D/common/S4/obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/s= rc/amd64.amd64/tmp/usr/bin -DCOMPAT_32BIT -march=3Di686 -mmmx -msse -msse2= -target x86_64-unknown-freebsd14.0 -m32 --sysroot=3D/common/S4/obj/usr/sr= c/amd64.amd64/obj-lib32/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/b= in -B/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32" CPP=3D"cpp= -target x86_64-unknown-freebsd14.0 --sysroot=3D/common/S4/obj/usr/src/amd6= 4.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -DCOMPAT_32BIT= -march=3Di686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd14.0 -m32 = --sysroot=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32/tmp -B/common/S4/= obj/usr/src/amd64.amd64/tmp/usr/bin -B/common/S4/obj/usr/src/amd64.amd64/ob= j-lib32/tmp/usr/lib32" -DNO_CPU_CFLAGS MK_CTF=3Dno -DNO_LINT MK_TESTS=3Dno = OBJTOP=3D/common/S4/obj/usr/src/amd64.amd64/obj-lib32 OBJROOT=3D'${OBJTOP}/= ' MAKEOBJDIRPREFIX=3D MK_MAN=3Dno MK_HTML=3Dno -DLIBRARIES_ONLY install > /tmp/install.Z8rMzNyp/sh: time: not found > *** Error code 127 > > Stop. > make[3]: stopped in /usr/src > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src > 149.85 real 65.62 user 35.05 sys > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > > Command exit status: 1 > Script done on Sun Aug 1 05:17:29 2021 > > > Making the above change, then re-running the "make installworld" has work= ed. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Life is not intended to be a zero-sum game. > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. --=20 Wolfram Schneider https://wolfram.schneider.org From nobody Sun Aug 1 12:45:20 2021 X-Original-To: current@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 D5A0A1340DE9 for ; Sun, 1 Aug 2021 12:45:21 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Gd17j3w61z3pfp; Sun, 1 Aug 2021 12:45:21 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 171CjKEE002559; Sun, 1 Aug 2021 12:45:20 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 171CjKZ4002558; Sun, 1 Aug 2021 05:45:20 -0700 (PDT) (envelope-from david) Date: Sun, 1 Aug 2021 05:45:20 -0700 From: David Wolfskill To: Wolfram Schneider Cc: current@freebsd.org Subject: Re: git: 99feb137f5f6 - main - `make buildworld' with time logging for each stage Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Wolfram Schneider References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HZ92+t1TkoKqcDBD" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Gd17j3w61z3pfp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --HZ92+t1TkoKqcDBD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 01, 2021 at 02:35:22PM +0200, Wolfram Schneider wrote: > Hi David, >=20 > Thanks for the investigation. I will prepare a fix soon. Cool; thanks. That said, the actual reboot got a panic with the keyboard inoperable, so there are likely other issues. I'll try to get some information on that up shortly. > BTW, should we care about the error message >=20 > "sh: pkg: not found" ? I wondered the same thing. I suspect that (in the case of my laptop), it's because I have at least one kernel module from ports (x11/nvidia-driver), so I have: PORTS_MODULES+=3Dx11/nvidia-driver in /etc/src.conf. However, I have not tried adding pkg to the list of "install tools" (and suspect that the whine about pkg has been there for a very long time). > -Wolfram > .... Peace, david --=20 David H. Wolfskill david@catwhisker.org Life is not intended to be a zero-sum game. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --HZ92+t1TkoKqcDBD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmEGl2BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pck2+gf+PwYFOUIf3GVfQvPlULTSrc/R5EnYTcw34Igra3LiJT00bOBekpz+7+RM r8ti5w5Ze1ilaXF8Z4i8YCCGP2sKi+k9Yk6awd6w25PvGvpxhr+HZDJoPPIREHjc oCQ6BLtCw0YLpbMFeCo4DglksRvE1x9CxP4tOo+YeD61KhpOesQXTrvoI5ZJNOyp Hg4OFlID2QjMESAwmyfAyvUrAGXNTZWxxfoNg0aCxJo0ZdcGoaA4tqJDn95EiWB6 AR9ESdZWr4ReJklP/0/F90GwfRldcX9JoDmdRZPOxBSyxkfLPAaWGMXlmNyi0HHM PPmZ2FfYsgfxrjayJDAb0JeJIg9PAQ== =cS63 -----END PGP SIGNATURE----- --HZ92+t1TkoKqcDBD-- From nobody Sun Aug 1 13:01:56 2021 X-Original-To: current@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 C31E71345226 for ; Sun, 1 Aug 2021 13:01:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Gd1Vt0jt0z3tPs for ; Sun, 1 Aug 2021 13:01:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 171D1v70002730 for ; Sun, 1 Aug 2021 13:01:57 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 171D1uan002729 for current@freebsd.org; Sun, 1 Aug 2021 06:01:56 -0700 (PDT) (envelope-from david) Date: Sun, 1 Aug 2021 06:01:56 -0700 From: David Wolfskill To: current@freebsd.org Subject: Panic with no keyboard after update to main-n248404-60fb9e10c74c Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8Wpsrywmix2ugSo1" Content-Disposition: inline X-Rspamd-Queue-Id: 4Gd1Vt0jt0z3tPs X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [1.07 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org]; NEURAL_SPAM_SHORT(0.47)[0.467]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; MAILMAN_DEST(0.00)[current]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --8Wpsrywmix2ugSo1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Once I was able to complete the "make installworld" after updating =66rom main-n248391-f7f76c200a8c to main-n248404-60fb9e10c74c, the subsequent reboot yielded a panic with the keyboard inoperable. I needed to power-cycle the laptop to get it to respond; once I did, I tried requesting that the loader laod & boot kernel.old. It loaded it, with the whinie "module 'kernel' exists but with wron version" and didn't seem to pass control to it. Screen shots in http://www.catwhisker.org/~david/FreeBSD/head/n248404/ -- named "panic.jpg" and "kernel.old.jpg" (respectively). I'm heading out for a couple of hours, but should be able to respond upon my return. Peace, david --=20 David H. Wolfskill david@catwhisker.org Life is not intended to be a zero-sum game. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --8Wpsrywmix2ugSo1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmEGm0RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pcn6TwgAjsQIGZtC+7Up+cwLbif0ZO2CA2dZowJvrrV3DPlrjOdjgAK02Cb3HgKr qZG35zdf8VMBI5GsyPBTYMLRQKYIok3EIarmat/EIK9KhUowkMtC8UQi/uLLznWN I8d9xLk8p2Y0vN2MGGzkmwGtI1sP68IGt95qOQL//pQbF7d45AgHHRAnzJHYd43V ycRU2wQgOq3S0mC3R2Q4GJod6RPdwx6w+J5Ce0wWfPPBbgKSQEGJGM8dR+BSKPST +qPDuEvINhChihy+QwieoN6NgE3SYcZFHPLnrD9LcCtnwpxPOSaR/Cx0jB3/21in +/2V9DVrY6Jqg2aHf2sQ5POvUD4rvw== =Rpv7 -----END PGP SIGNATURE----- --8Wpsrywmix2ugSo1-- From nobody Sun Aug 1 14:03:32 2021 X-Original-To: current@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 58E2212B32F7 for ; Sun, 1 Aug 2021 14:03:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Gd2tC4xNBz4VCV for ; Sun, 1 Aug 2021 14:03:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 171E3WMu053882 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 1 Aug 2021 17:03:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 171E3WMu053882 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 171E3WVj053881 for current@freebsd.org; Sun, 1 Aug 2021 17:03:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 1 Aug 2021 17:03:32 +0300 From: Konstantin Belousov To: current@freebsd.org Subject: Re: Panic with no keyboard after update to main-n248404-60fb9e10c74c Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on tom.home X-Rspamd-Queue-Id: 4Gd2tC4xNBz4VCV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Aug 01, 2021 at 06:01:56AM -0700, David Wolfskill wrote: > Once I was able to complete the "make installworld" after updating > from main-n248391-f7f76c200a8c to main-n248404-60fb9e10c74c, the > subsequent reboot yielded a panic with the keyboard inoperable. > > I needed to power-cycle the laptop to get it to respond; once I did, I > tried requesting that the loader laod & boot kernel.old. It loaded it, > with the whinie "module 'kernel' exists but with wron version" and > didn't seem to pass control to it. > > Screen shots in http://www.catwhisker.org/~david/FreeBSD/head/n248404/ > -- named "panic.jpg" and "kernel.old.jpg" (respectively). > > > I'm heading out for a couple of hours, but should be able to respond > upon my return. It seems you block my home external ip address (or country?). Your issue with the kernel.old is that nvidia.ko was rebuilt against newer kernel, so it cannot be loaded together with older kernel. Anyway, please update past 1a55a3a729cd4424e17308d3 _and_ apply the following patch: diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 8599dc2fa8f6..144b4a522bcc 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1209,7 +1209,7 @@ getmemsize(caddr_t kmdp, u_int64_t first) * Tell the physical memory allocator about pages used to store * the kernel and preloaded data. See kmem_bootstrap_free(). */ - vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); +// vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); bzero(physmap, sizeof(physmap)); physmap_idx = 0; From nobody Sun Aug 1 16:52:15 2021 X-Original-To: freebsd-current@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 1702412D174F; Sun, 1 Aug 2021 16:52:45 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gd6d74jkzz4mgy; Sun, 1 Aug 2021 16:52:43 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 2c694c77; Sun, 1 Aug 2021 16:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; s=20180501; bh=jJ42k2+NXMRSKlsR4cI4J FWy3LI=; b=uQ5mdze5k4r/C6mjxYnt2aPlfuZIRe+s8G3p7+nNF350FoAwbN8JJ B7q+YftvZ5bTh24ikKX/QvLVoS5ydvtX2lCLTxO90ulh8P4N9bFo4cqgtSPtLsaX NdSONsWx7EfcikHad1utob6+d9M86PkDfMUVQjON5InWnL9ybRMc3gBRQmxXSabh hDczaEHnk2QgtPDr5rW9EDTOfjngMwUj6rO4YsOo2oxLsYr+lZNEJiykejCulraL 0opAdRLNeRp4pf0kYydBjWz1DbRTHI6UZtPK8FFuBv8pxk52+6oC4EYGNFWrnRI4 m8fXJMFJ+6x3Xcyg9+jDxIkFstPsJZ6hg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=20180501; b=joXUYWuqcRAuuI4 o4OW3U9JGByREqBMFNXUGGBsuJVHAWq9WyMyacxdgJV+dth4y6bYpnwHyKsHPkq2 fE9X1u7ieGhytXTUzY3RE4pdS6PaIfecd+Kj2JoLwDMGWllT7qNI5UwhO6mf+c0a IgiDaOxCPp8neOJPYw9SzNVgSVeISKrynys3HFz8ETKXcJdJS4ccfDxPv0cjI2px IYmsbbiL4Iueda+ouawaWBXsAeecz7MZiu17/B90zf/cY479QL9iqm1YYIZq/u7P oLBZKB+xRGIxuc9E8Y4mc2kIv767mLX0oR8K8TDTmxVH0z+x0E/H6/4OUp8twEnq yFx6BhQ== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id b972708d (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sun, 1 Aug 2021 16:52:28 +0000 (UTC) Date: Sun, 1 Aug 2021 18:52:15 +0200 From: Michael Gmelin To: "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" Subject: Should we include ttyu* to devfs_ruleset 3 (devfsrules_unhide_login)? Message-ID: <20210801185215.645cf0c8@bsd64.grem.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Gd6d74jkzz4mgy X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=uQ5mdze5; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-2.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.990]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-virtualization] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N Hi, There are many TTY devices in devfsrules_unhide_login=3, but ttyu* (serial lines) are not part of it. As a result, certain things won't work as expected when connecting over a serial console, one example being connecting to a local bhyve vm over serial console (e.g., `vm console myvm' when using vm-bhyve). The example that brought this to my attention is using ssh within a jail that's running inside of a VM, while being connected to that VM over serial console. So the setup is: - FreeBSD 13 host - bhyve vm running FreeBSD 13 on top - Jail using mount.devfs running within the bhyve vm, using the default devfs_ruleset inside of the bhyve vm (which in turn loads devfsrules_jail=4, which includes devfsrules_unhide_login=3). Now, ssh within that jail won't work, as /dev/tty can't be accessed. Example (while being connected to the vm over a serial line): # jail -c path=/ mount.devfs ip4=inherit command=ssh localhost Host key verification failed. jail: ssh localhost: failed Now, adding in an extra rule to ruleset 3: # devfs rule -s 3 add 3250 path "ttyu*" unhide Things work as expected: # jail -c path=/ mount.devfs ip4=inherit command=ssh localhost The authenticity of host 'localhost (127.0.0.1)' can't be established... Are you sure you want to continue connecting (yes/no)? Now the question is, would it make sense to add ttyu* (or at least ttyu0) to [devfsrules_unhide_login=3] in /etc/defaults/devfs.rules, or are there any (security) reasons why this might be a bad idea? Best, Michael -- Michael Gmelin From nobody Sun Aug 1 17:32:10 2021 X-Original-To: current@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 A494512D55D9 for ; Sun, 1 Aug 2021 17:32:12 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Gd7Vh2kswz4s4R for ; Sun, 1 Aug 2021 17:32:12 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 171HWAmT006404; Sun, 1 Aug 2021 17:32:10 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 171HWAT0006403; Sun, 1 Aug 2021 10:32:10 -0700 (PDT) (envelope-from david) Date: Sun, 1 Aug 2021 10:32:10 -0700 From: David Wolfskill To: Konstantin Belousov Cc: current@freebsd.org Subject: Re: Panic with no keyboard after update to main-n248404-60fb9e10c74c Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Konstantin Belousov References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HJY+fMHXYWIWAbGI" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Gd7Vh2kswz4s4R X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --HJY+fMHXYWIWAbGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 01, 2021 at 05:03:32PM +0300, Konstantin Belousov wrote: > On Sun, Aug 01, 2021 at 06:01:56AM -0700, David Wolfskill wrote: > > Once I was able to complete the "make installworld" after updating > > from main-n248391-f7f76c200a8c to main-n248404-60fb9e10c74c, the > > subsequent reboot yielded a panic with the keyboard inoperable. > > ...=20 >=20 > It seems you block my home external ip address (or country?). I apologize: I believe that's been remedied (recently). > Your issue with the kernel.old is that nvidia.ko was rebuilt against newer > kernel, so it cannot be loaded together with older kernel. OK; effectively copying the modules from /boot/modules.old to /boot/modules got past that. (Should loader be loding modules from /boot/modules (vs. /boot/modules.old) if it's booting kernel.old?) > Anyway, please update past 1a55a3a729cd4424e17308d3 _and_ apply the follo= wing > patch: >=20 > diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c > index 8599dc2fa8f6..144b4a522bcc 100644 > --- a/sys/amd64/amd64/machdep.c > +++ b/sys/amd64/amd64/machdep.c > @@ -1209,7 +1209,7 @@ getmemsize(caddr_t kmdp, u_int64_t first) > * Tell the physical memory allocator about pages used to store > * the kernel and preloaded data. See kmem_bootstrap_free(). > */ > - vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); > +// vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); > =20 > bzero(physmap, sizeof(physmap)); > physmap_idx =3D 0; >=20 OK; did that; rebuilt. Subsequent reboot shows (copy/paste from serial console, as this is from my headless build machine): SMP: passed TSC synchronization test TSC timecounter discards lower 1 bit(s) Timecounter "TSC-low" frequency 1795879156 Hz quality 1000 KTLS: Initialized 8 threads panic: vm_phys_free_pages: page 0xfffffe00000f4fe8 has unexpected order 0 cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff82b2e= ad0 vpanic() at vpanic+0x187/frame 0xffffffff82b2eb30 panic() at panic+0x43/frame 0xffffffff82b2eb90 vm_phys_free_pages() at vm_phys_free_pages+0x27d/frame 0xffffffff82b2ebd0 kmem_bootstrap_free() at kmem_bootstrap_free+0xfe/frame 0xffffffff82b2ec20 preload_delete_name() at preload_delete_name+0x70/frame 0xffffffff82b2ec40 ucode_release() at ucode_release+0x8a/frame 0xffffffff82b2ec60 mi_startup() at mi_startup+0x1f0/frame 0xffffffff82b2ecb0 btext() at btext+0x22 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x37: movq $0,0x127af3e(%rip) db>=20 I can leave it as-is for a bit, and poke at it (given sufficient clues), if that might be helpful. Peace, david --=20 David H. Wolfskill david@catwhisker.org Life is not intended to be a zero-sum game. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --HJY+fMHXYWIWAbGI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmEG2ppfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pclr1wgAy3o4e4Qa5mzZxgFSJMlyVj/HXjaetUsDLqny3hspwBJNsqkmwVtjCEQE ruKtPo1ASkziCYs+/bN0UkbcyrWM/EOfC57ls7vUUnf+RLLe80S8bADzmHgo0qZu uzvg/3ZfG8DxTGHe+gmDqcdHsRcgQra1O7qAA6lM1psDNsm1FYAGpmt/a6CfFklP rRXSkqFParKpltZqA+68QpHDoudC/lxBgKALCk3/gQSdQp77wQHdyPf56OOTh/6x Xj2FwlWX/XoXINVem5dScjEEfN5bEYbKJy0SDxyWChYr3hqZMSFKiKbl8HklypoV diUJauIYvC+SdUoghYaq8w/C+MW6jQ== =RuWL -----END PGP SIGNATURE----- --HJY+fMHXYWIWAbGI-- From nobody Sun Aug 1 18:14:14 2021 X-Original-To: current@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 A0D1012D9D3E for ; Sun, 1 Aug 2021 18:14:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Gd8RM2xVRz3D2Q for ; Sun, 1 Aug 2021 18:14:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 171IEFWd015597 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 1 Aug 2021 21:14:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 171IEFWd015597 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 171IEE09015596 for current@freebsd.org; Sun, 1 Aug 2021 21:14:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 1 Aug 2021 21:14:14 +0300 From: Konstantin Belousov To: current@freebsd.org Subject: Re: Panic with no keyboard after update to main-n248404-60fb9e10c74c Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on tom.home X-Rspamd-Queue-Id: 4Gd8RM2xVRz3D2Q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Aug 01, 2021 at 10:32:10AM -0700, David Wolfskill wrote: > On Sun, Aug 01, 2021 at 05:03:32PM +0300, Konstantin Belousov wrote: > > On Sun, Aug 01, 2021 at 06:01:56AM -0700, David Wolfskill wrote: > > > Once I was able to complete the "make installworld" after updating > > > from main-n248391-f7f76c200a8c to main-n248404-60fb9e10c74c, the > > > subsequent reboot yielded a panic with the keyboard inoperable. > > > ... > > > > It seems you block my home external ip address (or country?). > > I apologize: I believe that's been remedied (recently). > > > Your issue with the kernel.old is that nvidia.ko was rebuilt against newer > > kernel, so it cannot be loaded together with older kernel. > > OK; effectively copying the modules from /boot/modules.old to > /boot/modules got past that. (Should loader be loding modules from > /boot/modules (vs. /boot/modules.old) if it's booting kernel.old?) > > > Anyway, please update past 1a55a3a729cd4424e17308d3 _and_ apply the following > > patch: > > > > diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c > > index 8599dc2fa8f6..144b4a522bcc 100644 > > --- a/sys/amd64/amd64/machdep.c > > +++ b/sys/amd64/amd64/machdep.c > > @@ -1209,7 +1209,7 @@ getmemsize(caddr_t kmdp, u_int64_t first) > > * Tell the physical memory allocator about pages used to store > > * the kernel and preloaded data. See kmem_bootstrap_free(). > > */ > > - vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); > > +// vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); > > > > bzero(physmap, sizeof(physmap)); > > physmap_idx = 0; > > > > OK; did that; rebuilt. Subsequent reboot shows (copy/paste from serial > console, as this is from my headless build machine): > > SMP: passed TSC synchronization test > TSC timecounter discards lower 1 bit(s) > Timecounter "TSC-low" frequency 1795879156 Hz quality 1000 > KTLS: Initialized 8 threads > panic: vm_phys_free_pages: page 0xfffffe00000f4fe8 has unexpected order 0 > cpuid = 0 > time = 1 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff82b2ead0 > vpanic() at vpanic+0x187/frame 0xffffffff82b2eb30 > panic() at panic+0x43/frame 0xffffffff82b2eb90 > vm_phys_free_pages() at vm_phys_free_pages+0x27d/frame 0xffffffff82b2ebd0 > kmem_bootstrap_free() at kmem_bootstrap_free+0xfe/frame 0xffffffff82b2ec20 > preload_delete_name() at preload_delete_name+0x70/frame 0xffffffff82b2ec40 > ucode_release() at ucode_release+0x8a/frame 0xffffffff82b2ec60 > mi_startup() at mi_startup+0x1f0/frame 0xffffffff82b2ecb0 > btext() at btext+0x22 > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at kdb_enter+0x37: movq $0,0x127af3e(%rip) > db> > > I can leave it as-is for a bit, and poke at it (given sufficient > clues), if that might be helpful. No need. Please revert that manual change (commenting out the call to vm_phys_early_add_seg()), and reproduce the issue anew. I want to see the updated "allocating kernel page" panic message. BTW, if you comment out loading nvidia.ko from loader.conf, does the system boot normally? If yes, can you kldload nvidia.ko after system booted?