Did you know LQ has a Linux Hardware Compatibility List?
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-05-2007, 02:27 AM   #1
Registered: May 2005
Posts: 255

Rep: Reputation: 30
Apply a kernel patch

I have a patch i need to apply. I have apt-get installed linux-source-2.6.22 and extracted it in /usr/src/ , but I dont want to have to manually configure the kernel, i want it to be the same configuration that it is by default with ubuntu except with the patch. is there a way to apply the same configuration?

the patch instructions say i just need to apply and run make modules && make modules_install, so do i really need to run on a different kernel or is there a way to apply just the new module to the existing kerenl?

Last edited by android6011; 12-05-2007 at 02:29 AM.
Old 12-05-2007, 06:00 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Is there a config file in /boot. If so load that as your reference and then the ' make ', ' make modules_install ', and finally ' make install '

Old 12-05-2007, 06:57 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,835

Rep: Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453
I would suggest you read this.
Much easier than it used to be for earlier Ubuntu levels.


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
USBSERIAL.O on a 2.4 kernel. How to apply patch? (Stompbox/EVDO) machardi Linux - Wireless Networking 1 10-18-2006 09:52 AM
How to apply kernel patch and customise? subaruwrx Linux - Software 7 12-30-2004 10:40 PM
Kernel: Can't apply patch 2.6.8-rc2 to a 2.6.8-rc1 thorax Linux - Software 1 07-18-2004 04:20 PM
Kernel Patch will not Apply. mudelf Linux - General 10 10-08-2003 06:22 AM
How To Apply Patch To Kernel WILLIAMATHOMAS Linux - Software 2 02-12-2003 01:57 PM

All times are GMT -5. The time now is 02:47 PM.

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