Date: Mon, 18 Nov 2024 10:10:08 +0800 From: Zhenlei Huang <zlei@FreeBSD.org> To: Graham Perrin <grahamperrin@gmail.com> Cc: stable@freebsd.org, FreeBSD Mailing List <freebsd-questions@freebsd.org>, =?utf-8?Q?Fernando_Apestegu=C3=ADa?= <fernape@freebsd.org> Subject: Re: Building a ported kernel module, where the Project-provided package is inferior (was: Error report on FreeBSD-14.2-BETA2 - graphics problem) Message-ID: <1D0B031C-DAF2-42C8-AEDC-FF05BEFD8B6A@FreeBSD.org> In-Reply-To: <00cd8876-a9a2-417e-9995-b0de7afd4186@gmail.com> References: <330d2a06cd2099f1cda6c151d2586404@zahemszky.hu> <7409b19c-a1a2-4439-9cdb-6a0fb5b6ac32@FreeBSD.org> <e5563de1-4054-48b4-8f48-15c307ff41b4@beastielabs.net> <00cd8876-a9a2-417e-9995-b0de7afd4186@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <grahamperrin@gmail.com> = 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 <https://docs.freebsd.org/en/books/faq/>. >=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 = <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 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On Nov 17, 2024, at 4:38 PM, Graham Perrin <<a = href=3D"mailto:grahamperrin@gmail.com" = class=3D"">grahamperrin@gmail.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">On = 14/11/2024 11:09, Hans Ottevanger wrote:<br class=3D""><blockquote = type=3D"cite" class=3D"">=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<br class=3D""></blockquote><br = class=3D"">The need to build modules such as drm-61-kmod is:<br = class=3D""><br class=3D"">* very frequently encountered<br class=3D""><br = class=3D"">* not mentioned at <<a = href=3D"https://docs.freebsd.org/en/books/faq/" = class=3D"">https://docs.freebsd.org/en/books/faq/</a>>.<br = class=3D""><br class=3D"">When the announcement for BETA3 is posted to = Reddit:<br class=3D""><br class=3D"">* I'll add a hint that = FreeBSD-src-sys can be added with pkg<br class=3D""><br class=3D"">=E2=80=93= for the benefit of people who might not want the relative complexity of = things such as git, gitup, and got.<br class=3D""><br class=3D""><br = class=3D""></div></div></blockquote><br class=3D""></div><div>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 = ?</div><div><br class=3D""></div><div>The serial of related commits are = [2] [3] and [4].</div><div><br class=3D""></div><div>1. <a = href=3D"https://reviews.freebsd.org/D39695" = class=3D"">https://reviews.freebsd.org/D39695</a></div><div>2. = bc0c6c9cf3a9 freebsd-update: Add check for kernel modules</div><div>3. = d3b6d70e0dfa freebsd-update(8): Use kern.module_path</div><div>4. = d76ef58d566c freebsd-update: Correctly check if pkg(8) is = present</div><br class=3D""><div class=3D""> <div>Best regards,</div><div>Zhenlei</div> </div> <br class=3D""></body></html>= --Apple-Mail=_8F00CF49-933D-4156-BFB9-ACD0AFC9BD1F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D0B031C-DAF2-42C8-AEDC-FF05BEFD8B6A>