Kernel 3.5 Released – Install/Compile in Redhat, CentOS and Fedora

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux course in 5 Days

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

12 Responses

  1. cris says:

    Hi, I did it by following your instructions but it seems that the kernel version did not change using uname-r…

  2. Rupam Roy says:

    I am trying this on RHEL 6.6 , the `make ` works fine but at the end of running the `make modules_install install` command I get the following error

    DEPMOD 3.5.0
    sh /usr/src/linux-3.5/arch/x86/boot/ 3.5.0 arch/x86/boot/bzImage \ “/boot”
    ERROR: modinfo: could not find module vsock
    ERROR: modinfo: could not find module vmware_balloon
    ERROR: modinfo: could not find module vmci
    [root@nckmvdsla11400 linux-3.5]# uname -r

    Can someone please help

    • Ravi Saive says:


      It seems you’re upgrading your Kernel version without rebuilding the vmware drivers. To rebuild the modules type the following command:

      # vmware-modconfig --console --install-all

      And then try again to compile your Kernel, hope it will help..

      • Rupam Roy says:

        Hi when i try this command after the zip extraction step it gives me the following error:

        -bash: vmware-modconfig: command not found

        • Rupam Roy says:

          @Ravi – Do you have any updates for me

          • Ravi Saive says:


            This article is little outdated, and really don’t know about error you getting, give us some time to update this article with the latest release to fix some bugs.

  3. sumit says:

    Also add, one need to go and edit /etc/grub.conf and set default to the new kernel & reboot.
    Finally uname -r

  4. Munu says:


    I tried upgrading RHEL-6.5 to 3.5 Kernel.

    I got this error:

    cp: accessing `/lib/modules/3.5.0/kernel/sound/usb/usx2y’: Not a directory
    INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
    mkdir: cannot create directory `/lib/modules/3.5.0/kernel/sound’: Not a directory
    cp: accessing `/lib/modules/3.5.0/kernel/sound/usb/usx2y’: Not a directory
    INSTALL /lib/firmware/acenic/tg2.bin
    install: writing `/lib/firmware/acenic/tg2.bin’: No space left on device
    make[1]: *** [/lib/firmware/acenic/tg2.bin] Error 1
    make: *** [_modinst_post] Error 2

    Please let know if we have any work arounds.

    Thank You,

    • Samual says:

      Check and make sure you’re using 64 bit OS. The reason is 3.5 kernel supports only 64 bit version. It will not support 32 bit OS.

  5. doujiang24 says:

    I also get the error when install (make modules_install install)
    there only 512RAM, but I set 2GB swap (seems it won’t use swap when I check it via free -m)

    the error: ( hope for your help, thanks very much )

    DEPMOD 3.5.0
    /usr/src/linux-3.5/scripts/ line 37: 8277 Killed “$DEPMOD” “$@” “$KERNELRELEASE”
    make: *** [_modinst_post] Error 137

  6. Thank you for this guide. I just tested this successfully on a CentOS 6.4 system with kernel 3.9.4.

    Apart from the dependencies already mentioned in the article, on a freshly installed minimal CentOS 6.4 I also needed make and bc.

    Note that “make menuconfig” allows you to select the already running kernel’s configuration file (resides in /boot/), and accepts the defaults for all options that were introduced between the old and the new version of the kernel, whereas “make oldconfig” automatically finds the configuration file in /boot/ and asks you questions for all the new configuration options.

    Once again, thanks for the guide!

  7. Benito says:


    Upgrading CentOS 6.3 64-bit to 3.5 kernel.

    It is installed on an MSI netbook (wind u135) 1GB of RAM.

    I have successfully completed all the steps up to the 2nd last one .
    When doing a make modules_install install I get :

    Out of memory : Kill process 11891 (depmod) score 861 or sacrifice child
    Killed process 11891, UID 0, (depmod) total-vm:1961888kB, anon-rsss:850832kB,
    /usr/src/linux-3.5/scripts/ line 37:11891 Killed
    make: *** [modinst_post] Error 137

    Do I need more than 1GB of RAM to install the new kernel ? Any ideas for workarounds ?

    Thank you

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 77,543
  2. 4,213
  3. 35,218

Enter your email to get latest Linux Howto's