Re: Fwd: Kernel Power management ?? turning off used devices that are in use.

Joel Schopp
2011-11-04T15:36:09Z

> I need to be able to either switch off cpu hotpluging - or at least
> prevent hotplugging certain cpu's
>
> there should really be a mincpu's option or better a
> nohotplug="0,1,2,5,7,etc" option.
>
> It would appear that cpu1 is the default cpu for those interrupts -
> and they are not being transferred to cpu0 properly.
>
The proper way to fix this is to find why the interrupts are not being
transferred and fix that. Forcing cpus to not be hotpluggable is just
hiding the problem.

> I have tried the kernel parameters noapic nosmp maxcpus acpi=off
> possible_cpus=2 etc - with no success
>
> I did find a flaw in "possible_cpus=0" - this prevents the kernel
> booting (no cpus available )
> This option should be set to a minimum of 1
>
We allow users to shoot themselves in the foot if they do silly things.
This is a design decision.