login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
22
Re: [PATCH 12/12] add CPU notifier error injection module
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH 12/12] add CPU notifier error injection module
Date: Monday, March 22, 2010 - 2:48 pm
On Thu, 18 Mar 2010 18:05:24 +0900 Akinobu Mita <akinobu.mita@gmail.com> wrote:
quoted text
> I used this module to test the series of modification to the > cpu notifiers code. > > Example1: inject CPU offline error (-1 == -EPERM) > > # modprobe cpu-notifier-error-inject cpu_down_prepare_error=-1 > # echo 0 > /sys/devices/system/cpu/cpu1/online0 > bash: echo: write error: Operation not permitted > > Example2: inject CPU online error (-2 == -ENOENT) > > # modprobe cpu-notifier-error-inject cpu_up_prepare_error=-2 > # echo 1 > /sys/devices/system/cpu/cpu1/online0 > bash: echo: write error: No such file or directory > > ... > > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -885,6 +885,18 @@ config LKDTM > Documentation on how to use the module can be found in > Documentation/fault-injection/provoke-crashes.txt > > +config CPU_NOTIFIER_ERROR_INJECT > + tristate "CPU notifier error injection module" > + depends on HOTPLUG_CPU && DEBUG_KERNEL > + help > + This option provides a kernel module that can be used to test > + the error handling of the cpu notifiers > + > + To compile this code as a module, choose M here: the module will > + be called cpu-notify-inject.
Should be "cpu-notifier-error-inject", yes?
quoted text
> + If unsure, say N. > + > config FAULT_INJECTION > bool "Fault-injection framework" > depends on DEBUG_KERNEL
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 01/12] cpu-hotplug: introduce cpu_notify(), __cpu_n ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 02/12] cpu-hotplug: return better errno on cpu hotp ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 03/12] notifier: change notifier_from_errno(0) to r ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 04/12] x86: convert cpu notifier to return encapsul ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 05/12] topology: convert cpu notifier to return enc ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 06/12] kernel/: convert cpu notifier to return enca ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 07/12] slab: convert cpu notifier to return encapsu ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 08/12] iucv: convert cpu notifier to return encapsu ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 09/12] ehca: convert cpu notifier to return encapsu ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 10/12] s390: convert cpu notifier to return encapsu ...
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
[PATCH 12/12] add CPU notifier error injection module
, Akinobu Mita
, (Thu Mar 18, 2:05 am)
Re: [PATCH 07/12] slab: convert cpu notifier to return enc ...
, Pekka Enberg
, (Thu Mar 18, 10:21 am)
Re: [PATCH 12/12] add CPU notifier error injection module
, Andrew Morton
, (Mon Mar 22, 2:48 pm)
Re: [PATCH 12/12] add CPU notifier error injection module
, Akinobu Mita
, (Tue Mar 23, 6:00 am)
Re: [PATCH 09/12] ehca: convert cpu notifier to return enc ...
, Alexander Schmidt
, (Mon Mar 29, 1:47 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mel Gorman
Re: [PATCH 1/4] vmstat: remove zone->lock from walk_zones_in_node
Guenter Roeck
Re: [lm-sensors] Location for thermal drivers
David Woodhouse
Re: RFC: Moving firmware blobs out of the kernel.
Siddha, Suresh B
Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU k...
Peter Zijlstra
Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
git-commits-head
:
Linux Kernel Mailing List
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
Linux Kernel Mailing List
USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS
Linux Kernel Mailing List
lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
Linux Kernel Mailing List
[Bluetooth] Initiate authentication during connection establishment
Linux Kernel Mailing List
[POWERPC] 4xx: Add ppc40x_defconfig
linux-netdev
:
MERCEDES
Your mail id has won 950,000.00 in the MERCEDES Benz Online Promo.for claims send:
David Miller
Re: [PATCH] xen/netfront: do not mark packets of length < MSS as GSO
David Miller
Re: skb_segment() questions
Shan Wei
[RFC PATCH net-next 2/5]IPv6:netfilter: Send an ICMPv6 "Fragment Reassembly Timeou...
Stanislaw Gruszka
[PATCH 1/4] bnx2x: use smp_mb() to keep ordering of read write operations
git
:
Nicolas Sebrecht
git-svn died of signal 11 (was "3 failures on test t9100 (svn)")
Junio C Hamano
Re: [PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
Martin Langhoff
Re: [PATCH] GIT commit statistics.
Alexandre Julliard
[PATCH] gitweb: Put back shortlog instead of graphiclog in the project list.
Josh Triplett
[PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
openbsd-misc
:
Taisto Qvist XX
Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics wi...
Nico Meijer
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Andreas Bihlmaier
Re: jetway board sensors (Fintek F71805F)
admin
Drive a 2009 car from R799p/m
Antti Harri
Re: how to create a sha256 hash
Colocation donated by:
Syndicate