LinuxQuestions.org
Register a domain and help support LQ
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
 
Search this Thread
Old 01-08-2007, 06:40 AM   #1
Ronin_tekorei
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 57

Rep: Reputation: 15
Unhappy Problems to apply a custom patch kernel 2.6.18-1.2257.fc5


Hello my friends.

I'm have a route patch make by Julian Anastasov. You can find it here http://www.ssi.bg/~ja/#routes

I want to merge it to my current kernel 2.6.18-1.2257.fc5 of fedora core 5.

The "patch" command does not work.

patch -p0 --dry-run /path/to /route/patch

it dont tell me if the patch is good for my kernel and apply it whitout the --dry-run option does not work either

Can any one help me please?

i know little about kernel.
 
Old 01-08-2007, 08:15 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Applying patches meant for a vanilla kernel on a custom patched tweaked Red Hat / Fedora kernel is a bit of a challenge and most likely will not work without effort (like editing the patch file a bit). You do need the kernel source to try anyhow, and it should be available in the 'textbook' location. Hint: read the release notes;

http://fedora.redhat.com/docs/releas...sn-Kernel.html

Solution download the vanilla kernel this patch is designed for and apply it then configure build and install the custom vanilla kernel.
 
Old 01-08-2007, 09:08 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Download your kernel source you want and try to apply the patch.
If it tells you that it works, try.
If it tells you that there are rejected files (files that patch didn't manage to modify) then you have to do it yourself.
Anyway on this routing field, there shouldn't be a lot of differences between vanilla and distro-kernel. If there are, they should be documented.

Quote:
The "patch" command does not work.
You should tell us the exact message. And take care about the directory names. (just edit the patch, you will see that the maintainer has put his kernel tree in v2.6.19/linux )
 
  


Reply


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
Cannot locate kernel-module-ntfs for latest kernel -..2257- FC5 anilbh Fedora 2 12-22-2006 08:29 PM
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 09:50 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration