LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2004, 04:55 PM   #1
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
kernel patch error - reversed?


I got a patch from a mirror site of kernel.org and tried to apply it but i got this error saying something like the patch was "reversed" and it asked if I wanted to apply -R

I tried to say yes but it just failed so i restored my src tree from a backup i made prior to doing the patch.

Any ideas what the problem is? I checked the patch's gpg signature and all that before i tried to apply it and i consulted many HOWTOs etc following the directions to apply a patch. Could it be something wrong with the patch? do i need a redhat specific patch to update a redhat system? i'm stumped.
 
Old 10-13-2004, 06:04 PM   #2
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Original Poster
Rep: Reputation: 15
The exact mesage i get is " Reversed (or previously applied) patch detected! Assume -R? [n]"

i tried yes and no to that question but neither one worked. is this a superficial error or will it prevent me from compiling my kernel? and why is it coming up?
 
Old 10-13-2004, 06:06 PM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Most kernel.org patches expect to be applied to "vanilla" sources, or in other words a pristine kernel tree as downloaded from kernel.org. Most distributions patch their kernels more or less heavily, so it is possible that if you use such a source tree the patch (or another one doing the same thing, like patch sets) might already have been applied.


Håkan
 
Old 10-13-2004, 06:18 PM   #4
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Original Poster
Rep: Reputation: 15
i haven't done any kernel updates since i first installed redhat 9 on my computer - the kernel is 2.4.20 and i'm upgrading to 2.4.21 (the patch i obtained from kernel.org).

Are you saying that this patch can't be applied to my src tree? or just that it's looking for files to update that it can't find? is this a problem? can i just ignore the errors and move on? or can i get a redhat specific patch to 2.4.21 from somewhere that will be compatible?

thanks,
 
Old 10-14-2004, 05:53 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you are using the kernel source package from your Redhat distribution (as opposed to a tarball downloaded from a kernel.org mirror) then no - you cannot use the patch. Like I said, the patch only applies to a non-patched kernel source tree while Redhat patches their kernels quite heavily.


Håkan
 
  


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
Kernel Patch Configuration Error RedShirt Linux - Software 6 11-07-2005 08:16 AM
error compiling kernel 2.6.6 with bootsplash patch nagromo Debian 2 12-18-2004 11:51 PM
Kernel 2.6.9 make error (after bootsplash patch) jai_joy Linux - Newbie 7 12-06-2004 03:19 PM
ACPI patch and kernel compile error crisponions Linux - Laptop and Netbook 3 10-29-2003 07:52 PM
Kernel Compile error after applyin bootsplash patch h1tman Slackware 0 10-06-2003 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration