1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linux Kernel 3.6 Stable

Discussion in 'Server Configuration and Hosting' started by Adam Howard, Oct 1, 2012.

?

Was this helpful?

  1. Yes

    4 vote(s)
    57.1%
  2. No

    0 vote(s)
    0.0%
  3. I'm just here because I love XenForo

    3 vote(s)
    42.9%
  1. Adam Howard

    Adam Howard Well-Known Member

    Linux Kernel 3.6 Stable has been released. The improvements include better hardware support, security bug fixes, and better memory optimizations.

    This script will automatically install Linux Kernel 3.6 on either Debian, Ubuntu, or Mint Linux. It was tested using Debian 6, Debian 7, Ubuntu 12.04, Ubuntu 12.10, and Linux Mint Current.

    BACK UP EVERY THING

    Place this script in your /tmp folder

    PHP:
    cd /tmp
    PHP:
    chmod +x linux-kernel-3.6
    PHP:
    sh linux-kernel-3.6
    This will install Linux Kernel 3.6 for you.

    IMPORTANT = Once completed (successful install) you MUST reboot.

    PHP:
    reboot
    Thanks and credit to Ubuntu who actually host generic vanilla kernels and thus make this possible for anyone using Debian, Ubuntu, or even Linux Mint :)

    Tested on Debian 6, 7, Ubuntu 12.04, 12.10, and Mint (current).

    The full script code is thus:
    ( You can also download a copy, see attached )
    PHP:
    #!/bin/bash
     
    #### Script Created By SociallyUncensored.eu ####
     
    #i386 links
     
    link1="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600_3.6.0-030600.201209302035_all.deb"
     
    link2="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"
     
    link3="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"
     
    link4="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-extra-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"
     
    #amd64 links
     
    url1="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"
     
    url2="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"
     
    url3="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-extra-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"
     
    #System architecture
     
    arch=`uname -m`
    if  [ 
    $arch i686 ] || [ $arch i386 ]; then
     
    mkdir $HOME
    /kernel3.6-i386
     
    sudo rm 
    -rf $HOME/kernel3.6-i386/*
     
    cd $HOME/kernel3.6-i386
     
    wget $link1
    wget $link2
    wget $link3
    wget $link4
     
    sudo dpkg -i *.deb
     
    sudo rm -rf $HOME/kernel3.6-i386
     
    elif [ $arch = "x86_64" ]; then
     
     
    mkdir $HOME/kernel3.6-amd64
     
    sudo rm -rf $HOME/kernel3.6-amd64/*
     
    cd $HOME/kernel3.6-amd64
     
    wget $link1
    wget $url1
    wget $url2
    wget $url3
     
    sudo dpkg -i *.deb
     
    sudo rm -rf $HOME/kernel3.6-amd64
     
        else
            echo "Unsupported Architecture"
    fi
     

    Attached Files:

    p4guru, melbo, Chris D and 1 other person like this.
  2. melbo

    melbo Well-Known Member

    Also includes a ton of cool stuff for btrfs, the experimental fs that I've been using for real for around a year now...

    edit: I only explain my use because anytime I mention using btrfs, someone say 'dude, you realize that's experimental' ;)
     
    Adam Howard likes this.
  3. p4guru

    p4guru Well-Known Member

    nice, anyone seen any benchmarks done in comparison to other kernel versions ?
     
  4. BenForum

    BenForum Active Member

    this dosn't work on centos 5.8 (final)
     
  5. Insy

    Insy Well-Known Member

    What's your error ? It should be work on every distribution.
     
  6. BenForum

    BenForum Active Member

    sudo: dpkg: command not found
     
  7. Adam Howard

    Adam Howard Well-Known Member

    The above uses deb style packaging... ie... NOT Red Hat / Cent OS

    If it is based off of Debian .... Such as Ubuntu or Mint ... This will work

    There are a few thousand Linux Distros based upon Debian
     
  8. melbo

    melbo Well-Known Member

    I actually ran into problems with my LMDE setup. the Quantal kernels are not totally vanilla and I ran into a bit of a dependency hell trying to satisfy the /quantal specific needs. Currently running 3.5 Trunk from Debian Experimental repo and will probably wait for 3.6 Trunk to come out of Debian.

    I used to be able to use the mainline ubuntu builds until they stopped keeping them 'precise', after they went to /quantal, I couldn't get them to work. Nice script though, keeps the proper sequence for the 3 packages. :)

    One of these days I'll learn to compile my own.
     
  9. Adam Howard

    Adam Howard Well-Known Member

    What was the dependency error?

    I tested this with Debian 6.0.6 which is the current version and Debian 7 (testing)
    Also current on Ubuntu 12.04 and their beta 12.10
    Even got bold and test this with Mint current .... Both Debian Mint and Ubuntu Mint.

    Kind of interested with what issues you ran into....
     
  10. Insy

    Insy Well-Known Member

    Either you compile your own kernel (recommended) or you find RPM. You can't use debian packages (.deb files with apt, aptitude, dpkg) on CentOS.
     
    Adam Howard likes this.
  11. melbo

    melbo Well-Known Member

    I'll get the specifics when I'm home.
     
    Adam Howard likes this.
  12. melbo

    melbo Well-Known Member


    LMDE UP5 currently running 3.5.5 Trunk from Debian Experimental. Whenever I attempt to load any of the /quantal/ kernels from ubuntu mainline, I get problems with libc6. When trying to satisfy this dependency, I run into dependency hell and ultimatly bork my system. No big deal since I can just rename my last btrfs snapshot to @ and reboot good as new (before problems)
    Code:
    dpkg: dependency problems prevent configuration of linux-headers-3.6.0-030600-generic:
    linux-headers-3.6.0-030600-generic depends on libc6 (>= 2.14); however:
    Version of libc6:amd64 on system is 2.13-33.
    dpkg: error processing linux-headers-3.6.0-030600-generic (--install):
    dependency problems - leaving unconfigured
     
  13. Insy

    Insy Well-Known Member

    An advice: never install a most recent kernel than the one packed with your distribution, you'll break everything. It's better to compile it, setup grub and reboot the server without any other change.
     
  14. Adam Howard

    Adam Howard Well-Known Member

    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6.1-quantal/

    Kernel 3.6.1 was released a few days ago.

    You can self update the script by simply replacing the links to the files.

    Or you can download this one.


    I've also changed a few things so that when running the script our domain is displayed (you're welcome to change it to whatever you want if you're passing it out).

    And also I've added a few pauses to the script for compatibility ... ie... old pc's which need time to think and process the command (and for each deb to install before moving on to the next).

    Read more: http://www.sociallyuncensored.eu/forums/threads/linux-kernel-3-6-stable.15352/#ixzz290lUB3es
     

    Attached Files:

  15. Adam Howard

    Adam Howard Well-Known Member

    Attached is both Linux Kernel 3.6.2 and Linux Kernel 3.7.0 RC 1

    ---- Important ----

    RC means release candidate. It's still in the testing phases and may or may not work. You're better off with 3.6.2, but 3.7.0 RC 1 is there is you want or feel you need it.
     

    Attached Files:

  16. Adam Howard

    Adam Howard Well-Known Member

    Attached Files:

  17. melbo

    melbo Well-Known Member

  18. Adam Howard

    Adam Howard Well-Known Member

    Attached Files:

    melbo likes this.

Share This Page