Re: [CentOS] How to specify kernel version when restart kdump

2019-04-15 Thread wuzhouhui
> -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

Re: [CentOS] How to specify kernel version when restart kdump

2019-03-28 Thread wuzhouhui
> -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 >

Re: [CentOS] How to specify kernel version when restart kdump

2019-03-28 Thread Gianluca Cecchi
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: >

Re: [CentOS] How to specify kernel version when restart kdump

2019-03-28 Thread Gianluca Cecchi
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

Re: [CentOS] How to specify kernel version when restart kdump

2019-03-27 Thread wuzhouhui
> -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 the k

Re: [CentOS] How to specify kernel version when restart kdump

2019-03-27 Thread Benjamin Hauger
ubject: 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 runn

Re: [CentOS] How to specify kernel version when restart kdump

2019-03-26 Thread wuzhouhui
> -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

Re: [CentOS] How to specify kernel version when restart kdump

2019-03-26 Thread Benjamin Hauger
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

[CentOS] How to specify kernel version when restart kdump

2019-03-25 Thread wuzhouhui
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.