Re: How to specify kernel version when restart kdump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



What do you mean? Wouldn't the kernel version always be the actual running version of the kernel that was booted?

Ben

On 3/26/19 6:16 PM, wuzhouhui wrote:
-----Original Messages-----
From: "Benjamin Hauger" <hauger@xxxxxxxx>
Sent Time: 2019-03-27 00:15:21 (Wednesday)
To: centos@xxxxxxxxxx
Cc:
Subject: Re:  How to specify kernel version when restart kdump

kdump operates by booting a fresh kernel to capture the context of a
crashed kernel, and so the only way for kdump to dump a kernel is to
crash it and cause kdump to invoke its post-crash kernel.

You can manually force a running kernel to panic (and invoke a
correctly-configured kdump) with the following command sequence:

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

Cheers,
Ben
Hi, Ben

I think your response doesn't answered my question. I'm not asking
how to trigger kernel crash and see whether the kdump is works, but
asking how to specifying kernel version when start kdump service.

Thanks.


On 3/25/19 7:19 PM, wuzhouhui wrote:
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos


--

Benjamin Hauger
SysAdmin/CSDC-DMO
Rm. 94
x8371
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux