Re: [mpls-linux-devel] MPLS & linux kernel 2.6.16.2
Status: Beta
Brought to you by:
jleu
From: Marina M. <mac...@gm...> - 2006-07-12 18:16:14
|
Hi James, actually I compiled MPLS as a part of the kernel, not as a Module (by chosing Yes in .config). I tried also to compile and load it as a separate module but it didn't work. I also loaded as separate modules mpls4 and ipt_mpls. Is that enough to include IPv4 binding or I'm still missing something?? Thanks a lot for your precious information, Marina 2006/7/11, James R. Leu <jl...@mi...>: > > Hello Marina, > > Did you compile MPLS as a module? Did you include IPv4 bindings for MPLS? > Did you load the mpls4 module? > > On Tue, Jul 11, 2006 at 10:30:55PM +0200, Marina Mariano wrote: > > Hi Mr. Leu, hi everybody, > > > > I'm a Computer Software Engineer student and I'm developing my > dissertation > > on Load Balancing with MPLS routing. > > > > I'm trying to use the version 1.950 of the MPLS routing, but I'm facing > some > > configuration problem after compiling the patch from the sources; I > kindly > > ask you to help me in this phase. > > > > I'm using a Debian distribution with the following items: > > * Linux kernel v. 2.6.16.2 > > * iproute2-2.6.16-060323 > > * iptables-1.3.5 > > * ebtables-v2.0.8-rc2 > > * quagga-0.99.4 > > and, of course, mpls-linux-1.950. > > > > I applied the patches to the kernel in the indicated order; I found some > > rejections (.rej), but I "easily" solved them by hands by slightly > modifying > > the source code (adding header files, removing ".owner"...) > > > > My configuration correctly shows the MPLS module as present; I compiled > with > > no error and installed the new MPLS-powered kernel. > > > > Despite that, on invoking any MPLS operation (like mpls add nhlfe 0...). > I > > get this message: > > RTNETLINK answers: invalid argument > > > > I'm sure that I'm missing something tremendously obvious! > > > > In the following, the systrace output for "mpls nhlfe add key 0" - hope > it > > helps. > > > > Thank you in advance for any help. > > Best regards, > > Marina Mariano > > > > systrace begins.... > > > > execve("/sbin/mpls", ["mpls", "nhlfe", "add", "key", "0"], [/* 28 vars > */]) > > = 0 > > uname({sys="Linux", node="debian", ...}) = 0 > > brk(0) = 0x8053000 > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) > > = 0xb7f1c000 > > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or > > directory) > > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or > > directory) > > open("/etc/ld.so.cache", O_RDONLY) = 3 > > fstat64(3, {st_mode=S_IFREG|0777, st_size=55830, ...}) = 0 > > old_mmap(NULL, 55830, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0e000 > > close(3) = 0 > > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or > > directory) > > open("/lib/tls/libm.so.6", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\00005\0\000"..., > 512) > > = 512 > > fstat64(3, {st_mode=S_IFREG|0777, st_size=134496, ...}) = 0 > > old_mmap(NULL, 136976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xb7eec000 > > old_mmap(0xb7f0d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, > > 0x20000) = 0xb7f0d000 > > close(3) = 0 > > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or > > directory) > > open("/lib/tls/libresolv.so.2", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220)\0"..., > 512) = > > 512 > > fstat64(3, {st_mode=S_IFREG|0777, st_size=64924, ...}) = 0 > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) > > = 0xb7eeb000 > > old_mmap(NULL, 73640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xb7ed9000 > > old_mmap(0xb7ee8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, > > 0xf000) = 0xb7ee8000 > > old_mmap(0xb7ee9000, 8104, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ee9000 > > close(3) = 0 > > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or > > directory) > > open("/lib/tls/libc.so.6", O_RDONLY) = 3 > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000"..., > 512) = > > 512 > > fstat64(3, {st_mode=S_IFREG|0777, st_size=1254468, ...}) = 0 > > old_mmap(NULL, 1264780, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xb7da4000 > > old_mmap(0xb7ece000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, > > 0x129000) = 0xb7ece000 > > old_mmap(0xb7ed7000, 7308, PROT_READ|PROT_WRITE, > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ed7000 > > close(3) = 0 > > set_thread_area({entry_number:-1 -> 6, base_addr:0xb7eebb80, > limit:1048575, > > seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, > > seg_not_present:0, useable:1}) = 0 > > munmap(0xb7f0e000, 55830) = 0 > > socket(PF_NETLINK, SOCK_RAW, 0) = 3 > > setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0 > > setsockopt(3, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0 > > bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 > > getsockname(3, {sa_family=AF_NETLINK, pid=5298, groups=00000000}, [12]) > = 0 > > time(NULL) = 1152646179 > > sendto(3, "\24\0\0\0\22\0\1\3$\374\263D\0\0\0\0\0\200\0\0", 20, 0, > > {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 > > recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, > > > msg_iov(1)=[{"\344\0\0\0\20\0\2\0$\374\263D\262\24\0\0\0\0\4\3\1\0\0"..., > > 16384}], msg_controllen=0, msg_flags=0}, 0) = 896 > > brk(0) = 0x8053000 > > brk(0x8074000) = 0x8074000 > > brk(0) = 0x8074000 > > recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, > > > msg_iov(1)=[{"\24\0\0\0\3\0\2\0$\374\263D\262\24\0\0\0\0\0\0\1\0\0\0"..., > > 16384}], msg_controllen=0, msg_flags=0}, 0) = 20 > > sendmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, > > > msg_iov(1)=[{"\204\10\0\0\20\0\1\4%\374\263D\0\0\0\0\36\0\0\0\0\0\0\0"..., > > 2180}], msg_controllen=0, msg_flags=0}, 0) = 2180 > > recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, > > > msg_iov(1)=[{"$\0\0\0\2\0\0\0%\374\263D\262\24\0\0\352\377\377\377\204"..., > > 16384}], msg_controllen=0, msg_flags=0}, 0) = 36 > > dup(2) = 4 > > fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) > > fstat64(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = > > 0xb7f1b000 > > _llseek(4, 0, 0xbf92b508, SEEK_CUR) = -1 ESPIPE (Illegal seek) > > write(4, "RTNETLINK answers: Invalid argum"..., 36) = 36 > > close(4) = 0 > > munmap(0xb7f1b000, 4096) = 0 > > exit_group(2) = ? > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > mpls-linux-devel mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > > -- > James R. Leu > jl...@mi... > > > |