Re: module param for CPU_NOTIFIER_ERROR_INJECT

From: Akinobu Mita
Date: Mon Aug 22 2011 - 08:48:56 EST


2011/8/22 Justin P. Mattock <justinmattock@xxxxxxxxx>:

> 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.

I suspect that cpu-notifier-error-inject module is already loaded and
the module parameter is just ignored when you run above commands.

Please retry it after rmmod or change that parameter through
/sys/module/cpu-error-inject/parameters/cpu_up_prepare_error.
--
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/