lkml.org 
[lkml]   [2011]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmodule param for CPU_NOTIFIER_ERROR_INJECT
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


\
 
 \ /
  Last update: 2011-08-21 20:55    [W:0.222 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site