All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] add new notifier function
@ 2007-10-04 11:38 ` Takenori Nagano
  0 siblings, 0 replies; 10+ messages in thread
From: Takenori Nagano @ 2007-10-04 11:38 UTC (permalink / raw)
  To: linux-kernel
  Cc: k-miyoshi, Bernhard Walle, kdb, kexec, vgoyal, Eric W. Biederman,
	Keith Owens, Andrew Morton

Hi,

These patches add new notifier function and implement it to panic_notifier_list.
We used the hardcoded notifier chain so far, but it was not flexible. New
notifier is very flexible, because user can change a list of order by debugfs.

Please review, and give some comments.

Thanks,

Example)

# cd /sys/kernel/debug/
# ls
kprobes  pktcdvd
# insmod ipmi_msghandler.ko
# ls
kprobes  panic_notifier_list  pktcdvd
# cd panic_notifier_list/
# ls
ipmi_msghandler
# insmod ipmi_watchdog.ko
# ls
ipmi_msghandler  ipmi_wdog
# cat ipmi_msghandler/priority
200
# cat ipmi_wdog/priority
150
#
Kernel panic - not syncing: panic
ipmi_msghandler : notifier calls panic_event().
ipmi_watchdog : notifier calls wdog_panic_handler().

.....(reboot)

# cat ipmi_msghandler/priority
200
# cat ipmi_wdog/priority
150
# echo 300 > ipmi_wdog/priority
#
Kernel panic - not syncing: panic
ipmi_watchdog : notifier calls wdog_panic_handler().
ipmi_msghandler : notifier calls panic_event().

-- 
Takenori Nagano <t-nagano@ah.jp.nec.com>



_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-10-09  7:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 11:38 [PATCH 0/2] add new notifier function Takenori Nagano
2007-10-04 11:38 ` Takenori Nagano
2007-10-05  4:33 ` Vivek Goyal
2007-10-05  4:33   ` Vivek Goyal
2007-10-05  5:43   ` Takenori Nagano
2007-10-05  5:43     ` Takenori Nagano
2007-10-05 13:01 ` Eric W. Biederman
2007-10-05 13:01   ` Eric W. Biederman
2007-10-09  7:38   ` Takenori Nagano
2007-10-09  7:38     ` Takenori Nagano

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.