Hi,
Is there a way to specify kernel version when (re)start kdump
service? Suppose I have install a new kernel and kdump will
generate kdump.img for new kernel in next boot. But I want kdump
to generate kdump.img for new kernel immediately, is it possible?
Thanks.
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 th
> -Original Messages-
> From: "Benjamin Hauger"
> Sent Time: 2019-03-27 00:15:21 (Wednesday)
> To: centos@centos.org
> Cc:
> Subject: Re: [CentOS] How to specify kernel version when restart kdump
>
> kdump operates by booting a fresh kernel to capture
Cc:
Subject: Re: [CentOS] 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 ru
> -Original Messages-
> From: "Benjamin Hauger"
> Sent Time: 2019-03-28 01:31:40 (Thursday)
> To: wuzhouhui , centos@centos.org
> Cc:
> Subject: Re: [CentOS] How to specify kernel version when restart kdump
>
> What do you mean? Wouldn't
On Thu, Mar 28, 2019 at 6:55 AM wuzhouhui
wrote:
> > -Original Messages-
> > From: "Benjamin Hauger"
> > Sent Time: 2019-03-28 01:31:40 (Thursday)
> > To: wuzhouhui , centos@centos.org
> > Cc:
> > Subject: Re: [CentOS] How to specify kernel
On Thu, Mar 28, 2019 at 9:24 AM Gianluca Cecchi
wrote:
>
>
> 1) In CentOS 6 we have the classical SysV service
> file: /etc/rc.d/init.d/kdump
>
> Supposing you have just installed 2.6.32-642.13.1.el6.x86_64 kernel
>
> [snip]
>
> and at the end it runs this command if it doesn't find one:
> $MKDU
> -Original Messages-
> From: "Gianluca Cecchi"
> Sent Time: 2019-03-28 16:59:19 (Thursday)
> [...]
> The command line fo CentOS 6 clearly misses the kernel version to build
> initrd file for, so the correct command should be:
>
> /sbin/mkdumprd -d -f
> "/boot/initrd-2.6.32-642.13.1.el6.x
> -Original Messages-
> From: wuzhouhui
> Sent Time: 2019-03-29 10:06:06 (Friday)
> To: "centos mailing list"
> Cc:
> Subject: Re: [CentOS] How to specify kernel version when restart kdump
>
> > -Original Messages-
> > From: "Gian
9 matches
Mail list logo