From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description= |setup= #Install Fedora 17 on your machine #After system installed, check if kexec-tools is installed via <pre>rpm -q kexec-tools</pre>If not, you ca...") |
No edit summary |
||
Line 9: | Line 9: | ||
|actions= | |actions= | ||
#Trigger crash via:<pre>echo c > /proc/sysrq-trigger</pre> | |||
|results= | |results= | ||
#System reboot and no vmcore found on /var/carsh | |||
}} | }} | ||
[[Category:Kdump_Test_Cases]] | [[Category:Kdump_Test_Cases]] |
Latest revision as of 08:41, 22 March 2012
Description
Setup
- Install Fedora 17 on your machine
- After system installed, check if kexec-tools is installed via
rpm -q kexec-tools
If not, you can install via yumyum install kexec-tools
- Reserve crashkernel for kdump by grubby
grubby --args="crashkernl=128M" --update-kernel=$(grubby --default-kernel)
Reboot system and check /proc/cmdlinecat /proc/cmdline | grep "crashkernel"
- Edit /etc/kdump.conf. This is an example:
ext4 /dev/mapper/vg_dhcp6558-lv_root
core_collector makedumpfile --nosuchoptions
default reboot
- Apply changes and start kdump via
service kdump restart
How to test
- Trigger crash via:
echo c > /proc/sysrq-trigger
Expected Results
- System reboot and no vmcore found on /var/carsh