LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 06-28-2006, 10:15 PM   #1
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Rep: Reputation: 15
Smile How to patch -mm?


I never tried this before, I was wondering how to do it? Can I use the /linux/scripts/patch-kernel to apply say, 2.6.17-mmX to 2.6.17?

I would like to say thank you in advance for those who will enlighten me.
 
Old 06-29-2006, 12:26 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 121Reputation: 121
Rather than tell you in Redneck, my native tongue, can I point you to Linus Torvald's instructions in the top level directory of your kernel source? The filename is README.
 
Old 06-29-2006, 12:33 AM   #3
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
sorry, i think i need to restructure my question. what i meant was, does the -mm patch work with just the normal release? if not, does it require any special parameter to patch an -mm with a normal one?
 
Old 06-29-2006, 12:49 AM   #4
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Mageia
Posts: 618

Rep: Reputation: 39
Yes, as far as I know, the -mm patchset is for the vanilla (www.kernel.org) kernel. To apply a patch to your kernel that you downloaded form www.kernel.org, first make sure that the patch you downloaded is for the kernel version you downloaded. Then extract the kernel source and put the patch in the root kernel source directory (such as /usr/src/linux-2.6.17.1/). Now decompress the patch and enter this command, as root, from that directory:

Code:
patch -p1 < [TheNameOfThePatchFile]
Note the "<". Forgetting to put that in will probably mess up your patch file.

Happy patching!

--Dane
 
Old 06-30-2006, 04:41 AM   #5
x86processor
Member
 
Registered: Jun 2006
Location: Chennai, India
Distribution: Embdebian, Debian, Fedora Core, Redhat, Slackware, Ubuntu.
Posts: 112

Rep: Reputation: 15
Quote:
does the -mm patch work with just the normal release?
Yes. Its just a naming extension. mm patches are released by Andrew Morton.
 
  


Reply

Tags
kernel, patch


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
patch problem - can't find file to patch jnutt Linux - Kernel 3 02-10-2010 03:45 PM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM


All times are GMT -5. The time now is 12:32 PM.

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