LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-14-2005, 11:10 AM   #1
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Rep: Reputation: 15
iptable make KERNEL_DIR error.....


[root@jin iptables-1.2.9]# patch -p1 < iptables-layer7-0.9.0.patch
patching file extensions/.layer7-test
patching file extensions/libipt_layer7.c
patching file extensions/libipt_layer7.man

[root@jin iptables-1.2.9]# chmod +x extensions/.layer7-test

[root@jin iptables-1.2.9]# make KERNEL_DIR=/usr/src/linux-2.6.5-1.358
In file included from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4.h:8,
from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4/ip_tables.h:25,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_layer7.c:26:
/usr/src/linux-2.6.5-1.358/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
Extensions found: IPv4:layer7 IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I/usr/src/linux-2.6.5-1.358/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_layer7_sh.o -c extensions/libipt_layer7.c
In file included from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4.h:8,
from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4/ip_tables.h:25,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_layer7.c:26:
/usr/src/linux-2.6.5-1.358/include/linux/config.h:6:2: #error including kernel h eader in userspace; use the glibc headers instead!
make: *** [extensions/libipt_layer7_sh.o] Error 1


[root@jin iptables-1.2.9]# make install KERNEL_DIR=/usr/src/linux-2.6.5-1.358
cc -O2 -Wall -Wunused -I/usr/src/linux-2.6.5-1.358/include -Iinclude/ -DIPTABLES _VERSION=\"1.2.9\" -fPIC -o extensions/libipt_layer7_sh.o -c extensions/libipt _layer7.c
In file included from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4.h: 8,
from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4/ip _tables.h:25,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_layer7.c:26:
/usr/src/linux-2.6.5-1.358/include/linux/config.h:6:2: #error including kernel h eader in userspace; use the glibc headers instead!
make: *** [extensions/libipt_layer7_sh.o] Error 1



[root@jin weejin]# ./bandwidthSc4.sh
stopping tc for eth0 failed (was probably already stopped)
stopping tc for eth1 failed (was probably already stopped)
Packets matching "port = 80" will be shaped to 40kbps.
Packets matching "layer7 = ftp" will be shaped to 20kbps.
iptables v1.2.11: Couldn't load match `layer7':/usr/local/lib/iptables/libipt_layer7.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
[ip|eb]tables failed at line 110
tc has now stopped for eth0
tc has now stopped for eth1


May i know what error is that? and what i can do to solve this problem???
thanks...

Last edited by joirnange; 01-15-2005 at 08:43 AM.
 
Old 01-14-2005, 10:09 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I haven't personally experienced that error, but I've anecdotally heard of two solutions:

1. Find /usr/src/linux-2.6.5-1.358/include/linux/config.h and replace the #include <linux/config.h> with #include <linux/autoconf.h> .

2. I've seen some conversations about problems due the desire of the kernel and glibc maintainers not want to use kernel source headers in userland compiled apps. See these for more info:
http://www.kernelnewbies.org/faq/ (see section "What's going on with the kernel headers ?")
http://uwsg.iu.edu/hypermail/linux/k...07.3/0587.html

Hopefully that can help you out.


//Mod note: In the future, please do not post a new thread asking the same question. If your thread hasn't been replied to, please wait at least 24 hours and then just reply to your own thread (aka "bumping it"). Thanks.

Last edited by Capt_Caveman; 01-14-2005 at 10:11 PM.
 
Old 01-14-2005, 10:52 PM   #3
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H

#include <linux/autoconf.h>
#ifndef __KERNEL__
#error including kernel header in userspace; use the glibc headers instead!
#endif
#endif


this is my original /usr/src/linux-2.6.5-1.358/include/linux/config.h
so i think i should not change the autoconf.h , right?

( i am sorry for posting the same thread here...i so forgetfull..., Sorry..i wont do it again..and will be more careful).

Last edited by joirnange; 01-15-2005 at 03:41 AM.
 
Old 01-16-2005, 03:00 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I think I see what's wrong. After you patch the kernel source, you need to actually compile the kernel before patching and building netfilter. If you don't, then it can't find the proper kernel headers and you get those weird errors about kernel headers in userland. So make sure that you are doing the following:
1. Download kernel source
- make sure that it's kernel source not a precompiled binary or rpm
2. Unpack kernel
3. Patch kernel source using the kernel-layer patch
- if you are using kernel earlier than 2.6.9, you need to use the old patches
4. Compile kernel
- configure kernel using make menuconfig or make xconfig (make sure to select layer7 options)
-make kernel and modules and install
5. patch Netfilter with the iptables-layer7 patch
6. Make extensions/.layer7-test executable
7. compile netfiler with KERNEL_DIR set to path of the kernel dir you built in step 4

That protocol worked for me and the only way I could duplicate the kernel headers in userspace error was by not building the kernel before you try and compile the patched netfilter. If that isn't the cause, you might want to email the layer7 maintainer or send a msg to their mailing list (?)

Last edited by Capt_Caveman; 01-16-2005 at 03:02 AM.
 
Old 01-16-2005, 04:44 AM   #5
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
First of all....THANKS to Capt_Caveman. cause the previos problem was solved.
Now is the following question.

[root@jin weejin]# ./bandwidthSc4.sh
stopping tc for eth0 failed (was probably already stopped)
stopping tc for eth1 failed (was probably already stopped)
Packets matching "port = 80" will be shaped to 1kbps.
Packets matching "layer7 = ftp" will be shaped to 20kbps.
iptables: No chain/target/match by that name
[ip|eb]tables failed at line 110

tc has now stopped for eth0
tc has now stopped for eth1

why this kind of problem occured??No chain/target/match by that name
i have copied the protocol definition to etc/l7-protocols.

what error is that??
[ip|eb]tables failed at line 110

The follow the script from the following web site.
http://l7-filter.sourceforge.net/L7-Netfilter-example

One more thing...
why other people can see this kind of message while type the tail -f /var/log/messages
but i cant see it??( i m in bridging mode already)

Sep 30 05:40:33 localhost kernel: layer 7 : adding telnet:^\xff[\xfb-\xfel].\xff[\xfb-xfe]
Sep 30 05:40:43 localhost kernel: layer 7 :adding yahoo:^(ymsg|ypns|yhoo).?.??.?,?


while i only can see this after i fire the tail -f /var/log/messages command.

Jan 16 17:15:36 jin xinetd: xinetd shutdown failed
Jan 16 17:15:36 jin acpid: acpid shutdown succeeded
Jan 16 17:15:36 jin crond: crond shutdown succeeded
Jan 16 17:15:36 jin dd: 1+0 records in
Jan 16 17:15:36 jin dd: 1+0 records out
Jan 16 17:15:36 jin random: Saving random seed: succeeded
Jan 16 17:15:36 jin nfslock: rpc.statd shutdown succeeded
Jan 16 17:15:37 jin portmap: portmap shutdown succeeded
Jan 16 17:15:38 jin syslog: klogd shutdown succeeded
Jan 16 17:15:38 jin syslogd: exiting on signal 15







Last edited by joirnange; 01-16-2005 at 12:44 PM.
 
Old 01-16-2005, 12:55 PM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
You shouldn't need to. In the 2.6 kernel series, running 'make install' will perform all those actions (copy kernel bzimage and new system.map to /boot , mkinitrd, etc). So you should normally just need to:
Configure new kernel (make menuconfig or make xconfig)
Compile kernel (make or make bzimage)
Install modules (make modules_install)
Install new kernel, system.map, initrd (make install)

There is a good guide that goes into more detail at kerneltrap:
http://kerneltrap.org/node/799


*NOTE: This post is in reply to the old question you had there regarding installing the kernel and initrd.

Last edited by Capt_Caveman; 01-16-2005 at 01:08 PM.
 
Old 01-16-2005, 01:21 PM   #7
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
Thanks for giving me so many useful information....
Now..how about the previous message i posted??
Why this kind of problem occured?
iptables: No chain/target/match by that name
[ip|eb]tables failed at line 110

is it something wrong with my l7-protocols?
i copy all the protocol to etc/l7protocol.
 
Old 01-16-2005, 01:25 PM   #8
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Quote:
Originally posted by joirnange
[B]
iptables: No chain/target/match by that name
[ip|eb]tables failed at line 110

what error is that??
[ip|eb]tables failed at line 110
I assume it's failing here:
if [ $type = "layer7" ]; then
iptables -t mangle -A POSTROUTING -m layer7 --l7proto $arg -j MARK --set-mark $n
which likely means the -m layer7 --l7 proto $arg is not being recognized. During the kernel config process (make menuconfig / make xconfig) did you select each of the required Netfilter options:
Quote:
"Enable EXPERIMENTAL (Code maturity level options → Prompt for development and/or incomplete code/drivers).

Enable Netfilter (Device Drivers → Networking support → Networking Options → Network packet filtering). Then enable connection tracking (Network packet filtering → IP: Netfilter Configuration → Connection tracking). On that screen, also enable "Connection tracking flow accounting" and "IP tables support".

Enable "Layer 7 match support".
If not, then you will need to recompile the kernel with all the above options selected.
You could lso be getting that error if you did not perform 'make install' after compiling iptables with the netfilter-layer7 patch.


One more thing...
why other people can see this kind of message while type the tail -f /var/log/messages
but i cant see it??( i m in bridging mode already)

Sep 30 05:40:33 localhost kernel: layer 7 : adding telnet:^\xff[\xfb-\xfel].\xff[\xfb-xfe]
Sep 30 05:40:43 localhost kernel: layer 7 :adding yahoo:^(ymsg|ypns|yhoo).?.??.?,?

Assuming cause the layer7 match isn't working yet.
 
Old 01-16-2005, 01:38 PM   #9
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
YES,,,
i have selected all of this :

"Enable EXPERIMENTAL (Code maturity level options → Prompt for development and/or incomplete code/drivers).

Enable Netfilter (Device Drivers → Networking support → Networking Options → Network packet filtering). Then enable connection tracking (Network packet filtering → IP: Netfilter Configuration → Connection tracking). On that screen, also enable "Connection tracking flow accounting" and "IP tables support".

Enable "Layer 7 match support".

then make follow by make modules then make modules_install

In the iptable:

i have do this:

patch -p1 <iptableLayer7.patch

make KERNEL_DIR=/home/joirnange/linux2.6.10
make install KERNEL_DIR=/home/joirnange/linux2.6.10
thats all i do for iptable

then i copy the protocol to etc/l7protocols

HOW TO INSTALL THE PROTOCOL?
WHAT SHOULD I DO AFTER DOWNLOAD THE PROTOCOL?
it only say :
Uncompress the "Protocol Definitions" package and make the resulting directory /etc/l7-protocols

Last edited by joirnange; 01-16-2005 at 01:49 PM.
 
Old 01-16-2005, 03:58 PM   #10
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
then i copy the protocol to etc/l7protocols
HOW TO INSTALL THE PROTOCOL?


Unpack the l7-protocols-2005-01-05.tar.gz and copy the contents to /etc/l7-protocols . So if you cd to /etc/l7-protocols you should see:
Code:
CHANGELOG   HOWTO              Makefile   README   weakpatterns
extra       l7-protocols.spec  malware    testing
file_types  LICENSE            protocols  WANTED
If that is correct, try trouble shooting step-by-step:

First just try using a single iptables rule that uses the l7 match like this:
iptables -t mangle -A POSTROUTING -m layer7 --l7proto http -j ACCEPT

If you get error "Couldn't find a pattern definition file for http", then the protocols aren't in the proper place.

If you get a "chain/target/match not found" then there is somerting with the kernel or iptables. In that case, you may not have booted into the new kernel (try uname -a) to see what you are currently in. The kernel make install process doesn't install the new kernel as the default.

If you get an error "/usr/local/lib/iptables/libipt_layer7.so: : cannot open shared object file: No such file or directory" then there is a problem with the iptables install process. Verify that /usr/local/lib/iptables/libipt_layer7.so exists
 
Old 01-16-2005, 10:03 PM   #11
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
inside this directory :/etc/l7-protocols , i can see all those things.

And wheni fired this command, it tell me that the version i m using is the old version one.



[root@jin root]iptables -t mangle -A POSTROUTING -m layer7 --l7proto http -j ACCEPT

i get this message: "chain/target/match not found"


[root@jin root] # uname -a
Linux jin.com 2.6.9-1.6_FC2 #1 Thu Nov 18 22:02:27 EST 2004 i686 i686 i386 GNU/Linux

so the kernel make install process doesn't install the new kernel as the default, is it?
so what to do next???

Thanks.
 
Old 01-16-2005, 10:37 PM   #12
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Yep, looks like it's booting the wrong kernel. If you didn't get any error messages during the 'make install' process, then you just may need to select the proper kernel during the boot process. When you reboot, there should be an option for the 2.6.5-1.358 kernel in the grub or lilo menu, make sure that it is selected. If you don't see that option, then take a look at /etc/grub.conf or /etc/lilo.conf and make sure that the new kernel is being added.

As a side note, why aren't you using a more recent kernel? There have been several kernel bugs identified in the last few weeks, so you should be using something newer or at least patching those bugs.
 
Old 01-17-2005, 07:19 AM   #13
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
i find this error when i try to make install again..

[root@jin linux-2.6.10]# make install

CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.

CHK include/linux/compile.h

CHK usr/initramfs_list

CC net/ipv4/netfilter/ipt_layer7.o
net/ipv4/netfilter/ipt_layer7.c:
In function `match_no_append':
net/ipv4/netfilter/ipt_layer7.c:243:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:257:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:258:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:263:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:264:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:268:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:269:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:270:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:276:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:

In function `add_data':
net/ipv4/netfilter/ipt_layer7.c:290:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:297:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:304:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:305:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:

In function `match':
net/ipv4/netfilter/ipt_layer7.c:358:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:364:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:365:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:366:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:372:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:377:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:378:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:390:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:407:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:414:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:415:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:421:
error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:

At top level:
net/ipv4/netfilter/ipt_layer7.c:441: warning: initialization from incompatible pointer type
make[3]: *** [net/ipv4/netfilter/ipt_layer7.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2


what errors is that??
how to solve it??
thanks....
 
Old 01-17-2005, 07:46 AM   #14
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Are you using the correct layer7 patch? If you are using a kernel older than 2.6.9 (which you were using) you need to use the kernel-2.6-layer7-0.9.1.patch from the "for_older_kernels" directory. Since you are now using 2.6.10, then you need to patch with kernel-2.6-layer7-1.0.patch. Also make sure that you've configured it properly in menuconfig/xconfig (maybe you forgot to enable the layer7 option). If you've done all that, then I don't know what the problem is. 2.6.10 does compile and work properly with the layer7 patches, so you need to go through all the instructions properly and make sure you are doing everything correctly.

Last edited by Capt_Caveman; 01-17-2005 at 08:35 AM.
 
Old 01-17-2005, 08:33 AM   #15
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
is it i have to create a chain in iptable.??
this is what my friend told me...now i have download the kernel-2.6-layer7-1.0.patch and "make" ....

but the error is the same.....

[root@jin linux-2.6.10]# make
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
CC net/ipv4/netfilter/ip_conntrack_standalone.o
CC net/ipv4/netfilter/ip_conntrack_core.o
CC net/ipv4/netfilter/ip_conntrack_proto_generic.o
CC net/ipv4/netfilter/ip_conntrack_proto_tcp.o
CC net/ipv4/netfilter/ip_conntrack_proto_udp.o
CC net/ipv4/netfilter/ip_conntrack_proto_icmp.o
LD net/ipv4/netfilter/ip_conntrack.o
CC net/ipv4/netfilter/ip_conntrack_ftp.o
CC net/ipv4/netfilter/iptable_filter.o
CC net/ipv4/netfilter/ipt_mark.o
CC net/ipv4/netfilter/ipt_pkttype.o
CC net/ipv4/netfilter/ipt_addrtype.o
CC net/ipv4/netfilter/ipt_layer7.o
net/ipv4/netfilter/ipt_layer7.c: In function `match_no_append':
net/ipv4/netfilter/ipt_layer7.c:243: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:257: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:258: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:263: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:264: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:268: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:269: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:270: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:276: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c: In function `add_data':
net/ipv4/netfilter/ipt_layer7.c:290: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:297: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:304: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:305: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c: In function `match':
net/ipv4/netfilter/ipt_layer7.c:358: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:364: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:365: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:366: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:372: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:377: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:378: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:390: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:407: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:414: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:415: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c:421: error: structure has no member named `layer7'
net/ipv4/netfilter/ipt_layer7.c: At top level:
net/ipv4/netfilter/ipt_layer7.c:441: warning: initialization from incompatible pointer type
make[3]: *** [net/ipv4/netfilter/ipt_layer7.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

i have download the patch-2.6.10.bz2 and patch to the kernel
but there is there anyway to skip answer those question???( alot of questio)

patching file Documentation/filesystems/Locking
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/filesystems/devfs/ChangeLog
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/filesystems/devfs/README
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/filesystems/ext2.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/filesystems/ntfs.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/filesystems/proc.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/filesystems/ufs.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/filesystems/vfs.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/floppy.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/ftape.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/hw_random.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/i2c/dev-interface
Reversed (or previously applied) patch detected! Assume -R? [n] y
The next patch would create the file Documentation/i2c/i2c-stub,
which already exists! Assume -R? [n] y
patching file Documentation/i2c/i2c-stub
patching file Documentation/i2c/sysfs-interface
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file Documentation/i2c/writing-clients
Reversed (or previously applied) patch detected! Assume -R? [n]
............
............
..........
 
  


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
IPtable error?What error is that? joirnange Linux - Security 1 01-10-2005 12:30 PM
Kernel 2.6 error -- iptable andy18 Linux - General 2 11-07-2004 01:56 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make pending patches KERNEL_DIR cottonmouth Linux - Software 2 11-20-2002 08:48 AM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:06 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
Open Source Consulting | Domain Registration