From nobody Mon Nov 18 02:10:08 2024 X-Original-To: freebsd-questions@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 4XsB0p2Cxbz5dhhR; Mon, 18 Nov 2024 02:10:18 +0000 (UTC) (envelope-from zlei@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsB0p1TRkz4Yjd; Mon, 18 Nov 2024 02:10:18 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731895818; 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=wc6dVhDISvkGBLbW3i6TebTtQIBHPUrYeb7aUkhpnEw=; b=q9uRHCcKC6QYbc7nvingfVnUPG3zPS9iw/Dyp6WnQIIk7GUUpqxwuxgScw+fD6N6MpoqrM ClW2I9WH3wpVMTgyUvHLjKMt3a/V0nX/Nf60tiMIvKEshay4RhwZKca9hrD2FG3Wo1y0AM lloeVpby8SIZ+yfn5r6UjSYYpqahoenFbctJdQCHKNGeHigW72RCfGFtKwyxTV2SeB5EGn kKp05Ezhg6cAd+K7ec7TsfRtuyzWxJ4mFkLXGsErk4iPcDov8NP93WnkKIzy+gJS2+QU2p m4xI7LE9ueYgZ2PVjWauK4CwTFbo/6wvgyaYuIIiYi7flGe2rif7ZDG/6GkVoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731895818; 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=wc6dVhDISvkGBLbW3i6TebTtQIBHPUrYeb7aUkhpnEw=; b=koZBKNb2VbGypBcfmhOgiCFRb3iyEnxovpuQ2Tx29Bf2JdxBwuVYMEbEq9/n8FA8oaSk1T ZDVmYLx17a6oZUx+/l2d3MxU6Umk3BFmsY2OIlcAjIpohV3xw7sg1DJLozNW5ONU6zu3RX SqXpJ1KITeX/ZtVEto8BiKcolCyPj3SpRVQaJM901zf8Vz8/D+m+uOnU1WBPyXFtwzzFxN ux2FO+qroxj3anjlA40ijltOErhMMCcpZq5pU4m6pXL++xrrvb+J/MajEr4MLj9MQfibZR /XGsm1WNEv6weOxhwwLD4BFaB2u3rQD9ceOwCuDm8ZJmkBUkSstj59uQhqVsUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731895818; a=rsa-sha256; cv=none; b=RE2GacYOEJdyS1p8vmV5PYRDn3LsVPLVBU4Ck4E+u2ANR9tiW4yk/a+y2KL0ebXMwYUS7H s/qg/yjg82AMsGjKydWz+kBU1kZwUCYfinsqgny29r1Vxv4ZeW3++s26U4XghOBhwQdvJu /UXoVkIyUoDZA6dtITWD6QASMXYOInV2UnxjyJZ79nQnQfYej18NPYs7+Rnl66Gql6GvzW n8zZaUWsaLYfjwaZvKJG2QOWXnXpSSmP6DMhkWbcv5YIK5TL2nOTunQl8ECwSnX8DK8X5t dyWruYjBVlyx4DrMVxtxzrUJaKeIWnP21dCrP86TsE7j8FCo/T1p4mrhVYc7Iw== Received: from smtpclient.apple (unknown [IPv6:2001:19f0:6001:9db:98f0:9fe0:3545:10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XsB0m5vXhzWNj; Mon, 18 Nov 2024 02:10:16 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <1D0B031C-DAF2-42C8-AEDC-FF05BEFD8B6A@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_8F00CF49-933D-4156-BFB9-ACD0AFC9BD1F" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: Building a ported kernel module, where the Project-provided package is inferior (was: Error report on FreeBSD-14.2-BETA2 - graphics problem) Date: Mon, 18 Nov 2024 10:10:08 +0800 In-Reply-To: <00cd8876-a9a2-417e-9995-b0de7afd4186@gmail.com> Cc: stable@freebsd.org, FreeBSD Mailing List , =?utf-8?Q?Fernando_Apestegu=C3=ADa?= To: Graham Perrin References: <330d2a06cd2099f1cda6c151d2586404@zahemszky.hu> <7409b19c-a1a2-4439-9cdb-6a0fb5b6ac32@FreeBSD.org> <00cd8876-a9a2-417e-9995-b0de7afd4186@gmail.com> X-Mailer: Apple Mail (2.3696.120.41.1.10) --Apple-Mail=_8F00CF49-933D-4156-BFB9-ACD0AFC9BD1F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Nov 17, 2024, at 4:38 PM, Graham Perrin = wrote: >=20 > On 14/11/2024 11:09, Hans Ottevanger wrote: >> =E2=80=A6 rebuilding the drm-61-kmod package =E2=80=A6. I still = wonder what we have to tell an unsuspecting (possibly beginning) end = user =E2=80=A6 >=20 > The need to build modules such as drm-61-kmod is: >=20 > * very frequently encountered >=20 > * not mentioned at . >=20 > When the announcement for BETA3 is posted to Reddit: >=20 > * I'll add a hint that FreeBSD-src-sys can be added with pkg >=20 > =E2=80=93 for the benefit of people who might not want the relative = complexity of things such as git, gitup, and got. >=20 >=20 Fernando made enhancement [1] to freebsd-update(8) so that end users = will be warned / hinted. So maybe it is time to MFC that to stable = branches ? The serial of related commits are [2] [3] and [4]. 1. https://reviews.freebsd.org/D39695 = 2. bc0c6c9cf3a9 freebsd-update: Add check for kernel modules 3. d3b6d70e0dfa freebsd-update(8): Use kern.module_path 4. d76ef58d566c freebsd-update: Correctly check if pkg(8) is present Best regards, Zhenlei --Apple-Mail=_8F00CF49-933D-4156-BFB9-ACD0AFC9BD1F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Nov 17, 2024, at 4:38 PM, Graham Perrin <grahamperrin@gmail.com> wrote:

On = 14/11/2024 11:09, Hans Ottevanger wrote:
=E2=80=A6 rebuilding the drm-61-kmod package = =E2=80=A6. I still wonder what we have to tell an unsuspecting (possibly = beginning) end user =E2=80=A6

The need to build modules such as drm-61-kmod is:

* very frequently encountered

* not mentioned at <https://docs.freebsd.org/en/books/faq/>.

When the announcement for BETA3 is posted to = Reddit:

* I'll add a hint that = FreeBSD-src-sys can be added with pkg

=E2=80=93= for the benefit of people who might not want the relative complexity of = things such as git, gitup, and got.



Fernando = made enhancement [1] to freebsd-update(8) so that end users will be = warned / hinted. So maybe it is time to MFC that to stable branches = ?

The serial of related commits are = [2] [3] and [4].

2. = bc0c6c9cf3a9 freebsd-update: Add check for kernel modules
3. = d3b6d70e0dfa freebsd-update(8): Use kern.module_path
4. = d76ef58d566c freebsd-update: Correctly check if pkg(8) is = present

Best regards,
Zhenlei

= --Apple-Mail=_8F00CF49-933D-4156-BFB9-ACD0AFC9BD1F--