Re: [mpls-linux-devel] MPLS & linux kernel 2.6.16.2
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2006-07-11 20:53:35
|
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, >=20 > I'm a Computer Software Engineer student and I'm developing my dissertati= on > on Load Balancing with MPLS routing. >=20 > I'm trying to use the version 1.950 of the MPLS routing, but I'm facing s= ome > configuration problem after compiling the patch from the sources; I kindly > ask you to help me in this phase. >=20 > 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. >=20 > 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 modify= ing > the source code (adding header files, removing ".owner"...) >=20 > My configuration correctly shows the MPLS module as present; I compiled w= ith > no error and installed the new MPLS-powered kernel. >=20 > Despite that, on invoking any MPLS operation (like mpls add nhlfe 0...). I > get this message: > RTNETLINK answers: invalid argument >=20 > I'm sure that I'm missing something tremendously obvious! >=20 > In the following, the systrace output for "mpls nhlfe add key 0" - hope it > helps. >=20 > Thank you in advance for any help. > Best regards, > Marina Mariano >=20 > systrace begins.... >=20 > execve("/sbin/mpls", ["mpls", "nhlfe", "add", "key", "0"], [/* 28 vars */= ]) > =3D 0 > uname({sys=3D"Linux", node=3D"debian", ...}) =3D 0 > brk(0) =3D 0x8053000 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,= 0) > =3D 0xb7f1c000 > access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or > directory) > open("/etc/ld.so.preload", O_RDONLY) =3D -1 ENOENT (No such file or > directory) > open("/etc/ld.so.cache", O_RDONLY) =3D 3 > fstat64(3, {st_mode=3DS_IFREG|0777, st_size=3D55830, ...}) =3D 0 > old_mmap(NULL, 55830, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0xb7f0e000 > close(3) =3D 0 > access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or > directory) > open("/lib/tls/libm.so.6", O_RDONLY) =3D 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"..., 5= 12) > =3D 512 > fstat64(3, {st_mode=3DS_IFREG|0777, st_size=3D134496, ...}) =3D 0 > old_mmap(NULL, 136976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =3D 0xb7ee= c000 > old_mmap(0xb7f0d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x20000) =3D 0xb7f0d000 > close(3) =3D 0 > access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or > directory) > open("/lib/tls/libresolv.so.2", O_RDONLY) =3D 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)= =3D > 512 > fstat64(3, {st_mode=3DS_IFREG|0777, st_size=3D64924, ...}) =3D 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,= 0) > =3D 0xb7eeb000 > old_mmap(NULL, 73640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =3D 0xb7ed9= 000 > old_mmap(0xb7ee8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0xf000) =3D 0xb7ee8000 > old_mmap(0xb7ee9000, 8104, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =3D 0xb7ee9000 > close(3) =3D 0 > access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or > directory) > open("/lib/tls/libc.so.6", O_RDONLY) =3D 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= ) =3D > 512 > fstat64(3, {st_mode=3DS_IFREG|0777, st_size=3D1254468, ...}) =3D 0 > old_mmap(NULL, 1264780, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =3D 0xb7d= a4000 > old_mmap(0xb7ece000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, = 3, > 0x129000) =3D 0xb7ece000 > old_mmap(0xb7ed7000, 7308, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =3D 0xb7ed7000 > close(3) =3D 0 > set_thread_area({entry_number:-1 -> 6, base_addr:0xb7eebb80, limit:104857= 5, > seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, > seg_not_present:0, useable:1}) =3D 0 > munmap(0xb7f0e000, 55830) =3D 0 > socket(PF_NETLINK, SOCK_RAW, 0) =3D 3 > setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) =3D 0 > setsockopt(3, SOL_SOCKET, SO_RCVBUF, [32768], 4) =3D 0 > bind(3, {sa_family=3DAF_NETLINK, pid=3D0, groups=3D00000000}, 12) =3D 0 > getsockname(3, {sa_family=3DAF_NETLINK, pid=3D5298, groups=3D00000000}, [= 12]) =3D 0 > time(NULL) =3D 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=3DAF_NETLINK, pid=3D0, groups=3D00000000}, 12) =3D 20 > recvmsg(3, {msg_name(12)=3D{sa_family=3DAF_NETLINK, pid=3D0, groups=3D000= 00000}, > msg_iov(1)=3D[{"\344\0\0\0\20\0\2\0$\374\263D\262\24\0\0\0\0\4\3\1\0\0"..= ., > 16384}], msg_controllen=3D0, msg_flags=3D0}, 0) =3D 896 > brk(0) =3D 0x8053000 > brk(0x8074000) =3D 0x8074000 > brk(0) =3D 0x8074000 > recvmsg(3, {msg_name(12)=3D{sa_family=3DAF_NETLINK, pid=3D0, groups=3D000= 00000}, > msg_iov(1)=3D[{"\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=3D0, msg_flags=3D0}, 0) =3D 20 > sendmsg(3, {msg_name(12)=3D{sa_family=3DAF_NETLINK, pid=3D0, groups=3D000= 00000}, > msg_iov(1)=3D[{"\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=3D0, msg_flags=3D0}, 0) =3D 2180 > recvmsg(3, {msg_name(12)=3D{sa_family=3DAF_NETLINK, pid=3D0, groups=3D000= 00000}, > msg_iov(1)=3D[{"$\0\0\0\2\0\0\0%\374\263D\262\24\0\0\352\377\377\377\204"= ..., > 16384}], msg_controllen=3D0, msg_flags=3D0}, 0) =3D 36 > dup(2) =3D 4 > fcntl64(4, F_GETFL) =3D 0x2 (flags O_RDWR) > fstat64(4, {st_mode=3DS_IFCHR|0620, st_rdev=3Dmakedev(136, 1), ...}) =3D 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)= =3D > 0xb7f1b000 > _llseek(4, 0, 0xbf92b508, SEEK_CUR) =3D -1 ESPIPE (Illegal seek) > write(4, "RTNETLINK answers: Invalid argum"..., 36) =3D 36 > close(4) =3D 0 > munmap(0xb7f1b000, 4096) =3D 0 > exit_group(2) =3D ? >=20 > ------------------------------------------------------------------------- > 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 ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel --=20 James R. Leu jl...@mi... |