Talk:Kernel module

From ArchWiki
Latest comment: Saturday at 09:40 by Susd in topic Building modules

Using kernel command line - built-in or loadable module?

The chapter starts with "If the module is built into the kernel" and then gives then some advise for the kernel-line. My proposal is to add an info, how to query if it is an built-in or loadable module, and also if the chapter applies to both. This difference has to be considered on more sub-chapters here I think.

Ua4000 (talk) 14:13, 7 June 2022 (UTC)Reply

Section name repeated

4.3	Using kernel command line
6.2	Using kernel command line

Problems when linked?

AlonsoLP (talk) 14:43, 11 October 2022 (UTC)Reply

You can link to both sections: Kernel module#Using kernel command line vs Kernel module#Using kernel command line 2. — Lahwaacz (talk) 18:28, 14 October 2022 (UTC)Reply

Building modules

When I installed `binder_linux-dkms` from AUR it had issues because I didn't have `linux-headers` installed. It should be stated that `linux-headers` might be required when installing from AUR. Susd (talk) 08:42, 5 October 2024 (UTC)Reply

linux-headers is listed as an optional dependency of dkms (see also Dynamic Kernel Module Support#Installation). You should have seen a message about it in pacman output when the package got installed. -- nl6720 (talk) 09:01, 5 October 2024 (UTC)Reply
I think a problem is that optional dependencies aren't always optional. In this specific context `linux-headers` is needed. Susd (talk) 09:23, 5 October 2024 (UTC)Reply
Yes, linux-headers is needed for linux when using DKMS, but there is no way to convey that dependency. Arch supports multiple kernels so you cannot make assumptions about the installed kernels. -- nl6720 (talk) 09:31, 5 October 2024 (UTC)Reply
In optional dependencies:
> This may imply that not all executables provided by a package will function without the respective optdepends.
This is what I missed :) Susd (talk) 09:40, 5 October 2024 (UTC)Reply