Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 12-08-2006, 04:48 PM   #1
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Compiling Kernel For Ubuntu?

Hi does anyone know where I can get the sources and all of the latest patches for the most recent version of Ubuntu?

I am currently stuck with 2.6.17 - but this does not fully/properly support DMA on my laptop serial ATA DVD-R drive.

Unfortunately no one on the Ubuntu forums seems to have much information on compiling kernels, let alone where to obtain sources.

To be clear I am not asking *how* to compile a kernel - just where to get all of sources and patches that are normally included in Ubuntu kernel releases. (I am particularly interested in any patches that will allow me to patch the Intel ipw3945 wireless driver into the kernel).

Any input would be appreciated.
Old 12-08-2006, 05:04 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Typically in Debian the patches and source are in a deb repository (I would guess for Ubuntu in either the universe or multiverse src repositories). Last time I messed with a patch I think it was called kernel-patch-2.4.27 or the like. Try apt-cache search patch and see if you see anything like "linux-patch-2.6" (debian renamed kernel packages linux-image and linux-source instead of kernel-image and kernel-source)

Even though the patch said 2.4.27, it worked fine on the 2.4.31 kernel I compiled. Alternatively, I think you can use apt-file to list the contents of a package and see if it shows you all the patches applied.

Sorry I couldn't be more help.

Last edited by pljvaldez; 12-08-2006 at 05:06 PM.
Old 12-08-2006, 08:26 PM   #3
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
My experiences of compiling a kernel under Ubuntu has been a miss for some reason. Never had this problem using CentOS and SUSE. I get my "vanilla" kernels from

Try this:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling a programing using SDL under Ubuntu 5.40. RHLinuxGUY Programming 5 03-24-2006 08:55 PM
Error during compiling 2.6.9 kernel on ubuntu 5.10 ozzy_linux Ubuntu 1 02-17-2006 01:11 PM
Kino .76 and Ubuntu problems compiling shelbydz Linux - Software 0 11-16-2005 10:37 AM
qt problems compiling kde themes on ubuntu hoary hedgehog c-- Linux - Software 2 05-31-2005 09:14 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration