• 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

Was this helpful?

  • Yes

    Votes: 4 57.1%
  • No

    Votes: 0 0.0%
  • I'm just here because I love XenForo

    Votes: 3 42.9%

  • Total voters
    7

Adam Howard

Well-known member
#1
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
 

Attachments

melbo

Well-known member
#2
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' ;)
 

melbo

Well-known member
#8
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.
 

Adam Howard

Well-known member
#9
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.
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....
 

melbo

Well-known member
#11
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....
I'll get the specifics when I'm home.
 

melbo

Well-known member
#12
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....

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
 

Insy

Well-known member
#13
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)
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.
 

Adam Howard

Well-known member
#14
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
 

Attachments