Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-08-2007, 05:40 AM   #1
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

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, 07:15 AM   #2
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: 57
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;

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, 08:08 AM   #3
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
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.

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 )


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 07:29 PM
How to apply kernel patch and customise? subaruwrx Linux - Software 7 12-30-2004 09:40 PM
Kernel: Can't apply patch 2.6.8-rc2 to a 2.6.8-rc1 thorax Linux - Software 1 07-18-2004 03:20 PM
Kernel Patch will not Apply. mudelf Linux - General 10 10-08-2003 05:22 AM
How To Apply Patch To Kernel WILLIAMATHOMAS Linux - Software 2 02-12-2003 12:57 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:53 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