module param for CPU_NOTIFIER_ERROR_INJECT

From: Justin P. Mattock
Date: Sun Aug 21 2011 - 14:52:36 EST


hello,
I am playing around with CPU_NOTIFIER_ERROR_INJECT and am noticing that

example 2
# modprobe cpu-notifier-error-inject cpu_up_prepare_error=-2
# echo 1 > /sys/devices/system/cpu/cpu1/online
bash: echo: write error: No such file or directory

is not working for me, or atleast is not showing me any info that it is working.

the other proceedure does work:

example 1
# modprobe cpu-notifier-error-inject cpu_down_prepare_error=-1
# echo 0 > /sys/devices/system/cpu/cpu1/online
bash: echo: write error: Operation not permitted

dmesg shows:
[ 2427.924405] Injecting error (-1) at cpu notifier
[ 2427.930569] _cpu_down: attempt to take down CPU 1 failed


any ideas on what I need to do or is this working, and am I not seeing anything in dmesg?

Justin P. Mattock
--
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/