* [Buildroot] 2024.02.6 : modinfo for target side
@ 2024-11-16 5:38 Zvi Vered
2024-11-25 22:30 ` Mattia Narducci
0 siblings, 1 reply; 3+ messages in thread
From: Zvi Vered @ 2024-11-16 5:38 UTC (permalink / raw)
To: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 192 bytes --]
Hello,
In 2024.02.6 I included "kmod" in "Target packages->System tools"
But in rootfs.tar built without any errors, there is no kmod nor modinfo.
Can you please advise ?
Thank you,
Zvika
[-- Attachment #1.2: Type: text/html, Size: 358 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] 2024.02.6 : modinfo for target side
2024-11-16 5:38 [Buildroot] 2024.02.6 : modinfo for target side Zvi Vered
@ 2024-11-25 22:30 ` Mattia Narducci
2024-11-28 10:40 ` Fiona Klute via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Mattia Narducci @ 2024-11-25 22:30 UTC (permalink / raw)
To: Zvi Vered; +Cc: buildroot
Hello Zvika,
On Sat, 16 Nov 2024 06:38:09 +0100 Zvi Vered wrote:
> In 2024.02.6 I included "kmod" in "Target packages->System tools"
> But in rootfs.tar built without any errors, there is no kmod nor modinfo.
the kmod package you selected only provides command line utilities like
modinfo when "kmod utilities" is also selected.
There are two options to get them:
1. do not select kmod package and use the utilities conveniently
provided by busybox. You should already have insmod, lsmod, modprobe
and rmmod available if you are using the default busybox configuration.
Just run make busybox-menuconfig and select modinfo from the "Linux
Module Utilities" menu
2. if you really need modinfo from the kmod package, first select "Show
packages that are also provided by busybox" from "Target packages".
Then you should see the new option "kmod utilities" in the "Target
packages -> System tools" submenu
Best regards,
Mattia
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] 2024.02.6 : modinfo for target side
2024-11-25 22:30 ` Mattia Narducci
@ 2024-11-28 10:40 ` Fiona Klute via buildroot
0 siblings, 0 replies; 3+ messages in thread
From: Fiona Klute via buildroot @ 2024-11-28 10:40 UTC (permalink / raw)
To: buildroot
Am 25.11.24 um 23:30 schrieb Mattia Narducci:
> Hello Zvika,
>
> On Sat, 16 Nov 2024 06:38:09 +0100 Zvi Vered wrote:
>> In 2024.02.6 I included "kmod" in "Target packages->System tools"
>> But in rootfs.tar built without any errors, there is no kmod nor modinfo.
>
> the kmod package you selected only provides command line utilities like
> modinfo when "kmod utilities" is also selected.
>
> There are two options to get them:
>
> 1. do not select kmod package and use the utilities conveniently
> provided by busybox. You should already have insmod, lsmod, modprobe
> and rmmod available if you are using the default busybox configuration.
> Just run make busybox-menuconfig and select modinfo from the "Linux
> Module Utilities" menu
>
> 2. if you really need modinfo from the kmod package, first select "Show
> packages that are also provided by busybox" from "Target packages".
> Then you should see the new option "kmod utilities" in the "Target
> packages -> System tools" submenu
The Busybox utils have some limitations relative to kmod, like not
supporting loading compressed kernel modules. So whether the Busybox
tools are sufficient depends on the rest of your setup, but I agree
they're usually preferable for small size if yes. :-)
Best regards,
Fiona
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-28 10:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-16 5:38 [Buildroot] 2024.02.6 : modinfo for target side Zvi Vered
2024-11-25 22:30 ` Mattia Narducci
2024-11-28 10:40 ` Fiona Klute via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox