← Back to team overview

kernel-packages team mailing list archive

[Bug 1415562] Comment bridged from LTC Bugzilla

 

------- Comment From hbathini@xxxxxxxxxx 2015-02-10 10:04 EDT-------
Below is the documentation for fadump:
________________

Firmware-assisted dump

Firmware Assisted Dump (fadump) is an alternative to kdump crash dumping mechanism,
available in powerpc architecture. To understand how fadump works, please refer to
the kernel documentation below:

https://www.kernel.org/doc/Documentation/powerpc/firmware-assisted-
dump.txt

Two steps are needed to use fadump as the crash dumping mechanism. Firstly,
enabling fadump by passing "fadump=on" to kernel. Secondly, registering fadump
by echo'ing `1` to /sys/kernel/fadump_registered.

1. To enable fadump:

a. Add "fadump=on" to GRUB_CMDLINE_LINUX in /etc/default/grub file.
b. Rebuild grub config
# grub-mkconfig -o /boot/gru/grub.cfg
c. Reboot

2. To register fadump:

kdump-tools, scripts and tools for automating kdump, is updated to make it fadump aware.
When fadump is enabled, kdump-tools registers fadump as crash dumping mechanism,
by echo'ing `1` to /sys/kernel/fadump_registered. For more help, see:

# kdump-config help

NOTE: If fadump fails to collect dump with Out Of Memory error, use "fadump_reserve_mem="
parameter to spike up the memory reserved for firmware-assisted dump.

____________________

Breno, please add this to
https://wiki.ubuntu.com/ppc64el/

Thanks
Hari

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1415562

Title:
  [Ubuntu 15.04] Support firmware assisted dump on ppc64le

Status in linux package in Ubuntu:
  Fix Committed
Status in makedumpfile package in Ubuntu:
  In Progress

Bug description:
  Starting from POWER6, the firmware now has a capability to preserve
  the partition memory dump during system crash and boot into a fresh
  copy of the kernel with fully-reset system. This feature adds the
  necessary support to exploit the dump capture capability provided by
  Power firmware.  With this feature support, the production kernel will
  register for firmware-assisted dump using RTAS (Runtime Abstraction
  Service) calls and builds required ELF header which then gets exported
  through '/proc/vmcore' in the second kernel after crash.  This feature
  improves Power serviceability by making it more robust compared to
  current kdump mechanism on Linux.

  Ubuntu 15.04 kernel already includes the necessary code for fadump.
  The only kernel change needed is to enable CONFIG_FA_DUMP in the
  kernel configuration. In addition, an update is needed for a script in
  kdump-tools package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1415562/+subscriptions