Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-18-2003, 06:27 PM   #1
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Rep: Reputation: 30
Kernel Patching

I have posted about this several times and never get a response so I am not really counting on anything here. But this is what happens when I try to apply the Alan Cox patch.

Tiamat:/usr/src/linux-2.4.22-ac4# patch -p0 < patch-2.4.22-ac4
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/arch/alpha/kernel/entry.S linux.22-ac4/arch/alpha/kernel/entry.S
|--- linux.vanilla/arch/alpha/kernel/entry.S 2003-06-14 00:11:26.000000000 +0100
|+++ linux.22-ac4/arch/alpha/kernel/entry.S 2003-06-29 16:10:35.000000000 +0100
File to patch:

What am I doing wrong?
Old 11-18-2003, 06:39 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
did you try a different option for -p?

Like -p1?

Old 11-18-2003, 07:15 PM   #3
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Original Poster
Rep: Reputation: 30
-p1 worked! Thanks!


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.. new.thing Linux - Hardware 3 07-13-2005 07:36 AM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 05:18 AM
Patching the kernel grazie Fedora 4 11-09-2004 04:29 PM
Patching the Kernel LinuxBlackBox Linux - Software 2 06-16-2004 07:54 AM
Kernel Patching? wr3ck3d Linux - General 4 04-13-2003 04:17 PM > Forums > Linux Forums > Linux - Software

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

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