From owner-dev-commits-src-all@freebsd.org Tue Apr 13 20:15:28 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DFA685EB01A; Tue, 13 Apr 2021 20:15:28 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 4FKcKr0WWnz3KrG; Tue, 13 Apr 2021 20:15:27 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wr1-x42b.google.com with SMTP id p6so10944953wrn.9; Tue, 13 Apr 2021 13:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=oo5C2yTzS3AbpsZV+9NaRzdfusnz4n39u433YeFNGrE=; b=AEDsk/z0MF4yXEmNDzsRo+FqbzIMXzYtL+xH89P9qq3W3XiwQBt+JZrCRNhFKm99Cl osKJmQBi+104d7exJLTcBKFBd/F9sCM3AJClixApHPov56aRGf2tO7hJLV4m0oj54OVA +Zz2cf2qhrhRXGqB6o962eDrTxFfZ8IX5gtnsto1zCUgpbSgz6CtuDDXK0zQr14EElK7 UVX4ucIOaC3mtVTIo1i7j6RDxKARIkeFHUzSGOx5BSLHCj7BtVFymAuUfXhByCfkCfl8 lJxFEP/aM/W2ghOtR/VasrcM8qTioXmVMne25MRvTkFgsgda6HqqGEztEO5v4hX3HZOw 3/Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=oo5C2yTzS3AbpsZV+9NaRzdfusnz4n39u433YeFNGrE=; b=mkdnK0HdNKSGcNshp3iprRh835AJzDmyh0xsTsT9MchsiXUh8n0/W34Wc4jRQDRbTC uqd0vIWmK6+paO24fTvYXJesILuIXHbfytpwEguA7G8t40CEf/K0QM4plEg490EMW66j Y/QePYbjkwQ/kpky6FK1yfcXK8lBrlSkXekqT4kzgEVQ0jT6Y3YGNvm0rwXKAL1aiZ8v 7K6YRplfgZYGvFQISzHoSHfIux0MbT8PrbYcbfy2t/CYfcveUnO1fX0huClJrVtPBHUf FQ3lbYNTjOHB4Uzq1rWhk3wKMECvs2/WYiNr4TtnMIkBybTLOI5KRd/ydVt+0m8Y+LDT pPfA== X-Gm-Message-State: AOAM530DkYmRjYRNTx24iOsCj1Bu8o5XEXsybVoenlIPbJy3/XwS2dIk oDYssjRj05rHdhPQYAcutI1k4g2Gk2g= X-Google-Smtp-Source: ABdhPJziVoepWglF4Twc2HJr8o3pq56NHKOgvOw7RjCj7UDb+ZnKqHjmSVkXXn8QZoI84cL98GPvfw== X-Received: by 2002:a5d:484d:: with SMTP id n13mr39412295wrs.71.1618344925355; Tue, 13 Apr 2021 13:15:25 -0700 (PDT) Received: from brick (cpc159423-cmbg20-2-0-cust338.5-4.cable.virginm.net. [86.7.147.83]) by smtp.gmail.com with ESMTPSA id j12sm11049885wro.29.2021.04.13.13.15.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 13:15:24 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Tue, 13 Apr 2021 21:15:25 +0100 From: Edward Tomasz Napierala To: rgrimes@freebsd.org Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 82431b7506d6 - main - rc: remove the 'archdep' script Message-ID: Mail-Followup-To: rgrimes@freebsd.org, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org References: <202104121418.13CEISV0082707@gitrepo.freebsd.org> <202104121851.13CIpmmQ034866@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202104121851.13CIpmmQ034866@gndrsh.dnsmgr.net> X-Rspamd-Queue-Id: 4FKcKr0WWnz3KrG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=AEDsk/z0; dmarc=none; spf=pass (mx1.freebsd.org: domain of etnapierala@gmail.com designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=etnapierala@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[trasz@freebsd.org,etnapierala@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[86.7.147.83:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42b:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[trasz@freebsd.org,etnapierala@gmail.com]; 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)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42b:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42b:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[dev-commits-src-all,dev-commits-src-main] X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2021 20:15:28 -0000 On 0412T1151, Rodney W. Grimes wrote: > > The branch main has been updated by trasz: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=82431b7506d646165d52f11bc2958e8ce8ec5cce > > > > commit 82431b7506d646165d52f11bc2958e8ce8ec5cce > > Author: Edward Tomasz Napierala > > AuthorDate: 2021-04-12 13:38:16 +0000 > > Commit: Edward Tomasz Napierala > > CommitDate: 2021-04-12 14:18:17 +0000 > > > > rc: remove the 'archdep' script > > > > It was unused since 405c3050f10, which removed iBCS support. > > > > This also moves the 'linux' rc script slightly earlier, which > > might help in some setups. The original version of this patch > > moved it even more, before 'mountcritlocal', which would fixe > > mount(8) errors due to missing /dev/shm in setups with entries > > for /path/to/chroot/dev/shm without the "late" flag; however, > > in the end 'kldxref' turned out to depend on 'mountcritlocal' > > anyway. > > I would think that these hintts are built and kernel/module > install time, not at the much later when the system is booting. They are, for amd64. The problem here is that kldxref(8) doesn't work for cross builds. > Crazy idea, but first isnt it too late for hints by the time > this runs? So... change this from a _start to a _shutdown > action and build the hints files on the way down so that > all things are ready next time the system boots. This > would fix the /usr mount issue. This would cause failures on first boot, though. Also, no, I don't think this is too late - we mount /usr quite early in the boot sequence.