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

From: Joel Schopp
Date: Fri Nov 04 2011 - 11:36:10 EST



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/