echo c > /proc/sysrq-trigger doesn't reboot the system The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsHow to configure the Linux kernel to reboot on panic?No /proc/sys/fs/binfmt_misc/CLR on my system?sysrq-trigger doesn't accept parameter 'g'kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs”Debugging a “brutal” system hang (no longer responds to Alt+SysRq+B)Does sysrq work when the kernel panic occurs?Reconnecting the systemBoot Debian and Gentoo with Grub. Kernel Panic!Is there a way to automatically save the system state when kernel panic occurs?Crypto CBC module doesn't show up in /proc/crypto
Did the new image of black hole confirm the general theory of relativity?
Am I ethically obligated to go into work on an off day if the reason is sudden?
Working through the single responsibility principle (SRP) in Python when calls are expensive
How to split my screen on my Macbook Air?
Does Parliament need to approve the new Brexit delay to 31 October 2019?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Cooking pasta in a water boiler
What is this lever in Argentinian toilets?
How are presidential pardons supposed to be used?
First use of “packing” as in carrying a gun
Why can't wing-mounted spoilers be used to steepen approaches?
Wolves and sheep
How long does the line of fire that you can create as an action using the Investiture of Flame spell last?
Can the prologue be the backstory of your main character?
Make it rain characters
How to pronounce 1ターン?
What's the point in a preamp?
The variadic template constructor of my class cannot modify my class members, why is that so?
How do I add random spotting to the same face in cycles?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
I could not break this equation. Please help me
Did God make two great lights or did He make the great light two?
What LEGO pieces have "real-world" functionality?
Finding the path in a graph from A to B then back to A with a minimum of shared edges
echo c > /proc/sysrq-trigger doesn't reboot the system
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsHow to configure the Linux kernel to reboot on panic?No /proc/sys/fs/binfmt_misc/CLR on my system?sysrq-trigger doesn't accept parameter 'g'kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs”Debugging a “brutal” system hang (no longer responds to Alt+SysRq+B)Does sysrq work when the kernel panic occurs?Reconnecting the systemBoot Debian and Gentoo with Grub. Kernel Panic!Is there a way to automatically save the system state when kernel panic occurs?Crypto CBC module doesn't show up in /proc/crypto
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to collect a core dump in result of kernel panic. Installed and configured kdump
, but when executing echo c > /proc/sysrq-trigger
, everything just hangs and the reboot doesn't happen. I don't even get any output in the result of running the command. RAM size is 4GB.
The following is the output of `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.9.0-dev
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.9.0-dev
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.9.0-dev root=UUID=b395d695-7bb2-408b-a61b-b5188fc5b900 ro resume=UUID=19e8dc56-ff6d-40de-84ec-b9abd7399591 debug net.ifnames=0 biosdevname=0 ignore_loglevel intel_iommu=on,igfx_off intremap=no_x2apic_optout irqpoll noirqdistrib nr_cpus=1 nousb systemd.unit=kdump-tools.service" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
Ubuntu 16.04. Kernel 4.9.0
kernel kernel-panic core-dump kdump
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying to collect a core dump in result of kernel panic. Installed and configured kdump
, but when executing echo c > /proc/sysrq-trigger
, everything just hangs and the reboot doesn't happen. I don't even get any output in the result of running the command. RAM size is 4GB.
The following is the output of `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.9.0-dev
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.9.0-dev
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.9.0-dev root=UUID=b395d695-7bb2-408b-a61b-b5188fc5b900 ro resume=UUID=19e8dc56-ff6d-40de-84ec-b9abd7399591 debug net.ifnames=0 biosdevname=0 ignore_loglevel intel_iommu=on,igfx_off intremap=no_x2apic_optout irqpoll noirqdistrib nr_cpus=1 nousb systemd.unit=kdump-tools.service" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
Ubuntu 16.04. Kernel 4.9.0
kernel kernel-panic core-dump kdump
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
It's probably trying to boot the kdump kernel/initrd and freezing while doing so... To troubleshoot that, you probably need to look at the console attached to the machine to see where it is failing... Is this a machine to which you have physical access to? Or a virtual machine? Or do you somehow have access to a serial console (for example, if it's a server in a colocation)?
– filbranden
May 15 '18 at 22:56
I have a physical access to it
– Mr.SrJenea
May 15 '18 at 23:11
add a comment |
I am trying to collect a core dump in result of kernel panic. Installed and configured kdump
, but when executing echo c > /proc/sysrq-trigger
, everything just hangs and the reboot doesn't happen. I don't even get any output in the result of running the command. RAM size is 4GB.
The following is the output of `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.9.0-dev
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.9.0-dev
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.9.0-dev root=UUID=b395d695-7bb2-408b-a61b-b5188fc5b900 ro resume=UUID=19e8dc56-ff6d-40de-84ec-b9abd7399591 debug net.ifnames=0 biosdevname=0 ignore_loglevel intel_iommu=on,igfx_off intremap=no_x2apic_optout irqpoll noirqdistrib nr_cpus=1 nousb systemd.unit=kdump-tools.service" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
Ubuntu 16.04. Kernel 4.9.0
kernel kernel-panic core-dump kdump
I am trying to collect a core dump in result of kernel panic. Installed and configured kdump
, but when executing echo c > /proc/sysrq-trigger
, everything just hangs and the reboot doesn't happen. I don't even get any output in the result of running the command. RAM size is 4GB.
The following is the output of `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.9.0-dev
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.9.0-dev
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.9.0-dev root=UUID=b395d695-7bb2-408b-a61b-b5188fc5b900 ro resume=UUID=19e8dc56-ff6d-40de-84ec-b9abd7399591 debug net.ifnames=0 biosdevname=0 ignore_loglevel intel_iommu=on,igfx_off intremap=no_x2apic_optout irqpoll noirqdistrib nr_cpus=1 nousb systemd.unit=kdump-tools.service" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
Ubuntu 16.04. Kernel 4.9.0
kernel kernel-panic core-dump kdump
kernel kernel-panic core-dump kdump
edited Aug 13 '18 at 12:45
muru
37.6k589165
37.6k589165
asked May 15 '18 at 20:44
Mr.SrJeneaMr.SrJenea
1
1
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
It's probably trying to boot the kdump kernel/initrd and freezing while doing so... To troubleshoot that, you probably need to look at the console attached to the machine to see where it is failing... Is this a machine to which you have physical access to? Or a virtual machine? Or do you somehow have access to a serial console (for example, if it's a server in a colocation)?
– filbranden
May 15 '18 at 22:56
I have a physical access to it
– Mr.SrJenea
May 15 '18 at 23:11
add a comment |
It's probably trying to boot the kdump kernel/initrd and freezing while doing so... To troubleshoot that, you probably need to look at the console attached to the machine to see where it is failing... Is this a machine to which you have physical access to? Or a virtual machine? Or do you somehow have access to a serial console (for example, if it's a server in a colocation)?
– filbranden
May 15 '18 at 22:56
I have a physical access to it
– Mr.SrJenea
May 15 '18 at 23:11
It's probably trying to boot the kdump kernel/initrd and freezing while doing so... To troubleshoot that, you probably need to look at the console attached to the machine to see where it is failing... Is this a machine to which you have physical access to? Or a virtual machine? Or do you somehow have access to a serial console (for example, if it's a server in a colocation)?
– filbranden
May 15 '18 at 22:56
It's probably trying to boot the kdump kernel/initrd and freezing while doing so... To troubleshoot that, you probably need to look at the console attached to the machine to see where it is failing... Is this a machine to which you have physical access to? Or a virtual machine? Or do you somehow have access to a serial console (for example, if it's a server in a colocation)?
– filbranden
May 15 '18 at 22:56
I have a physical access to it
– Mr.SrJenea
May 15 '18 at 23:11
I have a physical access to it
– Mr.SrJenea
May 15 '18 at 23:11
add a comment |
1 Answer
1
active
oldest
votes
I had the similar issue on Ubuntu 16.04. This set of commands helped me:
sudo -s
kdump-config load
kdump-config unload
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444020%2fecho-c-proc-sysrq-trigger-doesnt-reboot-the-system%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the similar issue on Ubuntu 16.04. This set of commands helped me:
sudo -s
kdump-config load
kdump-config unload
add a comment |
I had the similar issue on Ubuntu 16.04. This set of commands helped me:
sudo -s
kdump-config load
kdump-config unload
add a comment |
I had the similar issue on Ubuntu 16.04. This set of commands helped me:
sudo -s
kdump-config load
kdump-config unload
I had the similar issue on Ubuntu 16.04. This set of commands helped me:
sudo -s
kdump-config load
kdump-config unload
answered Aug 13 '18 at 12:38
SBoySBoy
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444020%2fecho-c-proc-sysrq-trigger-doesnt-reboot-the-system%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-core-dump, kdump, kernel, kernel-panic
It's probably trying to boot the kdump kernel/initrd and freezing while doing so... To troubleshoot that, you probably need to look at the console attached to the machine to see where it is failing... Is this a machine to which you have physical access to? Or a virtual machine? Or do you somehow have access to a serial console (for example, if it's a server in a colocation)?
– filbranden
May 15 '18 at 22:56
I have a physical access to it
– Mr.SrJenea
May 15 '18 at 23:11