Debian repositories falling behind with Linux kernels

Questions about applications and software
Forum rules
Before you post please read this

Debian repositories falling behind with Linux kernels

Postby Brian49 on Mon May 21, 2012 4:59 am

Linux kernel 3.4 has just been released. Yet the Debian Unstable repository is still stuck on 3.2, which means it is now two versions behind the curve. I wonder what is going on here, please? Of course I know about the Liquorix kernels. Also, there are 3.3 'trunk' kernels in the Experimental repository, which seem to work well enough, although I haven't been able to find out in what way they differ from standard Debian ones.
Brian49
Level 5
Level 5
 
Posts: 612
Joined: Thu Oct 29, 2009 2:27 pm

Linux Mint is funded by ads and donations.
 

Re: Debian repositories falling behind with Linux kernels

Postby eanfrid on Mon May 21, 2012 5:39 am

Debian Linux Wheezy (future stable release) and hence LMDE will use the 3.2 kernel series. As Debian will "freeze" next month, kernel 3.4 will not hit Debian repos before next year, if ever.
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: Debian repositories falling behind with Linux kernels

Postby craigevil on Mon May 21, 2012 12:26 pm

You have to keep in mind Debian's focus is on Stable. The 3.2 is a lts kernel just like 2.6.32 was when Squeeze was released.

I am guessing a new kernel will make its way into experimental in a few days.

For now I have been using the 3.3.0-trunk kernel from exp without any problems.


$ apt-cache policy linux-image-3.3.0-trunk-486
linux-image-3.3.0-trunk-486:
Installed: 3.3.6-1~experimental.1
Candidate: 3.3.6-1~experimental.1
Version table:
*** 3.3.6-1~experimental.1 0
1 http://ftp-mirror.internap.com/pub/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: Debian repositories falling behind with Linux kernels

Postby srs5694 on Mon May 21, 2012 12:29 pm

One thing to keep in mind is that the Linux developers have changed the way they number kernels. The 2.6.x series was current for years (literally), but we've gone from the 3.3.0 kernel to 3.4.0 in two months and two days. The jump from 3.2.0 to 3.3.0 took longer (four months and a few days), but it's still been very quick.

This doesn't reflect a huge jump in the rate of change of the actual kernels, vs., say, the six months between the final 2.6.x kernel (2.6.39) and 2.6.35, which was about six months before it. It just reflects the new numbering policies. IMHO, they took this change in policy a little too far; but I don't know the reasons for the change, so maybe such a big change really is justified.
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Re: Debian repositories falling behind with Linux kernels

Postby Brian49 on Mon May 21, 2012 12:46 pm

craigevil wrote: I have been using the 3.3.0-trunk kernel from exp without any problems.

So have I. But it would be good to know what a 'trunk' kernel is. Up-to-date information about this seems to be thin on the ground. I've formed a vague impression that it has fewer tweaks than mainstream kernels used by Debian, but that's about all.
Brian49
Level 5
Level 5
 
Posts: 612
Joined: Thu Oct 29, 2009 2:27 pm

Re: Debian repositories falling behind with Linux kernels

Postby craigevil on Tue May 22, 2012 11:34 pm

If you are running LMDE and tracking sid, you can install the 3.4 kernel from the siduction repos.

"trunk" if I remember from the last time , is a more 'vanilla' experimental kernel. it will be dropped as soon as 3.4 makes its way into experimental or sid.

Trunk is a term from version control systems such as <cvs>, <svn> and <git>. The "trunk" can often be thought of as a developer's playground, the stability (or otherwise) of the code varies from project to project. http://en.wikipedia.org/wiki/Trunk_(software) .
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: Debian repositories falling behind with Linux kernels

Postby wyrdoak on Wed May 23, 2012 2:48 am

I've been using the Liquorix kernels been having good luck with them. I think they are at 3.3 right now.

http://liquorix.net/
-Dell Mini Netbook-Atom CPU-N270-1.60ghz; 16gbs mini ePCI PATA SSD
RAM- 1gbs-(Maya-Xfce) LInux 3.2.0.57-generic(i686)
SolydX (32bit)
User avatar
wyrdoak
Level 6
Level 6
 
Posts: 1313
Joined: Thu May 19, 2011 1:32 pm
Location: USA

Re: Debian repositories falling behind with Linux kernels

Postby Brian49 on Wed May 23, 2012 6:05 am

craigevil wrote:you can install the 3.4 kernel from the siduction repos.

Found it - thanks very much. It's rc6, but that's good enough for now.
Brian49
Level 5
Level 5
 
Posts: 612
Joined: Thu Oct 29, 2009 2:27 pm

Re: Debian repositories falling behind with Linux kernels

Postby craigevil on Wed May 23, 2012 6:43 am

wyrdoak wrote:I've been using the Liquorix kernels been having good luck with them. I think they are at 3.3 right now.

http://liquorix.net/


Haven't checked but the 3.4 is probably in damentz's future repo

## Liquorix Kernel by damentz http://www.liquorix.net/ .
# Secure Apt: apt-get install '^liquorix-([^-]+-)?keyring.?'
# Latest "stable" kernel
# deb http://liquorix.net/debian/ sid main
# RC/Beta kernels
# deb http://liquorix.net/debian/ sid main future
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: Debian repositories falling behind with Linux kernels

Postby Brian49 on Wed May 23, 2012 8:09 am

craigevil wrote:Haven't checked but the 3.4 is probably in damentz's future repo

Not at the moment, I'm afraid.
Brian49
Level 5
Level 5
 
Posts: 612
Joined: Thu Oct 29, 2009 2:27 pm

Re: Debian repositories falling behind with Linux kernels

Postby cmost on Sat May 26, 2012 9:35 am

I compiled the latest mainline 3.4 myself and created debs for the kernel and the headers in one fell swoop. It's really very easy and really only just a few commands. Do a Google search on how or I'll write up a little tutorial.
AMD Phenom II 64 X6 1090T Black Edition Hexa-Core
8 GB DDR2 RAM
nVidia GeForce GTX 660
Sabayon Linux - KDE 4.x
Linux Kernel 3.14
cmost
Level 4
Level 4
 
Posts: 398
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Re: Debian repositories falling behind with Linux kernels

Postby jjaythomas on Sat May 26, 2012 12:48 pm

optimus kernel

was going to ask/start a new thread But since this one started and active... :P

Has anyone tried/using the optimus kernel? Does it work on debian or only Ubuntu derivatives?

P.S. I think their at 3.3 something and use the BFS phatches among others. 8)

J.Jay
jjaythomas
Level 5
Level 5
 
Posts: 597
Joined: Sun Mar 07, 2010 12:52 pm

Re: Debian repositories falling behind with Linux kernels

Postby Brian49 on Sat May 26, 2012 1:24 pm

cmost wrote: It's really very easy and really only just a few commands.

A Google search for 'compile a Linux kernel' produces so many results that it's difficult to know where to start. Also, the advice given seems to vary from one guide to another. Are there one or two web pages you would like to recommend, please? Many thanks.
Last edited by Brian49 on Sat May 26, 2012 2:48 pm, edited 1 time in total.
Brian49
Level 5
Level 5
 
Posts: 612
Joined: Thu Oct 29, 2009 2:27 pm

Re: Debian repositories falling behind with Linux kernels

Postby DrHu on Sat May 26, 2012 1:31 pm

If you specify Linux kernel Debian (or Linux Debian kernel), you might still get a big list, but the first hit was this link..
http://www.debian.org/releases/stable/i ... 06.html.en
--and compiling a kernel can't be that difficult; it would be a matter of checking your kernel version uname -a or -r in a terminal, and choosing a higher version number of the same architecture (CPU), such as i386, i686 or all, and either the 32bit version or the 64bit version..

Debian specific help..
http://myrddin.org/howto/debian-kernel-recompiling/
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
--if you are not just installing a new kernel, you do have to run menuconfig to edit for any changes you want..
User avatar
DrHu
Level 16
Level 16
 
Posts: 6895
Joined: Wed Jun 17, 2009 8:20 pm

Re: Debian repositories falling behind with Linux kernels

Postby cmost on Sat May 26, 2012 2:39 pm

Okay folks, here's what I did:

Code: Select all
sudo apt-get install git-core kernel-package fakeroot build-essential ncurses-dev


Then download latest kernel version from here: http://www.kernel.org/

Unpack the kernel tarball in say /home/username/Downloads/Kernels (for example, where 'username' = your user account name.)
Then go into the new directory (should look like this linux-3.4) and open a terminal window in that location. Or, open any old terminal window and type:

Code: Select all
cd /home/username/Downloads/Kernels/linux-3.4


Since you don't want to start from absolute scratch configuring your shiny new kernel, start with the .config file from your current kernel, which presumably works since you're reading this. :D

Code: Select all
sudo cp /boot/config-`uname -r` ./.config


Now, to configure your new kernel, type this:

Code: Select all
sudo make menuconfig


Now for the really fun part! Customize your new kernel for your specific processor type for enhanced performance! Also probably a good idea to disable Zen if you don't use it!

Processor Type and Features -> Paravirtualized Guest Support -> Xen

Navigate around to enable other options that you may need. (Examples: file system support, network and wireless modules, media and tv modules, any and everything you need!) Press space bar once to enable support as a module . This is generally desired over built-in modules <*> in _most_ cases. If you forget something, you can always go back to this step later and recompile your kernel again.

When you are finished, keep hitting ESC to exit and say ‘Yes’ you want to save.

Time to compile!

Code: Select all
sudo make-kpkg clean

Code: Select all
sudo fakeroot make-kpkg --initrd --append-to-version=-vanillakernel-3.4 kernel_image kernel_headers

Note, you can append anything you like to the kernel version as long as it starts with a "-" and doesn't contain any Uppercase letters. Keep it simple!

Compiling the kernel will take some time. Go have a few cocktails. :D

When you're done, you'll notice two brand new deb files in the directory above 'linux-3.4'. One of these will be the kernel package, the other will be the kernel headers package. From within your still open terminal, type:

Code: Select all
cd ..
sudo dpkg -i *.deb


The new packages will be installed automatically.

Reboot the computer and your new kernel should be the default in GRUB!

Rinse and repeat when new kernels are released!

Note: for Nvidia and ATI users, you'll need to manually compile the video driver against the new custom kernel as per-compiled blobs for your custom kernel won't be available in the repositories.
Enjoy!
AMD Phenom II 64 X6 1090T Black Edition Hexa-Core
8 GB DDR2 RAM
nVidia GeForce GTX 660
Sabayon Linux - KDE 4.x
Linux Kernel 3.14
cmost
Level 4
Level 4
 
Posts: 398
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Re: Debian repositories falling behind with Linux kernels

Postby Brian49 on Sat May 26, 2012 5:30 pm

Thanks for the pointers. I'm going to hold off trying to compile a kernel for the time being, mainly because It seems to me that the available guidance doesn't say enough about the customisation choices to be made when working with the config menu. That menu doesn't look exactly user-friendly, and I'm fairly computer-literate. I could of course use the config from the kernel I already have installed, but then there is less of a point in compiling.
Brian49
Level 5
Level 5
 
Posts: 612
Joined: Thu Oct 29, 2009 2:27 pm

Re: Debian repositories falling behind with Linux kernels

Postby Brian49 on Sat May 26, 2012 5:36 pm

jjaythomas wrote:Has anyone tried/using the optimus kernel?

I hadn't heard of this kernel before, but I've just installed the latest version and it seems to be working fine so far. Like the Liquorix kernel, it occupies noticeably more space on the hard drive than a standard kernel (134Mb as against 108Mb). I haven't yet been able to find out why that is, although I suspect it has something to do with multimedia modules and drivers.
Brian49
Level 5
Level 5
 
Posts: 612
Joined: Thu Oct 29, 2009 2:27 pm

Re: Debian repositories falling behind with Linux kernels

Postby craigevil on Sat May 26, 2012 7:26 pm

The optimus kernel from what I can tell looking at the webpage is made for Ubuntu, and it is only at 3.3.4.

The Debian kernel in experimental is at 3.3.6., which is only one version behind upstream.
kernel.org stable: 3.3.7

siduction and aptosid both have 3.4 in their repos.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: Debian repositories falling behind with Linux kernels

Postby cmost on Sat May 26, 2012 8:13 pm

I would strongly caution against using Ubuntu kernels in Debian. Let me state this plainly in case anyone is confused: Debian is NOT Ubuntu. Ubuntu is no longer compatible with Debian! I would also caution against using Aptosid or Siduction kernels in LMDE because installing them will require that you enable the Debian Unstable (Sid) repositories for any required dependencies. This could bork your system or lead to problems down the road. If you're already tracking Debian Unstable, then go ahead. If you're using LMDE and tracking 'Latest' or 'Incoming' or Debian Testing this isn't a good idea.

As for configuring a new kernel, personally I never mess with the config file other than to specify my particular CPU family and type and to disable Xen. There's no need to go mucking it up if you don't know what you're doing. If you just want the latest kernel with your current configurations but optimized for your CPU then my guide is right for you.
AMD Phenom II 64 X6 1090T Black Edition Hexa-Core
8 GB DDR2 RAM
nVidia GeForce GTX 660
Sabayon Linux - KDE 4.x
Linux Kernel 3.14
cmost
Level 4
Level 4
 
Posts: 398
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Re: Debian repositories falling behind with Linux kernels

Postby jjaythomas on Sat May 26, 2012 8:35 pm

The optimus kernel says its also debian and ubuntu
But web site sounds like for Ubuntu!
Then agin sites like soptpedia are saying for most Linux distro :roll:

Maybe I'll try on my Swift/LMDE Frankenstein box (its already mangled and just a matter of time before kablewy! :twisted: .

Then maybe install Xubuntu and try also for the fun of it :roll:

J.Jay
jjaythomas
Level 5
Level 5
 
Posts: 597
Joined: Sun Mar 07, 2010 12:52 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 6 guests