kdump doesn't log crash
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I have an Ubuntu Desktop system that is frequently crashing (once every 2-3 days maybe?). It was originally running 17.10 (and was crashing on this system) and when 18.04 came out I thought that upgrading might fix the frequent crashes which it didn't.
So I thought I would try to follow the instructions in this Ubuntu guide to enable kdump/linux-crashdump. Following the steps in the guide, everything seems to be correct (kdump-config show
says ready to kdump, dmesg | grep -i crash
shows reserving memory for crash dump, etc). However when it comes to the "testing crash dump mechanism" portion of the guide, the crash gets successfully triggered by echo c > /proc/sysrq-trigger
but the line Saving vmcore from kernel crash
never shows up and the system never reboots. Even if I manually reboot the machine, there is no dump file in /var/crash
(which I confirmed is the location where the crash files are supposed to be).
I tried increasing the crashkernel
size from 128M (the default) to 256M which I saw as a recommendation on some wikis/blog posts/whatever, but that didn't seem to do anything either.
Any thoughts on how to get some insight into these Kernel crashes?
For reference, here is the output from the three verification commands in the guide:
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ dmesg | grep -i crash
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
[ 0.000000] Reserving 256MB of memory at 512MB for crashkernel (System RAM: 65468MB)
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x
/var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-4.15.0-20-generic
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.15.0-20-generic
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash vt.handoff=1 nr_cpus=1 systemd.unit=kdump-tools.service irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
kernel crash
add a comment |Â
up vote
0
down vote
favorite
I have an Ubuntu Desktop system that is frequently crashing (once every 2-3 days maybe?). It was originally running 17.10 (and was crashing on this system) and when 18.04 came out I thought that upgrading might fix the frequent crashes which it didn't.
So I thought I would try to follow the instructions in this Ubuntu guide to enable kdump/linux-crashdump. Following the steps in the guide, everything seems to be correct (kdump-config show
says ready to kdump, dmesg | grep -i crash
shows reserving memory for crash dump, etc). However when it comes to the "testing crash dump mechanism" portion of the guide, the crash gets successfully triggered by echo c > /proc/sysrq-trigger
but the line Saving vmcore from kernel crash
never shows up and the system never reboots. Even if I manually reboot the machine, there is no dump file in /var/crash
(which I confirmed is the location where the crash files are supposed to be).
I tried increasing the crashkernel
size from 128M (the default) to 256M which I saw as a recommendation on some wikis/blog posts/whatever, but that didn't seem to do anything either.
Any thoughts on how to get some insight into these Kernel crashes?
For reference, here is the output from the three verification commands in the guide:
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ dmesg | grep -i crash
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
[ 0.000000] Reserving 256MB of memory at 512MB for crashkernel (System RAM: 65468MB)
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x
/var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-4.15.0-20-generic
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.15.0-20-generic
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash vt.handoff=1 nr_cpus=1 systemd.unit=kdump-tools.service irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
kernel crash
You can usejournalctl -b -1 -e
to see the system log messages jsut before the crash. However, power fails, CPU overheating, CPU failures, etc can crash the system before anything gets logged.
â waltinator
May 18 at 13:55
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an Ubuntu Desktop system that is frequently crashing (once every 2-3 days maybe?). It was originally running 17.10 (and was crashing on this system) and when 18.04 came out I thought that upgrading might fix the frequent crashes which it didn't.
So I thought I would try to follow the instructions in this Ubuntu guide to enable kdump/linux-crashdump. Following the steps in the guide, everything seems to be correct (kdump-config show
says ready to kdump, dmesg | grep -i crash
shows reserving memory for crash dump, etc). However when it comes to the "testing crash dump mechanism" portion of the guide, the crash gets successfully triggered by echo c > /proc/sysrq-trigger
but the line Saving vmcore from kernel crash
never shows up and the system never reboots. Even if I manually reboot the machine, there is no dump file in /var/crash
(which I confirmed is the location where the crash files are supposed to be).
I tried increasing the crashkernel
size from 128M (the default) to 256M which I saw as a recommendation on some wikis/blog posts/whatever, but that didn't seem to do anything either.
Any thoughts on how to get some insight into these Kernel crashes?
For reference, here is the output from the three verification commands in the guide:
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ dmesg | grep -i crash
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
[ 0.000000] Reserving 256MB of memory at 512MB for crashkernel (System RAM: 65468MB)
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x
/var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-4.15.0-20-generic
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.15.0-20-generic
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash vt.handoff=1 nr_cpus=1 systemd.unit=kdump-tools.service irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
kernel crash
I have an Ubuntu Desktop system that is frequently crashing (once every 2-3 days maybe?). It was originally running 17.10 (and was crashing on this system) and when 18.04 came out I thought that upgrading might fix the frequent crashes which it didn't.
So I thought I would try to follow the instructions in this Ubuntu guide to enable kdump/linux-crashdump. Following the steps in the guide, everything seems to be correct (kdump-config show
says ready to kdump, dmesg | grep -i crash
shows reserving memory for crash dump, etc). However when it comes to the "testing crash dump mechanism" portion of the guide, the crash gets successfully triggered by echo c > /proc/sysrq-trigger
but the line Saving vmcore from kernel crash
never shows up and the system never reboots. Even if I manually reboot the machine, there is no dump file in /var/crash
(which I confirmed is the location where the crash files are supposed to be).
I tried increasing the crashkernel
size from 128M (the default) to 256M which I saw as a recommendation on some wikis/blog posts/whatever, but that didn't seem to do anything either.
Any thoughts on how to get some insight into these Kernel crashes?
For reference, here is the output from the three verification commands in the guide:
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ dmesg | grep -i crash
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
[ 0.000000] Reserving 256MB of memory at 512MB for crashkernel (System RAM: 65468MB)
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash crashkernel=384M-:256M vt.handoff=1
$ kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x
/var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-4.15.0-20-generic
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.15.0-20-generic
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=20a96099-e38b-4dd7-b006-33c087b6f73b ro quiet splash vt.handoff=1 nr_cpus=1 systemd.unit=kdump-tools.service irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
kernel crash
edited May 18 at 7:26
![](https://i.stack.imgur.com/E0SEH.png?s=32&g=1)
![](https://i.stack.imgur.com/E0SEH.png?s=32&g=1)
David Foerster
25.9k1361106
25.9k1361106
asked May 18 at 3:01
syazdani
586
586
You can usejournalctl -b -1 -e
to see the system log messages jsut before the crash. However, power fails, CPU overheating, CPU failures, etc can crash the system before anything gets logged.
â waltinator
May 18 at 13:55
add a comment |Â
You can usejournalctl -b -1 -e
to see the system log messages jsut before the crash. However, power fails, CPU overheating, CPU failures, etc can crash the system before anything gets logged.
â waltinator
May 18 at 13:55
You can use
journalctl -b -1 -e
to see the system log messages jsut before the crash. However, power fails, CPU overheating, CPU failures, etc can crash the system before anything gets logged.â waltinator
May 18 at 13:55
You can use
journalctl -b -1 -e
to see the system log messages jsut before the crash. However, power fails, CPU overheating, CPU failures, etc can crash the system before anything gets logged.â waltinator
May 18 at 13:55
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037625%2fkdump-doesnt-log-crash%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You can use
journalctl -b -1 -e
to see the system log messages jsut before the crash. However, power fails, CPU overheating, CPU failures, etc can crash the system before anything gets logged.â waltinator
May 18 at 13:55