Try using "patch -p1 <bridge-nf-20010801-against-2.4.6-3.diff" from within
the linux source tree (/usr/src/linux) instead.
Jason
On Wed, Sep 05, 2001 at 11:12:44PM +0200, Thomas Nicolai wrote:
> Hi,
>
> I`ve a problem with patching kernel 2.4.9 with nf-patch!
> Here is my way of patching:
>
> 1.) downloaded the kernel 2.4.9 from kernel.org +
> 2.) downloaded the patch bridge-nf-20010801-against-2.4.6-3.diff
> 3.) copy the patch into /usr/src/linux
> 4.) run "patch -p0 < bridge-nf-20010801-against-2.4.6-3.diff"
> 5.) get the following output
>
> ############################################################################
> patching file linux2.4.6passthrough/net/bridge/netfilter/br_passthrough.c
> patching file linux2.4.6passthrough/net/bridge/netfilter/Makefile
> patching file linux2.4.6passthrough/net/bridge/netfilter/Config.in
> patching file linux2.4.6passthrough/net/bridge/Config.in
> can't find file to patch at input line 187
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- linux2.4.6/net/Config.in Wed Mar 7 07:44:15 2001
> |+++ linux2.4.6passthrough/net/Config.in Wed Aug 1 20:34:32 2001
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> can't find file to patch at input line 199
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- linux2.4.6/net/core/skbuff.c Thu Apr 12 21:11:39 2001
> |+++ linux2.4.6passthrough/net/core/skbuff.c Wed Aug 1 20:34:32 2001
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 2 out of 2 hunks ignored
> can't find file to patch at input line 225
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- linux2.4.6/include/linux/skbuff.h Wed Jul 4 00:43:04 2001
> |+++ linux2.4.6passthrough/include/linux/skbuff.h Wed Aug 1 20:34:32
> 2001
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> can't find file to patch at input line 239
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- linux2.4.6/net/Makefile Tue Jun 12 04:15:27 2001
> |+++ linux2.4.6ebtables-1.0prerelease/net/Makefile Wed Aug 1 21:54:05
> 2001
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 2 out of 2 hunks ignored
> ########################################################################
>
> What does this mean?? What is wrong in my way of patching?
>
> Thanks for your help!
> Thomas
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "Thomas Nicolai" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 05, 2001 4:18 PM
> Subject: Re: [Bridge] Filtering with 2.4.9 and 3c59x
>
>
> >
> > I've got a couple of questions:
> >
> > 1. Where did you get your source code?
> >
> > 2. What two files are missing?
> >
> > I downloaded http://www.kernel.org/pub/linux/kernel/v2.4/
> > linux-2.4.9.tar.gz
> >
> > Eli
> >
>
>
> _______________________________________________
> Bridge mailing list
> [EMAIL PROTECTED]
> http://www.math.leidenuniv.nl/mailman/listinfo/bridge
--
_______________________________________________
Jason R. Martin [EMAIL PROTECTED]
CSL Technical Services 217-333-7205
Coordinated Science Lab, University of Illinois
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge