* [Buildroot] Are deferred Initcalls possible with a Linux 2.6.39 Kernel?
@ 2014-03-07 13:08 Frank Ihle
2014-03-07 15:21 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Frank Ihle @ 2014-03-07 13:08 UTC (permalink / raw)
To: buildroot
Hi everyone,
I want to load several modules not at boot time, but afterwards when system is ready to operate. There are the deferred initcalls, that do exactly what I want as explained on http://elinux.org/Deferred_Initcalls.
Now to use them I need to apply a patch. On the given page, there are patches for Linux 2.6.26, 2.6.27, 2.6.28 and 3.10, unfortunately I'm using a Linux 2.6.39 and non of those patches can be applied successfully (Patch fails and If I make an Image afterwards, the "/proc/deferred_initcall" is not included)
Does anyone know if there are further patches or is there a workaround for Linux 2.6.39?
Kind Regards
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140307/b8af308e/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Are deferred Initcalls possible with a Linux 2.6.39 Kernel?
2014-03-07 13:08 [Buildroot] Are deferred Initcalls possible with a Linux 2.6.39 Kernel? Frank Ihle
@ 2014-03-07 15:21 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2014-03-07 15:21 UTC (permalink / raw)
To: buildroot
On 07/03/2014 at 14:08:08 +0100, Frank Ihle wrote :
> Hi everyone,
>
> I want to load several modules not at boot time, but afterwards when system is ready to operate. There are the deferred initcalls, that do exactly what I want as explained on http://elinux.org/Deferred_Initcalls.
>
deferred_initcall is not for modules but for driver statically compiled
in the kernel. Is that what you are looking for ?
> Now to use them I need to apply a patch. On the given page, there are patches for Linux 2.6.26, 2.6.27, 2.6.28 and 3.10, unfortunately I'm using a Linux 2.6.39 and non of those patches can be applied successfully (Patch fails and If I make an Image afterwards, the "/proc/deferred_initcall" is not included)
>
> Does anyone know if there are further patches or is there a workaround for Linux 2.6.39?
>
I would say that the patch is sufficiently small to be ported easily on
any kernel version.
My guess would be that the 3.10 one is the one you should start with.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-07 15:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 13:08 [Buildroot] Are deferred Initcalls possible with a Linux 2.6.39 Kernel? Frank Ihle
2014-03-07 15:21 ` Alexandre Belloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox