LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2005, 09:25 PM   #1
cdavidson
Member
 
Registered: Jan 2004
Location: Mississippi
Distribution: Gentoo 2006.1, openSuSe 10.2
Posts: 43

Rep: Reputation: 15
Question problem while patching kernel


I'm in the process of upgrading the kernel on a RH9 box (currently kernel 2.4.20) to 2.6.11.6. While applying the patches to ther kernel, I got the following error while applying the second patch:

gunzip -c /path/to/patches/patch-2.6.11.2.gz | patch -p1
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file drivers/input/serio/i8042-x86ia64io.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file drivers/input/serio/i8042-x86ia64io.h.rej
patching file drivers/md/raid6altivec.uc
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/md/raid6altivec.uc.rej
patching file fs/eventpoll.c

This is my first kernel compile and thus far Google hasn't found anything. Can anyone at LQ lend a hand?
 
Old 03-31-2005, 10:04 PM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 845

Rep: Reputation: 33
You can't patch a 2.4 to a 2.6. You'll just have to download the 2.6 kernel and start from there. BTW, when you patch a kernel, it has to be in increments; 2.4.23 to 2.4.24, 2.4.25, 2.4.26... etc.

Last edited by Linux~Powered; 03-31-2005 at 10:06 PM.
 
Old 03-31-2005, 10:34 PM   #3
cdavidson
Member
 
Registered: Jan 2004
Location: Mississippi
Distribution: Gentoo 2006.1, openSuSe 10.2
Posts: 43

Original Poster
Rep: Reputation: 15
Sorry, I should've mentioned...that's what I'm doing. I've downloaded the 2.6.11 kernel, uncompressed it, and I 'm applying the patches directly to the linux-2.6.11 directory.
 
Old 03-31-2005, 11:00 PM   #4
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
That happens when the patch program finds the source files to be different from what the patch files were made to patch. That could be for any number of reasons. Perhaps you aren't applying them in the proper order?
 
  


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 patching problem ^kossu Debian 2 03-01-2005 05:22 AM
Problem patching kernel abefroman Linux - Security 2 12-28-2004 12:38 AM
patching kernel problem drenal Linux - Newbie 4 03-28-2004 03:56 PM
problem with with patching mm kernel! bamboo123 Linux - General 2 02-02-2004 04:50 PM
kernel patching problem fridgehead Linux - General 1 08-23-2002 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:46 PM.

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