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

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Ravi Saive

Simple Word 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.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

5 Responses

  1. sumit says:

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

  2. Munu says:

    Hi,

    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,
    Munu

  3. 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/depmod.sh: line 37: 8277 Killed “$DEPMOD” “$@” “$KERNELRELEASE”
    make: *** [_modinst_post] Error 137

  4. 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!

  5. Benito says:

    Hi

    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,
    file-rss:8kB
    /usr/src/linux-3.5/scripts/depmod.sh: 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

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Join Over 75000+ Linux Users
  1. 51334
  2. 2657
  3. 16705

Enter your email to get latest Linux Howto's