From: "Justin P. Mattock" <justinmattock@gmail.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
akinobu.mita@gmail.com
Subject: module param for CPU_NOTIFIER_ERROR_INJECT
Date: Sun, 21 Aug 2011 11:52:08 -0700 [thread overview]
Message-ID: <4E5153D8.7010607@gmail.com> (raw)
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
next reply other threads:[~2011-08-21 18:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-21 18:52 Justin P. Mattock [this message]
2011-08-22 12:48 ` module param for CPU_NOTIFIER_ERROR_INJECT Akinobu Mita
[not found] ` <CAKFRV=PSQT7Wt01gxirnkJEJv2GvQ7ELkd8QvxhT6BjXnBgQsw@mail.gmail.com>
2011-08-23 4:17 ` Justin P. Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5153D8.7010607@gmail.com \
--to=justinmattock@gmail.com \
--cc=akinobu.mita@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.