question about subsys_initcall sequence

Greg KH greg at kroah.com
Thu Jan 20 22:02:14 EST 2011


On Fri, Jan 21, 2011 at 08:13:15AM +0530, naveen yadav wrote:
> Hi all,
> 
> I am migrating kernel to new target, and it hangs in between, I want
> to know where it hangs.
> Since it do lots of subsys_initcall(XXX). So i do not know the
> sequence where it hangs. is there any way from which i can find the
> sequence of
> kernel inbuild INIT execution sequence.

You can tell the kernel to print out the init call sequence, pass the
"initcall_debug" option on the command line and look in the kernel log
file.

Hope this helps,

greg k-h



More information about the Kernelnewbies mailing list