lkml.org 
[lkml]   [2021]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: wait_for_initramfs warning from kernel_init_freeable()
Date
On 29.04.2021 08:46, Heiner Kallweit wrote:
> Since 97f8172f9a98 ("init/initramfs.c: do unpacking asynchronously") I get
> the following warning early in the boot process from umh:
> "wait_for_initramfs() called before rootfs_initcalls"
> Some debugging lead me to the following call chain:
>
> kernel_init_freeable()
> -> do_basic_setup()
> -> driver_init()
> -> platform_bus_init()
> -> bus_register()
> -> kset_register()
> -> kobject_uvent()
>

Sorry, this is the first umh call, but at this time UMH_DISABLED is still set.
The first umh call where UMH is enabled is the following:

kernel_init_freeable()
-> do_basic_setup()
-> do_initcalls()
-> do_one_initcall()
-> wq_sysfs_init() <- core_initcall()
-> subsys_virtual_register()
-> bus_register()

\
 
 \ /
  Last update: 2021-04-29 09:17    [W:0.075 / U:2.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site