Click to See Complete Forum and Search --> : Need a real hacker !


jwilson
03-29-2001, 11:49 PM
This is the first part of a patch file I'm trying to run:


diff -Nru linux/Documentation/Configure.help linux-2684/Documentation/Configure.help
--- linux/Documentation/Configure.help Thu Jan 4 22:00:55 2001
+++ linux-2684/Documentation/Configure.help Sat Jan 6 21:57:34 2001
@@ -4834,6 +4834,19 @@
briefly removed during revalidation. If you say Y here, packets to
such neighbours are silently discarded instead.

+RFC1483/2684 Bridged protocols
+CONFIG_ATM_BR2684
+ ATM PVCs can carry ethernet PDUs according to rfc2684 (formerly 1483)
+ This device will act like an ethernet from the kernels point of view,
+ with the traffic being carried by ATM PVCs (currently 1 PVC/device).
+ This is sometimes used over DSL lines. If in doubt, say N.
+
+Per-VC IP filter kludge
+CONFIG_ATM_BR2684_IPFILTER
+ This is an experimental mechanism for users who need to terminating a
+ large number of IP-only vcc's. Do not enable this unless you are sure
+ you know what you are doing.
.....
.....


say the file is named br2684.diff, I'm running:
patch -p1 br2684.diff

When it gets to the line that starts with @@, it tells me that maybe I used the wrong num switch, that it can't find the file. I really don't understand this at all and the documentation just says, "use this file to patch the kernel". Well geez, thanks a lot.

Anybody got an idea what's going on here? :confused:

nopun
03-30-2001, 05:54 AM
Well, in the absence of a real hacker, heres my .02
Are you running this from the correct directory? With the options you're using you would need to be in your "linux" directory (or whatever you've called it)

PLBlaze
03-30-2001, 12:40 PM
I tried to run the diff on my kernel and you have a problem on line 5,perhaps the patch is missing something?

Make sure you are above the linux directory and feed the diff to patch like this patch -p1 </path-to-diff or if you want to do it by hand then open the Configure.in file and go to line 4834 and put the + lines but make sure to rid + sign thereafter.Hope this helps.