Thread: [mpls-linux-general] output: invalid ???
Status: Beta
Brought to you by:
jleu
|
From: hoangthanh19 <hoa...@sa...> - 2003-10-06 17:41:59
|
I have complied mplsadm2 successfully.
But when I run some example commands (on file mplsadm-usage), it fail =
and the output like this.
./mplsadm2 -A -l gen:16:0=20
-->Label Space:invalid
./mplsadm2 -A -O -0
-->key 0x00000000
Out Segment add : Invalid argument
./mplsadm2 -O 0x00000000 -o push:gen:eth0:ipv4:10.70.75.2
-->Out Instr: Invalid argument
And in the directory /proc/net/ there is not directory mpls_*.
I have one PC and one Ethernet Card (ip address 10.70.75.1). Do I have =
to install on 2 PC (connected) to run these command successfully? Or it =
was faild by another reason?
I don't know if I can find something like error log in mplsadm to find =
out the reason of these output error ?
Thanks you very much.
|
|
From: James R. L. <jl...@mi...> - 2003-10-06 18:02:57
|
On Tue, Oct 07, 2003 at 12:40:48AM +0700, hoangthanh19 wrote: > I have complied mplsadm2 successfully. > But when I run some example commands (on file mplsadm-usage), it fail and the output like this. > ./mplsadm2 -A -l gen:16:0 > -->Label Space:invalid > ./mplsadm2 -A -O -0 > -->key 0x00000000 > Out Segment add : Invalid argument > ./mplsadm2 -O 0x00000000 -o push:gen:eth0:ipv4:10.70.75.2 > -->Out Instr: Invalid argument I'm not sure where you got those commands but they are wrong. 'mplsadm2 -A -l gen:16:0' should be 'mplsadm2 -A -I gen:16:0' 'mplsadm2 -A -O -0' should be 'mplsadm2 -A -O 0' 'mplsadm2 -O 0x00000000 -o push:gen:eth0:ipv4:10.70.75.2' is correct execept you should have a non-zero key (the output from 'mplsadm2 -A -O 0') > And in the directory /proc/net/ there is not directory mpls_*. You're not running a MPLS enabled kernel. You MUST be running an MPLS enabled kernel. Compiling an MPLS enabled kernel is not enough. You must install and run an MPLS enabled kernel. Look at the previous e-mail I sent. > I have one PC and one Ethernet Card (ip address 10.70.75.1). Do I have to install on 2 PC (connected) to run these command successfully? Or it was faild by another reason? You will be able to execute these commands without a second machine. > I don't know if I can find something like error log in mplsadm to find out the reason of these output error ? As soon as you're running a MPLS enabled kernel you will be able to turn on MPLS kernel debugging (read the Debugging section at http://mpls-linux.sf.net/) > Thanks you very much. Just to make sure I am absolutly clear. If you do not have the files /proc/net/mpls_*, you are not running an MPLS enabled kernel. You need to be running an MPLS enabled kernel! -- James R. Leu jl...@mi... |
|
From: Vincent P. <pi...@ai...> - 2003-10-17 13:52:06
|
Hi all, I have been using mpls-linux for a few months now and I am quite satisfied with it. Like many people around I am trying different signaling protocols to establish LSPs over test networks. I am currently trying Atlantis rsvpte (I know it is an independant project) and use rsvpd.0.70-rcx. Recently I have tried to recompile it, first on a 2.4.22 and then on a 2.4.20 kernel, both mpls-enabled with the latest linux-kernel.diff patch picked on James' P4 server. Unfortunately compiling rsvp did not work in both cases. It appears to have problems with many files located in my /usr/include directory I see on the project page that you provide a glibc-kernheader rpm. I see also in your post of 2003-03-31 20:35 that you suggest this rpm should be used to re-compile MPLS utilities (like rsvpte, I assume). Well, my problem is that there no documentation in this source rpm, just a patch and a usr/include tree. When (before or after compiling the kernel) and where should I apply the patch (or copy the files) so that it works ? And if I succeed applying it, do you think it will help to solve my problem ? Thanks Vincent Pinel PS in case it may help I can provide the output of the failed compilation of rsvp. |
|
From: James R. L. <jl...@mi...> - 2003-10-19 21:07:05
|
You should, be able to get the i386 RPM for glibc-kernheader here: http://prdownloads.sourceforge.net/mpls-linux/glibc-kernheaders-2.4-7.20+mpls1.172.i386.rpm?download If that doesn't work send me the output from the failed compile. On Fri, Oct 17, 2003 at 03:42:51PM +0200, Vincent Pinel wrote: > Hi all, > > I have been using mpls-linux for a few months now and I am quite satisfied with it. > Like many people around I am trying different signaling protocols to establish LSPs over test networks. > > I am currently trying Atlantis rsvpte (I know it is an independant project) and use rsvpd.0.70-rcx. > Recently I have tried to recompile it, first on a 2.4.22 and then on a 2.4.20 kernel, both mpls-enabled with the latest linux-kernel.diff patch picked on James' P4 server. Unfortunately compiling rsvp did not work in both cases. It appears to have problems with many files located in my /usr/include directory > > I see on the project page that you provide a glibc-kernheader rpm. I see also in your post of 2003-03-31 20:35 that you suggest this rpm should be used to re-compile MPLS utilities (like rsvpte, I assume). > > Well, my problem is that there no documentation in this source rpm, just a patch and a usr/include tree. When (before or after compiling the kernel) and where should I apply the patch (or copy the files) so that it works ? And if I succeed applying it, do you think it will help to solve my problem ? > > Thanks > > Vincent Pinel > > PS in case it may help I can provide the output of the failed compilation of rsvp. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Vincent P. <pi...@ai...> - 2003-10-24 16:57:28
Attachments:
20031024_failed_rsvp_compilation.log
|
Hi again, Excuse me to bother you again about compiling RSVP. Enclosed, the result of the failed compilation. Sorry to ask again but rpm -ivv glibc-kernheaders-2.4-7.20+mpls1.172.i386.rpm does not install anything but sources and a patch. What should I do with them ? PS thanks Olivier, my gcc rc is 3.2.2. Considering recent posts on RSVP-TE mailing list, it seems possible to compile rsvp on 2.4.20 or 2.4.22. When starting back from the beginning I actually fail to compile iptables-1.2.4-dscp. If I just skip this step, go on compiling the kernel I then fail to compile rsvp-te after rebooting the new kernel. (see attached file) THX Vincent Le Sun, 19 Oct 2003 16:06:32 -0500 "James R. Leu" <jl...@mi...> a écrit : > You should, be able to get the i386 RPM for glibc-kernheader here: > > http://prdownloads.sourceforge.net/mpls-linux/glibc-kernheaders-2.4-7.20+mpls1.172.i386.rpm?download > > If that doesn't work send me the output from the failed compile. > > > On Fri, Oct 17, 2003 at 03:42:51PM +0200, Vincent Pinel wrote: > > Hi all, > > > > I have been using mpls-linux for a few months now and I am quite satisfied with it. > > Like many people around I am trying different signaling protocols to establish LSPs over test networks. > > > > I am currently trying Atlantis rsvpte (I know it is an independant project) and use rsvpd.0.70-rcx. > > Recently I have tried to recompile it, first on a 2.4.22 and then on a 2.4.20 kernel, both mpls-enabled with the latest linux-kernel.diff patch picked on James' P4 server. Unfortunately compiling rsvp did not work in both cases. It appears to have problems with many files located in my /usr/include directory > > > > I see on the project page that you provide a glibc-kernheader rpm. I see also in your post of 2003-03-31 20:35 that you suggest this rpm should be used to re-compile MPLS utilities (like rsvpte, I assume). > > > > Well, my problem is that there no documentation in this source rpm, just a patch and a usr/include tree. When (before or after compiling the kernel) and where should I apply the patch (or copy the files) so that it works ? And if I succeed applying it, do you think it will help to solve my problem ? > > > > Thanks > > > > Vincent Pinel > > > > PS in case it may help I can provide the output of the failed compilation of rsvp. > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > -- > James R. Leu > jl...@mi... > > > ------------------------------------------------------- > This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo > The Event For Linux Datacenter Solutions & Strategies in The Enterprise > Linux in the Boardroom; in the Front Office; & in the Server Room > http://www.enterpriselinuxforum.com > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > |