LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kdump not generating vmcore log (https://www.linuxquestions.org/questions/linux-software-2/kdump-not-generating-vmcore-log-4175640216/)

avihuh 10-12-2018 04:02 AM

kdump not generating vmcore log
 
i've a virtualbox Red Hat 7, I installed kdump and configured all necessary

kdump.conf:

Code:

#raw /dev/vg/lv_kdump
#ext4 /dev/vg/lv_kdump
#ext4 LABEL=/boot
#ext4 UUID=03138356-5e61-4ab3-b58e-27507ac41937
#nfs my.server.com:/export/tmp
#ssh user@my.server.com
#sshkey /root/.ssh/kdump_id_rsa
path /var/crash
core_collector makedumpfile -l --message-level 1 -d 31
#core_collector scp
#kdump_post /var/crash/scripts/kdump-post.sh
#kdump_pre /var/crash/scripts/kdump-pre.sh
#extra_bins /usr/bin/lftp
#extra_modules gfs2
#default shell
#force_rebuild 1
#force_no_rebuild 1
#dracut_args --omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3"
#fence_kdump_args -p 7410 -f auto -c 0 -i 10
#fence_kdump_nodes node1 node2

grub.conf:

Code:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap crashkernel=auto rhgb quiet"
GRUB_DISABLE_RECOVERY="true"

fstab:

Code:

# /etc/fstab
# Created by anaconda on Thu Oct 11 09:33:51 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/rhel-root  /                      xfs    defaults        0 0
UUID=8403e4b4-6495-4d18-9e5b-5fb26335a223 /boot                  xfs    defaults        0 0
/dev/mapper/rhel-swap  swap                    swap    defaults        0 0

kdump status:
Code:

● kdump.service - Crash recovery kernel arming
  Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: enabled)
  Active: active (exited) since Fri 2018-10-12 11:32:19 IDT; 16min ago
  Process: 1070 ExecStart=/usr/bin/kdumpctl start (code=exited, status=0/SUCCESS)
 Main PID: 1070 (code=exited, status=0/SUCCESS)
  CGroup: /system.slice/kdump.service

Oct 11 21:39:46 localhost.localdomain systemd[1]: Starting Crash recovery ker...
Oct 12 11:32:19 localhost.localdomain kdumpctl[1070]: kexec: loaded kdump kernel
Oct 12 11:32:19 localhost.localdomain kdumpctl[1070]: Starting kdump: [OK]
Oct 12 11:32:19 localhost.localdomain systemd[1]: Started Crash recovery kern...
Hint: Some lines were ellipsized, use -l to show in full.

when I crash the kernel with :

Code:

echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger

the virtualbox stuck no automatic reboot or any terminal output, after a few second im rebooting the virtualbox manually when i check the /var/crash no output inside

please advice

scasey 10-12-2018 10:08 PM

What does RedHat say? You do have a subscription, right?

avihuh 10-13-2018 01:39 AM

Quote:

Originally Posted by scasey (Post 5914207)
What does RedHat say? You do have a subscription, right?

No I don’t .

catter95 01-02-2019 03:49 AM

Did you find a solution?
 
Quote:

Originally Posted by avihuh (Post 5914246)
No I don’t .

I have the same problem too and really wonder why..


All times are GMT -5. The time now is 12:31 PM.