root@ltc-wspoon4:~# cat /proc/cmdline root=UUID=0266024d-8ea3-4132-ad62-b49befd6f8d9 ro quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M@128M root@ltc-wspoon4:~# dmesg | grep Reser [ 0.000000] Reserving 4096MB of memory at 128MB for crashkernel (System RAM: 262144MB) [ 0.000000] cma: Reserved 13120 MiB at 0x0000201cc8000000 root@ltc-wspoon4:~# cat /etc/default/kdump-tools # kdump-tools configuration # --------------------------------------------------------------------------- # USE_KDUMP - controls kdump will be configured # 0 - kdump kernel will not be loaded # 1 - kdump kernel will be loaded and kdump is configured # KDUMP_SYSCTL - controls when a panic occurs, using the sysctl # interface. The contents of this variable should be the # "variable=value ..." portion of the 'sysctl -w ' command. # If not set, the default value "kernel.panic_on_oops=1" will # be used. Disable this feature by setting KDUMP_SYSCTL=" " # Example - also panic on oom: # KDUMP_SYSCTL="kernel.panic_on_oops=1 vm.panic_on_oom=1" # USE_KDUMP=1 #KDUMP_SYSCTL="kernel.panic_on_oops=1" # --------------------------------------------------------------------------- # Kdump Kernel: # KDUMP_KERNEL - A full pathname to a kdump kernel. # KDUMP_INITRD - A full pathname to the kdump initrd (if used). # If these are not set, kdump-config will try to use the current kernel # and initrd if it is relocatable. Otherwise, you will need to specify # these manually. KDUMP_KERNEL=/var/lib/kdump/vmlinuz KDUMP_INITRD=/var/lib/kdump/initrd.img # --------------------------------------------------------------------------- # vmcore Handling: # KDUMP_COREDIR - local path to save the vmcore to. # KDUMP_FAIL_CMD - This variable can be used to cause a reboot or # start a shell if saving the vmcore fails. If not set, "reboot -f" # is the default. # Example - start a shell if the vmcore copy fails: # KDUMP_FAIL_CMD="echo 'makedumpfile FAILED.'; /bin/bash; reboot -f" # KDUMP_DUMP_DMESG - This variable controls if the dmesg buffer is dumped. # If unset or set to 1, the dmesg buffer is dumped. If set to 0, the dmesg # buffer is not dumped. KDUMP_COREDIR="/var/crash" #KDUMP_FAIL_CMD="reboot -f" #KDUMP_DUMP_DMESG= # KDUMP_NUM_DUMPS - This variable controls how many dump files are kept on # the machine to prevent running out of disk space. If set to 0 or unset, # the variable is ignored and no dump files are automatically purged. KDUMP_COREDIR="/var/crash" #KDUMP_FAIL_CMD="reboot -f" #KDUMP_DUMP_DMESG= #KDUMP_NUM_DUMPS= # --------------------------------------------------------------------------- # Makedumpfile options: # MAKEDUMP_ARGS - extra arguments passed to makedumpfile (8). The default, # if unset, is to pass '-c -d 31' telling makedumpfile to use compression # and reduce the corefile to in-use kernel pages only. #MAKEDUMP_ARGS="-c -d 31" # --------------------------------------------------------------------------- # Kexec/Kdump args # KDUMP_KEXEC_ARGS - Additional arguments to the kexec command used to load # the kdump kernel # Example - Use this option on x86 systems with PAE and more than # 4 gig of memory: # KDUMP_KEXEC_ARGS="--elf64-core-headers" # KDUMP_CMDLINE - The default is to use the contents of /proc/cmdline. # Set this variable to override /proc/cmdline. # KDUMP_CMDLINE_APPEND - Additional arguments to append to the command line # for the kdump kernel. If unset, it defaults to # "nr_cpus=1 systemd.unit=kdump-tools.service irqpoll noirqdistrib nousb" #KDUMP_KEXEC_ARGS="" #KDUMP_CMDLINE="" #KDUMP_CMDLINE_APPEND="nr_cpus=1 systemd.unit=kdump-tools.service irqpoll noirqdistrib nousb" # --------------------------------------------------------------------------- # Architecture specific Overrides: # --------------------------------------------------------------------------- # Remote dump facilities: # SSH - username and hostname of the remote server that will receive the dump # and dmesg files. # SSH_KEY - Full path of the ssh private key to be used to login to the remote # server. use kdump-config propagate to send the public key to the # remote server # HOSTTAG - Select if hostname of IP address will be used as a prefix to the # timestamped directory when sending files to the remote server. # 'ip' is the default. # NFS - Hostname and mount point of the NFS server configured to receive # the crash dump. The syntax must be {HOSTNAME}:{MOUNTPOINT} # (e.g. remote:/var/crash) # NFS_TIMEO - Timeout before NFS retries a request. See man nfs(5) for details. # NFS_RETRANS - Number of times NFS client retries a request. See man nfs(5) for details. # SSH="" # # SSH_KEY="" # # HOSTTAG="hostname|[ip]" # # NFS="" # # NFS_TIMEO="600" # # NFS_RETRANS="3" root@ltc-wspoon4:~# kdump-config status current state : ready to kdump root@ltc-wspoon4:~# free -m total used free shared buff/cache available Mem: 257612 844 256383 9 384 255703 Swap: 2047 0 2047 root@ltc-wspoon4:~# cat /proc/cpuinfo | grep processor processor : 0 processor : 4 processor : 8 processor : 12 processor : 16 processor : 20 processor : 24 processor : 28 processor : 32 processor : 36 processor : 40 processor : 44 processor : 48 processor : 52 processor : 56 processor : 64 processor : 68 processor : 72 processor : 76 processor : 80 processor : 84 processor : 88 processor : 92 processor : 96 processor : 100 processor : 104 processor : 108 processor : 112 processor : 116 processor : 120 processor : 124 root@ltc-wspoon4:~# ppc64_cpu --info Core 0: 0* 1 2 3 Core 1: 4* 5 6 7 Core 2: 8* 9 10 11 Core 3: 12* 13 14 15 Core 4: 16* 17 18 19 Core 5: 20* 21 22 23 Core 6: 24* 25 26 27 Core 7: 28* 29 30 31 Core 8: 32* 33 34 35 Core 9: 36* 37 38 39 Core 10: 40* 41 42 43 Core 11: 44* 45 46 47 Core 12: 48* 49 50 51 Core 13: 52* 53 54 55 Core 14: 56* 57 58 59 Core 15: 60 61 62 63 Core 16: 64* 65 66 67 Core 17: 68* 69 70 71 Core 18: 72* 73 74 75 Core 19: 76* 77 78 79 Core 20: 80* 81 82 83 Core 21: 84* 85 86 87 Core 22: 88* 89 90 91 Core 23: 92* 93 94 95 Core 24: 96* 97 98 99 Core 25: 100* 101 102 103 Core 26: 104* 105 106 107 Core 27: 108* 109 110 111 Core 28: 112* 113 114 115 Core 29: 116* 117 118 119 Core 30: 120* 121 122 123 Core 31: 124* 125 126 127 root@ltc-wspoon4:~# ppc64_cpu --smt SMT is off root@ltc-wspoon4:~# cat /proc/sys/kernel/panic 10 root@ltc-wspoon4:~# cat /proc/sys/kernel/panic_on_oops 1 root@ltc-wspoon4:~# cat /sys/kernel/kexec_crash_loaded 1 root@ltc-wspoon4:~# cat /sys/kernel/kexec_loaded 0