Hi!

I tried to make the kernel dump, but I found a strange situation. I can't 
create it when sending echo c > /proc/sysrq-trigger .

My settings:

# cat /etc/default/kdump-tools
USE_KDUMP=1
KDUMP_RUNLEVEL="1"
KDUMP_SAVEDIR="file:///var/crash"
KDUMP_NET="none"
KDUMP_SYSCTL="kernel.panic_on_oops=1"
KDUMP_COREDIR="/var/crash"
KDUMP_FAIL_CMD="reboot -f"
DEBUG_KERNEL=/usr/lib/debug/boot/vmlinux-4.9.0-6-amd64
MAKEDUMP_ARGS="-c -d 17

# cat /etc/sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additonal system variables
# See sysctl.conf (5) for information.
#

fs.file-max = 2097152
net.core.somaxconn = 10000
net.core.rmem_max = 1048576
net.core.wmem_max = 16777216
net.ipv4.tcp_fin_timeout = 1
net.ipv4.tcp_keepalive_time = 1800
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_syncookies = 1
net.ipv4.ip_local_port_range = 31000 65535
vm.swappiness = 0
kernel.core_pattern = /tmp/core.%e.%p.%h.%t
kernel.core_uses_pid = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
vm.dirty_bytes = 536870912
vm.dirty_background_bytes = 268435456
net.netfilter.nf_conntrack_max = 12621440
net.nf_conntrack_max = 12621440
net.ipv4.netfilter.ip_conntrack_generic_timeout = 120
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 120
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_window_scaling = 1
kernel.shmmax = 40802189312
kernel.shmall = 9961473
vm.zone_reclaim_mode = 0
vm.min_free_kbytes = 524288
net.core.wmem_default = 65536
net.core.rmem_default = 1048576
net.core.netdev_max_backlog = 50000
net.ipv4.tcp_low_latency = 1
net.ipv4.tcp_congestion_control = htcp
net.ipv6.conf.eth0.disable_ipv6 = 1
# KERNEL PANIC OPTIONS
kernel.panic = 1
kernel.hung_task_panic = 1
kernel.panic_on_io_nmi = 1
kernel.panic_on_oops = 1
kernel.panic_on_unrecovered_nmi = 1
kernel.softlockup_panic = 1

Of course, kdump-tools is running.

Additional information:
# dmesg |  grep "Reserving"
[    0.000000] Reserving 512MB of memory at 336MB for crashkernel (System RAM: 
130958MB)

# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.9.0-6-amd64 root=/dev/mapper/system-root ro nomodeset 
net.ifnames=0 biosdevname=0 consoleblank=0 rootdelay=120 
transparent_hugepage=never quiet crashkernel=512M (yes, server have 128 GB RAM)

# cat /sys/kernel/kexec_crash_loaded
1

The packages kdump-tools linux-image-dbg crash kexec-tools makedumpfile is 
installed too.

What is I'm missing?

---
With best regards,
Eugene Budanov.

Reply via email to