How to upgrade Linux Kernel to 3.17.1(Latest Stable) in RedHat/CentOS 6.5

The new updated kernel version comes with much new supported modules, you can read all the features at http://kernelnewbies.org/Linux_3.17 which is released on 15th Oct, 2014.

To install Kernel 3.17.1 you must install all the required dependency packages and keep your system packages up-to-date. To do this just follow all the below commands as root user.

Step 1: Installing Kernel 3.17.1 Dependencies/Pre-requisites:
# yum install gcc ncurses ncurses-devel bc xz
# yum update

Step 2: Downloading Kernel 3.17.1 Source
Download the latest Kernel 3.17.1 using wget command under /tmp directory.
# cd /tmp
# wget https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.17.1.tar.xz
Note:
There gz,bz2 and xz files are available. compression levels are gz>bz2>xz. xz is high compressed file. So, go to xz file and download it (it is less size and downloadable in less time compare to others). gz file size=116MB and xz file size=77MB

Step 3: Extracting Kernel 3.17.1 Source
Once the file is downloaded extract it under /usr/src/ directory by running the below command.
# xz -d linux-3.17.1.tar.xz
# tar -xf linux-3.17.1.tar -C /usr/src/
# cd /usr/src/linux-3.17.1/

Step 4: Configuring Kernel 3.17.1 Source
For New Kernel Configuration
# make menuconfig

You will get similar to below screen, where you see number of menus to select configuration for your latest kernel.
2
Kernel 3.17.1 Configuration Menu

(OR)
For Old Kernel Configuration
If you like to configure your latest kernel with old configuration then simply type the below command.
# make oldconfig
Press and hold Enter button till its completed.

Step 5: Compiling Kernel 3.17.1
Next, type the make command to compile the Kernel 3.17.1. The compilation would take at least 20-40 minutes depends on your system configuration.
# make

Step 6: Installing Kernel 3.17.1
Once the compilation completes, now install the Kernel 3.17.1 in your Linux system. The below command will create files under /boot directory and also make a new kernel entry in your grub.conf file.
# make modules_install
# make install

You can save time by entering 3 commands (in step5 & step6) at a time
# make && make modules_install && make install

ERROR: modinfo: could not find module vmware_balloon
ERROR: modinfo: could not find module snd_page_alloc
If it shows above 2 errors, don’t panic. These will not affect anything. You can continue next step.

Step 7: make it default kernel in grub
# vim /etc/grub.conf
default=0
##There it will show newly installed kernel 3.17.1 at top of the list.

# reboot

Then you can check kernel version by entering following command.
# uname -r

Optional Troubleshooting:
 ERROR: modinfo: could not find module vmware_balloon
For this if you want to try, I would suggest the following:
1. First backup your VM.
2. Uninstall the VMware tools.
3. Try your steps above again.
4. Re-install VMware tools.

How to upgrade Linux Kernel to 3.17.1(Latest Stable) in RedHat/CentOS 6.5