search for: kdump_kver

Displaying 3 results from an estimated 3 matches for "kdump_kver".

2019 Mar 28
2
How to specify kernel version when restart kdump
...SysV service file: /etc/rc.d/init.d/kdump Supposing you have just installed 2.6.32-642.13.1.el6.x86_64 kernel Analyzing what it runs we have DUMP_KERNELVER="" MKDUMPRD_ARGS="" . /etc/sysconfig/kdump In my case: KDUMP_BOOTDIR="/boot" local running_kernel=`uname -r` kdump_kver=`echo $running_kernel | sed 's/smp//g'` MKDUMPRD="/sbin/mkdumprd -d -f $MKDUMPRD_ARGS" kdump_initrd="${KDUMP_BOOTDIR}/initrd-${kdump_kver}kdump.img" and at the end it runs this command if it doesn't find one: $MKDUMPRD $kdump_initrd $kdump_kver that tipically will...
2019 Mar 27
2
How to specify kernel version when restart kdump
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 at noao.edu> >> Sent Time: 2019-03-27 00:15:21 (Wednesday) >> To: centos at centos.org >> Cc: >> Subject: Re: [CentOS]
2019 Mar 28
0
How to specify kernel version when restart kdump
...> > > 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: > $MKDUMPRD $kdump_initrd $kdump_kver > > that tipically will translate in: > > /sbin/mkdumprd -d -f "/boot/initrd-2.6.32-642.13.1.el6.x86_64kdump.img" > > 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 "/b...