Re: Kernel panic at boot with ondemand governor as default (2.6.24-rc2)

Eric Piel
2007-11-15T23:38:20Z

2007年11月12日 16:23, Thomas Renninger wrote/a écrit:
> On Mon, 2007-11-12 at 15:02 +0100, Eric Piel wrote:
:
>> Another way would be to
>> reorganise the initialisation code so that workqueue is initialised
>> before the cpufreq framework is started, do you think it's possible?
> Making all this work with low-level drivers built in would be perfect of
> course...
Hi, I've just checked and it seems a bit weird, at least not as I
expected: the workqueue is already initialized _before_ cpufreq! At
least, from what I read in init/main.c, in do_basic_setup(), first there
is a call to init_workqueues(), then there is a call to do_initcalls()
(which indirectly calls cpufreq_core_init()). So maybe workqueues need
something more than being initialized to work? What could it be? (My
kernel is compiled for monoprocessor, I can't see what goes wrong in
wq_per_cpu()).

See you,
Eric