LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-02-2008, 12:24 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
Reversed (or previously applied) patch detected!


Hello,

I've just installed a new kernel on Lenny: 2.6.25.1 from kernel.org. Everything went well.

uname -r returns:

test:~# uname -r
2.6.25.1


I'm now trying to apply the first patch in the series: 2.6.25.2 and have downloaded that patch from kernel.org as well. But when I try to patch, I get:

test:/usr/src/linux# patch -p1 < patch-2.6.25.2
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/alpha/kernel/osf_sys.c
Reversed (or previously applied) patch detected! Assume -R? [n]

At which point I cancel out of the process. I'm not sure what I'm doing wrong here. All help much appreciated.

Thanks,

ab
 
Old 07-02-2008, 12:30 PM   #2
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Thought. Is this happening because I'm applying the patch to the 2.6.25.1 kernel instead of having installed the base 2.6.25 base and patched 1-9 from there?

Thanks,

ab
 
Old 07-02-2008, 01:27 PM   #3
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Try with this ftp://ftp.eu.kernel.org/pub/linux/ke...2.6.25.1-2.bz2
 
Old 07-02-2008, 02:49 PM   #4
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Thanks for the reply and the link. Is this a kernel that is already patched up to #2? I'm actually doing this as a learning exercise. I wanted to try my hand at compiling and installing a new kernel, which I did. Now I want to tackle patching. I'm going to install the base 2.6.25 and try to patch 1-9 from there. Thanks again for your help.

Any veteran suggestions are very welcome. :-)

-ab
 
Old 07-02-2008, 03:22 PM   #5
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Nope, that's the incremental patch from 2.6.25.1 to 2.6.25.2 which I thought you were trying to accomplish.
The 2.6.25.2 patch you got an error with is indeed supposed to be applied to an unpatched 2.6.25 source.
 
Old 07-02-2008, 03:32 PM   #6
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Ah, got it. Thanks again for the interest.

Cheers,

ab
 
  


Reply



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
Scrollwheel is reversed (wacom) rutgerw Linux - Hardware 2 01-15-2007 04:34 PM
Reversed (or previously applied) patch detected! tunasashimi Linux - Software 3 12-06-2005 04:52 AM
Dialog Buttons Reversed. jinksys Fedora 1 01-24-2005 12:23 AM
kernel patch error - reversed? pfunk Linux - Software 4 10-14-2004 04:53 AM
reversed cp command chandan Linux - Newbie 1 03-19-2003 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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