mpls-linux-general Mailing List for MPLS for Linux (Page 130)
Status: Beta
Brought to you by:
jleu
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(26) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(22) |
Feb
(19) |
Mar
(19) |
Apr
(45) |
May
(52) |
Jun
(101) |
Jul
(79) |
Aug
(24) |
Sep
(43) |
Oct
(54) |
Nov
(71) |
Dec
(53) |
2002 |
Jan
(111) |
Feb
(123) |
Mar
(67) |
Apr
(61) |
May
(75) |
Jun
(26) |
Jul
(36) |
Aug
(41) |
Sep
(79) |
Oct
(85) |
Nov
(58) |
Dec
(39) |
2003 |
Jan
(26) |
Feb
(61) |
Mar
(80) |
Apr
(56) |
May
(39) |
Jun
(44) |
Jul
(28) |
Aug
(25) |
Sep
(4) |
Oct
(20) |
Nov
(38) |
Dec
(9) |
2004 |
Jan
(14) |
Feb
(14) |
Mar
(68) |
Apr
(17) |
May
(45) |
Jun
(42) |
Jul
(41) |
Aug
(23) |
Sep
(46) |
Oct
(89) |
Nov
(55) |
Dec
(33) |
2005 |
Jan
(74) |
Feb
(39) |
Mar
(105) |
Apr
(96) |
May
(43) |
Jun
(48) |
Jul
(21) |
Aug
(22) |
Sep
(33) |
Oct
(28) |
Nov
(29) |
Dec
(81) |
2006 |
Jan
(37) |
Feb
(32) |
Mar
(147) |
Apr
(37) |
May
(33) |
Jun
(28) |
Jul
(15) |
Aug
(20) |
Sep
(15) |
Oct
(23) |
Nov
(30) |
Dec
(40) |
2007 |
Jan
(20) |
Feb
(24) |
Mar
(65) |
Apr
(69) |
May
(41) |
Jun
(53) |
Jul
(39) |
Aug
(76) |
Sep
(53) |
Oct
(43) |
Nov
(26) |
Dec
(24) |
2008 |
Jan
(19) |
Feb
(67) |
Mar
(91) |
Apr
(75) |
May
(47) |
Jun
(63) |
Jul
(68) |
Aug
(39) |
Sep
(44) |
Oct
(33) |
Nov
(62) |
Dec
(84) |
2009 |
Jan
(14) |
Feb
(39) |
Mar
(55) |
Apr
(63) |
May
(16) |
Jun
(9) |
Jul
(4) |
Aug
(6) |
Sep
(1) |
Oct
(2) |
Nov
(10) |
Dec
(5) |
2010 |
Jan
(3) |
Feb
(1) |
Mar
(5) |
Apr
(13) |
May
(4) |
Jun
(5) |
Jul
(2) |
Aug
(8) |
Sep
(6) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
2011 |
Jan
(1) |
Feb
(21) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(6) |
Sep
|
Oct
|
Nov
(2) |
Dec
(6) |
2012 |
Jan
(5) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(5) |
Aug
(3) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: James R. L. <jl...@mi...> - 2002-09-24 01:59:50
|
I have not used it over a sync interface yet. If you can run PPP over the interface, and you can use pppd to negotiate PPP capabilities. If so, then all you should need to do is use a MPLS enabled kernel and a patched version of pppd. Jim On Tue, Sep 24, 2002 at 02:45:10AM +0100, Leigh Porter wrote: > Hiya, > > Does anybody know if the MPLS code will forward MPLS over some of the > readily available (Linux supported) synch serial interfaces around such > as the > interfaces available from: > > http://www.farsite.co.uk/tcp_ip_ppp_x.21_v.35_pci_cards/farsync_x21_v35_card_Linux.htm > > ? > > Thanks, > Leigh Porter > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: Leigh P. <le...@bl...> - 2002-09-24 01:45:19
|
Hiya, Does anybody know if the MPLS code will forward MPLS over some of the readily available (Linux supported) synch serial interfaces around such as the interfaces available from: http://www.farsite.co.uk/tcp_ip_ppp_x.21_v.35_pci_cards/farsync_x21_v35_card_Linux.htm ? Thanks, Leigh Porter |
From: Miguel G. <mg...@fi...> - 2002-09-20 16:02:44
|
B means "bind", mplsadm -A -B -I gen:34:0 -O <key> means that you want to forward the packets coming with label 34 to the output with the key <key>. When you add an output (mplsadm -A -O 0) a key is returned, that is the key you have to use to refer to that output. You can see which key refers to which output in the file /proc/net/mpls_out. If you just want to recieve the packets (POP & PEEK) , do: mplsadm -A -I gen:34:0 You can see the inputs in /proc/net/mpls_in Best regards, Miguel. On Fri, 20 Sep 2002, Gilles Noutcha wrote: > Hi James, > I've run what u told me to do it seems to be good, there are no errors > messages in each function but the counter still doesn't increase. I > suppose it's working. Now I want just to understand these lines of > README's file. > > Establish label 34 in label space 0 > ----------------------------------- > > mplsadm -A -I gen:34:0 > | | | | | > | | | | label space > add | | | > | | label > | | > | generic label > | > incoming label > > (if you change the -A to -D you will delete the entry) > > Establish a label switch path > ----------------------------- > mplsadm -A -B -I gen:34:0 -O <key> > > Why should I add "-B" option? Which "<key>" is it? Where does it come > from? From the previous outgoing label match's hop? > Cheers, > Gilles > > > -----Original Message----- > From: James R. Leu [mailto:jl...@mi...] > Sent: 19 September 2002 02:52 > To: Gilles Noutcha > Cc: jl...@mi...; mpl...@li... > Subject: Re: [mpls-linux-general] Problem with MPLS > > It all looks good to me. Try turning on MPLS kernel debugging on > each of the boxes (mplsadm2 -d then look at your console log, or execute > dmesg) > > On Tue, Sep 17, 2002 at 04:27:46PM +0100, Gilles Noutcha wrote: > > Hi Jim & Co! > > That's how my network is (below).I've tried to setup MPLS trough ABC > > branch. All commands I've typed ( see Command's section) seem to work > > well. > > But the counter of all the host didn't increase. Help me please. > > Thanks in advance, > > Gilles. > > > > > > 192.168.33.1 192.168.33.49 > > (eth0) (eth1) (eth1) 192.168.33.62 > > A---------------------B---------------------C > > |(eth1) (eth0) | > > | 192.168.33.14 |(eth0)192.168.33.78 > > | | > > -------------------D-------------------- > > (eth1) (eth0)192.168.33.65 > > 192.168.33.30 > > > > On A: > > Eth0:192.168.33.1 > > Network(A-B):192.168.33.0/28 > > Range:...33.1 - ...33.14 > > Network(A-D):192.168.33.16/28 > > Range:...33.17 - ...33.30 > > On B: > > Eth0:192.168.33.14 > > Eth1:192.168.33.49 > > Network(B-C):192.168.33.48/28 > > Range:...33.49 - ...33.62 > > On C: > > Eth1:192.168.33.62 > > Eth0:192.168.33.78 > > Network(C-D):192.168.33.64/28 > > Range:...33.65 - ...33.78 > > Commands: > > ========= > > On A: > > ----- > > mplsadm2 -AO 0 -o push:gen:75:set:eth0:ipv4:192.168.33.14# returns > > <key1> > > ip route add 192.168.33.48/28 via 192.168.33.14 lsp <key1> > > mplsadm2 -AI gen:75:0 > > mplsadm2 -L eth0:0 > > > > On B: > > ----- > > *A toward C: > > +++++++++++ > > mplsadm2 -AI gen:75:0 > > mplsadm2 -A -O 0 returns <key2> > > mplsadm2 -O <key2> -o push:gen:75:set:eth1:ipv4:192.168.33.62 > > mplsadm2 -L eth1:0 > > > > *C toward A: > > +++++++++++ > > mplsadm2 -AI gen:76:0 > > mplsadm2 -A -O 0 returns <key3> > > mplsadm2 -O <key3> -o push:gen:76:set:eth0:ipv4:192.168.33.1 > > mplsadm2 -L eth0:0 > > > > On C: > > ----- > > mplsadm2 -AO 0 -o push:gen:76:set:eth1:ipv4:192.168.33.49# returns > > <key1> > > ip route add 192.168.33.0/28 via 192.168.33.49 lsp <key1> > > mplsadm2 -AI gen:75:0 > > mplsadm2 -L eth1:0 > > > > Content of files: > > ================= > > > > On A: > > ----- > > =========== > > more mps_* > > =========== > > :::::::::::::: > > mpls_in > > :::::::::::::: > > 0x40013000 0/0/0 gen 76 0 1 POP PEEK > > :::::::::::::: > > mpls_labelspace > > :::::::::::::: > > eth0 0 11 > > :::::::::::::: > > mpls_out > > :::::::::::::: > > 0x00000003 0/0/0 1 PUSH(gen 75) SET(eth0,192.168.33.14) > > :::::::::::::: > > mpls_tunnel > > :::::::::::::: > > ============== > > ip route show > > ============== > > 192.168.33.48/28 via 192.168.33.14 dev eth0 lsp 0x3 > > 192.168.33.16/28 dev eth1 proto kernel scope link metric 287418560 > > 192.168.33.0/28 dev eth0 proto kernel scope link metric 18983104 > > default via 192.168.33.14 dev eth0 > > > > > > On B: > > ----- > > =========== > > more mps_* > > =========== > > :::::::::::::: > > mpls_in > > :::::::::::::: > > 0x40012c00 0/0/0 gen 75 0 1 POP FWD(0x00000002) > > 0x40013000 0/0/0 gen 76 0 1 POP FWD(0x00000003) > > :::::::::::::: > > mpls_labelspace > > :::::::::::::: > > eth0 0 9 > > eth1 0 7 > > :::::::::::::: > > mpls_out > > :::::::::::::: > > 0x00000002 0/0/0 2 PUSH(gen 75) SET(eth1,192.168.33.62) > > 0x00000003 0/0/0 2 PUSH(gen 76) SET(eth0,192.168.33.1) > > :::::::::::::: > > mpls_tunnel > > :::::::::::::: > > > > > > On C: > > ----- > > =========== > > more mps_* > > =========== > > :::::::::::::: > > mpls_in > > :::::::::::::: > > 0x40012c00 0/0/0 gen 75 0 1 POP PEEK > > :::::::::::::: > > mpls_labelspace > > :::::::::::::: > > eth0 0 8 > > :::::::::::::: > > mpls_out > > :::::::::::::: > > 0x00000004 0/0/0 1 PUSH(gen 76) SET(eth1,192.168.33.49) > > :::::::::::::: > > mpls_tunnel > > :::::::::::::: > > ============== > > ip route show > > ============== > > 192.168.33.0/28 via 192.168.33.49 dev eth1 lsp 0x4 > > 192.168.33.48/28 dev eth1 proto kernel scope link metric 1042393200 > > 192.168.33.64/28 dev eth0 proto kernel scope link metric 1310828736 > > > > > > > > > > ------------------------------------------------------- > > Sponsored by: AMD - Your access to the experts on Hammer Technology! > > Open Source & Linux Developers, register now for the AMD Developer > > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > -- > James R. Leu > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > |
From: Gilles N. <gno...@ee...> - 2002-09-20 12:59:57
|
Hi James, I've run what u told me to do it seems to be good, there are no errors messages in each function but the counter still doesn't increase. I suppose it's working. Now I want just to understand these lines of README's file. Establish label 34 in label space 0 ----------------------------------- mplsadm -A -I gen:34:0 | | | | | | | | | label space add | | | | | label | | | generic label | incoming label (if you change the -A to -D you will delete the entry) Establish a label switch path ----------------------------- mplsadm -A -B -I gen:34:0 -O <key> Why should I add "-B" option? Which "<key>" is it? Where does it come from? From the previous outgoing label match's hop? Cheers, Gilles -----Original Message----- From: James R. Leu [mailto:jl...@mi...] Sent: 19 September 2002 02:52 To: Gilles Noutcha Cc: jl...@mi...; mpl...@li... Subject: Re: [mpls-linux-general] Problem with MPLS It all looks good to me. Try turning on MPLS kernel debugging on each of the boxes (mplsadm2 -d then look at your console log, or execute dmesg) On Tue, Sep 17, 2002 at 04:27:46PM +0100, Gilles Noutcha wrote: > Hi Jim & Co! > That's how my network is (below).I've tried to setup MPLS trough ABC > branch. All commands I've typed ( see Command's section) seem to work > well. > But the counter of all the host didn't increase. Help me please. > Thanks in advance, > Gilles. > > > 192.168.33.1 192.168.33.49 > (eth0) (eth1) (eth1) 192.168.33.62 > A---------------------B---------------------C > |(eth1) (eth0) | > | 192.168.33.14 |(eth0)192.168.33.78 > | | > -------------------D-------------------- > (eth1) (eth0)192.168.33.65 > 192.168.33.30 > > On A: > Eth0:192.168.33.1 > Network(A-B):192.168.33.0/28 > Range:...33.1 - ...33.14 > Network(A-D):192.168.33.16/28 > Range:...33.17 - ...33.30 > On B: > Eth0:192.168.33.14 > Eth1:192.168.33.49 > Network(B-C):192.168.33.48/28 > Range:...33.49 - ...33.62 > On C: > Eth1:192.168.33.62 > Eth0:192.168.33.78 > Network(C-D):192.168.33.64/28 > Range:...33.65 - ...33.78 > Commands: > ========= > On A: > ----- > mplsadm2 -AO 0 -o push:gen:75:set:eth0:ipv4:192.168.33.14# returns > <key1> > ip route add 192.168.33.48/28 via 192.168.33.14 lsp <key1> > mplsadm2 -AI gen:75:0 > mplsadm2 -L eth0:0 > > On B: > ----- > *A toward C: > +++++++++++ > mplsadm2 -AI gen:75:0 > mplsadm2 -A -O 0 returns <key2> > mplsadm2 -O <key2> -o push:gen:75:set:eth1:ipv4:192.168.33.62 > mplsadm2 -L eth1:0 > > *C toward A: > +++++++++++ > mplsadm2 -AI gen:76:0 > mplsadm2 -A -O 0 returns <key3> > mplsadm2 -O <key3> -o push:gen:76:set:eth0:ipv4:192.168.33.1 > mplsadm2 -L eth0:0 > > On C: > ----- > mplsadm2 -AO 0 -o push:gen:76:set:eth1:ipv4:192.168.33.49# returns > <key1> > ip route add 192.168.33.0/28 via 192.168.33.49 lsp <key1> > mplsadm2 -AI gen:75:0 > mplsadm2 -L eth1:0 > > Content of files: > ================= > > On A: > ----- > =========== > more mps_* > =========== > :::::::::::::: > mpls_in > :::::::::::::: > 0x40013000 0/0/0 gen 76 0 1 POP PEEK > :::::::::::::: > mpls_labelspace > :::::::::::::: > eth0 0 11 > :::::::::::::: > mpls_out > :::::::::::::: > 0x00000003 0/0/0 1 PUSH(gen 75) SET(eth0,192.168.33.14) > :::::::::::::: > mpls_tunnel > :::::::::::::: > ============== > ip route show > ============== > 192.168.33.48/28 via 192.168.33.14 dev eth0 lsp 0x3 > 192.168.33.16/28 dev eth1 proto kernel scope link metric 287418560 > 192.168.33.0/28 dev eth0 proto kernel scope link metric 18983104 > default via 192.168.33.14 dev eth0 > > > On B: > ----- > =========== > more mps_* > =========== > :::::::::::::: > mpls_in > :::::::::::::: > 0x40012c00 0/0/0 gen 75 0 1 POP FWD(0x00000002) > 0x40013000 0/0/0 gen 76 0 1 POP FWD(0x00000003) > :::::::::::::: > mpls_labelspace > :::::::::::::: > eth0 0 9 > eth1 0 7 > :::::::::::::: > mpls_out > :::::::::::::: > 0x00000002 0/0/0 2 PUSH(gen 75) SET(eth1,192.168.33.62) > 0x00000003 0/0/0 2 PUSH(gen 76) SET(eth0,192.168.33.1) > :::::::::::::: > mpls_tunnel > :::::::::::::: > > > On C: > ----- > =========== > more mps_* > =========== > :::::::::::::: > mpls_in > :::::::::::::: > 0x40012c00 0/0/0 gen 75 0 1 POP PEEK > :::::::::::::: > mpls_labelspace > :::::::::::::: > eth0 0 8 > :::::::::::::: > mpls_out > :::::::::::::: > 0x00000004 0/0/0 1 PUSH(gen 76) SET(eth1,192.168.33.49) > :::::::::::::: > mpls_tunnel > :::::::::::::: > ============== > ip route show > ============== > 192.168.33.0/28 via 192.168.33.49 dev eth1 lsp 0x4 > 192.168.33.48/28 dev eth1 proto kernel scope link metric 1042393200 > 192.168.33.64/28 dev eth0 proto kernel scope link metric 1310828736 > > > > > ------------------------------------------------------- > Sponsored by: AMD - Your access to the experts on Hammer Technology! > Open Source & Linux Developers, register now for the AMD Developer > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: James R. L. <jl...@mi...> - 2002-09-19 00:58:23
|
It all looks good to me. Try turning on MPLS kernel debugging on each of the boxes (mplsadm2 -d then look at your console log, or execute dmesg) On Tue, Sep 17, 2002 at 04:27:46PM +0100, Gilles Noutcha wrote: > Hi Jim & Co! > That's how my network is (below).I've tried to setup MPLS trough ABC > branch. All commands I've typed ( see Command's section) seem to work > well. > But the counter of all the host didn't increase. Help me please. > Thanks in advance, > Gilles. > > > 192.168.33.1 192.168.33.49 > (eth0) (eth1) (eth1) 192.168.33.62 > A---------------------B---------------------C > |(eth1) (eth0) | > | 192.168.33.14 |(eth0)192.168.33.78 > | | > -------------------D-------------------- > (eth1) (eth0)192.168.33.65 > 192.168.33.30 > > On A: > Eth0:192.168.33.1 > Network(A-B):192.168.33.0/28 > Range:...33.1 - ...33.14 > Network(A-D):192.168.33.16/28 > Range:...33.17 - ...33.30 > On B: > Eth0:192.168.33.14 > Eth1:192.168.33.49 > Network(B-C):192.168.33.48/28 > Range:...33.49 - ...33.62 > On C: > Eth1:192.168.33.62 > Eth0:192.168.33.78 > Network(C-D):192.168.33.64/28 > Range:...33.65 - ...33.78 > Commands: > ========= > On A: > ----- > mplsadm2 -AO 0 -o push:gen:75:set:eth0:ipv4:192.168.33.14# returns > <key1> > ip route add 192.168.33.48/28 via 192.168.33.14 lsp <key1> > mplsadm2 -AI gen:75:0 > mplsadm2 -L eth0:0 > > On B: > ----- > *A toward C: > +++++++++++ > mplsadm2 -AI gen:75:0 > mplsadm2 -A -O 0 returns <key2> > mplsadm2 -O <key2> -o push:gen:75:set:eth1:ipv4:192.168.33.62 > mplsadm2 -L eth1:0 > > *C toward A: > +++++++++++ > mplsadm2 -AI gen:76:0 > mplsadm2 -A -O 0 returns <key3> > mplsadm2 -O <key3> -o push:gen:76:set:eth0:ipv4:192.168.33.1 > mplsadm2 -L eth0:0 > > On C: > ----- > mplsadm2 -AO 0 -o push:gen:76:set:eth1:ipv4:192.168.33.49# returns > <key1> > ip route add 192.168.33.0/28 via 192.168.33.49 lsp <key1> > mplsadm2 -AI gen:75:0 > mplsadm2 -L eth1:0 > > Content of files: > ================= > > On A: > ----- > =========== > more mps_* > =========== > :::::::::::::: > mpls_in > :::::::::::::: > 0x40013000 0/0/0 gen 76 0 1 POP PEEK > :::::::::::::: > mpls_labelspace > :::::::::::::: > eth0 0 11 > :::::::::::::: > mpls_out > :::::::::::::: > 0x00000003 0/0/0 1 PUSH(gen 75) SET(eth0,192.168.33.14) > :::::::::::::: > mpls_tunnel > :::::::::::::: > ============== > ip route show > ============== > 192.168.33.48/28 via 192.168.33.14 dev eth0 lsp 0x3 > 192.168.33.16/28 dev eth1 proto kernel scope link metric 287418560 > 192.168.33.0/28 dev eth0 proto kernel scope link metric 18983104 > default via 192.168.33.14 dev eth0 > > > On B: > ----- > =========== > more mps_* > =========== > :::::::::::::: > mpls_in > :::::::::::::: > 0x40012c00 0/0/0 gen 75 0 1 POP FWD(0x00000002) > 0x40013000 0/0/0 gen 76 0 1 POP FWD(0x00000003) > :::::::::::::: > mpls_labelspace > :::::::::::::: > eth0 0 9 > eth1 0 7 > :::::::::::::: > mpls_out > :::::::::::::: > 0x00000002 0/0/0 2 PUSH(gen 75) SET(eth1,192.168.33.62) > 0x00000003 0/0/0 2 PUSH(gen 76) SET(eth0,192.168.33.1) > :::::::::::::: > mpls_tunnel > :::::::::::::: > > > On C: > ----- > =========== > more mps_* > =========== > :::::::::::::: > mpls_in > :::::::::::::: > 0x40012c00 0/0/0 gen 75 0 1 POP PEEK > :::::::::::::: > mpls_labelspace > :::::::::::::: > eth0 0 8 > :::::::::::::: > mpls_out > :::::::::::::: > 0x00000004 0/0/0 1 PUSH(gen 76) SET(eth1,192.168.33.49) > :::::::::::::: > mpls_tunnel > :::::::::::::: > ============== > ip route show > ============== > 192.168.33.0/28 via 192.168.33.49 dev eth1 lsp 0x4 > 192.168.33.48/28 dev eth1 proto kernel scope link metric 1042393200 > 192.168.33.64/28 dev eth0 proto kernel scope link metric 1310828736 > > > > > ------------------------------------------------------- > Sponsored by: AMD - Your access to the experts on Hammer Technology! > Open Source & Linux Developers, register now for the AMD Developer > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: James R. L. <jl...@mi...> - 2002-09-19 00:50:05
|
This looks like GREAT work. I will look more at it and see how I can integrate it. (it would be easier if it was build on mpls-linux-1.1x ;-) You should look into implementing the multicast via RSVP-TE draft in the RSVP-TE implementation found at: http://dsmpls.atlantis.rug.ac.be/ Jim On Tue, Sep 17, 2002 at 05:23:54PM -0400, Yvan Pointurier wrote: > Hi all, > > you might be interested in a new project which uses the MPLS-Linux > implementation: MPLS multicast Fast Reroute . > > http://www.cs.virginia.edu/~mngroup/projects/mpls/ > > Basically, I augmented MPLS-Linux with multicast capability and coded a > simple distribution protocol to support my multicast extensions. I > designed and coded a rerouting mechanism for MPLS multicast trees. I am > making this project public on this mailing list to see the interest in > such projects in the MPLS community. Also, I may be interested in trying > to merge this project with the main MPLS project, but I realize that there > are a certain number of obstacles to this (both technical and non > technical). Please let me know if you think a merge is doable - I am aware > that I am using a fairly old version of MPLS-Linux: 0.995. Currently, we > are working on a journal article. > > The documentation for this project is a bit sparse but part 5 of my MS > thesis describes the protocol I developped: please refer to > http://www.cs.virginia.edu/~mngroup/projects/mpls/documents.html for more > details. > > Again, please let me know if there is an interest in this project or even > an interest in seing this project (maybe only the MPLS multicast part ?) > be part of the MPLS-Linux effort ! > > Best regards, > > Yvan > ________________________________________________________________________ > Yvan Pointurier Department of Electrical > yv...@vi... and Computer Engineering > http://www.pointurier.org University of Virginia > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: AMD - Your access to the experts > on Hammer Technology! Open Source & Linux Developers, register now > for the AMD Developer Symposium. Code: EX8664 > http://www.developwithamd.com/developerlab > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: Alexandre C. <ale...@re...> - 2002-09-18 14:52:40
|
Sunny this is a common error, U have to comment that line and it will compile. Alex ----- Original Message ----- From: "Sunny Emmanuel" <mee...@ho...> To: <jl...@mi...> Cc: <luc...@ti...>; <mpl...@li...> Sent: Wednesday, September 18, 2002 11:08 AM Subject: [mpls-linux-general] problem compiling iproute2 > > Hi, > > I untared and unzipped iproute2-current.tar.gz and patched it with the > following command. > > iproute2]# patch -p1 < ../mpls-linux-1.1/patches/iproute2-mpls.diff > > i got the message and then the command prompt as follows: > > patching file ip/iptoute.c > iproute2]# > > When i run 'make' i get the following errors: > > ll_proto.c:36: 'ETH_P_ECHO' undeclated(not in a function) > ll_proto.c:36: initializer element is not constant > ll_proto.c:36: (near initializer element for 'llproto_names[1].id') > make[1]:***[ll_proto.o] Error 1 > make[1]:Leaving directory '/usr/src/iproute2/lib' > make:***[all] Error 2 > > Please tell me whts wrong and how to remove these errors. > > Thankz > > Sunny Emmanuel > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: AMD - Your access to the experts > on Hammer Technology! Open Source & Linux Developers, register now > for the AMD Developer Symposium. Code: EX8664 > http://www.developwithamd.com/developerlab > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |
From: Sunny E. <mee...@ho...> - 2002-09-18 14:08:29
|
Hi, I untared and unzipped iproute2-current.tar.gz and patched it with the following command. iproute2]# patch -p1 < ../mpls-linux-1.1/patches/iproute2-mpls.diff i got the message and then the command prompt as follows: patching file ip/iptoute.c iproute2]# When i run 'make' i get the following errors: ll_proto.c:36: 'ETH_P_ECHO' undeclated(not in a function) ll_proto.c:36: initializer element is not constant ll_proto.c:36: (near initializer element for 'llproto_names[1].id') make[1]:***[ll_proto.o] Error 1 make[1]:Leaving directory '/usr/src/iproute2/lib' make:***[all] Error 2 Please tell me whts wrong and how to remove these errors. Thankz Sunny Emmanuel _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
From: Yvan P. <yv...@vi...> - 2002-09-17 21:24:01
|
Hi all, you might be interested in a new project which uses the MPLS-Linux implementation: MPLS multicast Fast Reroute . http://www.cs.virginia.edu/~mngroup/projects/mpls/ Basically, I augmented MPLS-Linux with multicast capability and coded a simple distribution protocol to support my multicast extensions. I designed and coded a rerouting mechanism for MPLS multicast trees. I am making this project public on this mailing list to see the interest in such projects in the MPLS community. Also, I may be interested in trying to merge this project with the main MPLS project, but I realize that there are a certain number of obstacles to this (both technical and non technical). Please let me know if you think a merge is doable - I am aware that I am using a fairly old version of MPLS-Linux: 0.995. Currently, we are working on a journal article. The documentation for this project is a bit sparse but part 5 of my MS thesis describes the protocol I developped: please refer to http://www.cs.virginia.edu/~mngroup/projects/mpls/documents.html for more details. Again, please let me know if there is an interest in this project or even an interest in seing this project (maybe only the MPLS multicast part ?) be part of the MPLS-Linux effort ! Best regards, Yvan ________________________________________________________________________ Yvan Pointurier Department of Electrical yv...@vi... and Computer Engineering http://www.pointurier.org University of Virginia |
From: Gilles N. <gno...@ee...> - 2002-09-17 15:18:17
|
Hi Jim & Co! That's how my network is (below).I've tried to setup MPLS trough ABC branch. All commands I've typed ( see Command's section) seem to work well. But the counter of all the host didn't increase. Help me please. Thanks in advance, Gilles. 192.168.33.1 192.168.33.49 (eth0) (eth1) (eth1) 192.168.33.62 A---------------------B---------------------C |(eth1) (eth0) | | 192.168.33.14 |(eth0)192.168.33.78 | | -------------------D-------------------- (eth1) (eth0)192.168.33.65 192.168.33.30 On A: Eth0:192.168.33.1 Network(A-B):192.168.33.0/28 Range:...33.1 - ...33.14 Network(A-D):192.168.33.16/28 Range:...33.17 - ...33.30 On B: Eth0:192.168.33.14 Eth1:192.168.33.49 Network(B-C):192.168.33.48/28 Range:...33.49 - ...33.62 On C: Eth1:192.168.33.62 Eth0:192.168.33.78 Network(C-D):192.168.33.64/28 Range:...33.65 - ...33.78 Commands: ========= On A: ----- mplsadm2 -AO 0 -o push:gen:75:set:eth0:ipv4:192.168.33.14# returns <key1> ip route add 192.168.33.48/28 via 192.168.33.14 lsp <key1> mplsadm2 -AI gen:75:0 mplsadm2 -L eth0:0 On B: ----- *A toward C: +++++++++++ mplsadm2 -AI gen:75:0 mplsadm2 -A -O 0 returns <key2> mplsadm2 -O <key2> -o push:gen:75:set:eth1:ipv4:192.168.33.62 mplsadm2 -L eth1:0 *C toward A: +++++++++++ mplsadm2 -AI gen:76:0 mplsadm2 -A -O 0 returns <key3> mplsadm2 -O <key3> -o push:gen:76:set:eth0:ipv4:192.168.33.1 mplsadm2 -L eth0:0 On C: ----- mplsadm2 -AO 0 -o push:gen:76:set:eth1:ipv4:192.168.33.49# returns <key1> ip route add 192.168.33.0/28 via 192.168.33.49 lsp <key1> mplsadm2 -AI gen:75:0 mplsadm2 -L eth1:0 Content of files: ================= On A: ----- =========== more mps_* =========== :::::::::::::: mpls_in :::::::::::::: 0x40013000 0/0/0 gen 76 0 1 POP PEEK :::::::::::::: mpls_labelspace :::::::::::::: eth0 0 11 :::::::::::::: mpls_out :::::::::::::: 0x00000003 0/0/0 1 PUSH(gen 75) SET(eth0,192.168.33.14) :::::::::::::: mpls_tunnel :::::::::::::: ============== ip route show ============== 192.168.33.48/28 via 192.168.33.14 dev eth0 lsp 0x3 192.168.33.16/28 dev eth1 proto kernel scope link metric 287418560 192.168.33.0/28 dev eth0 proto kernel scope link metric 18983104 default via 192.168.33.14 dev eth0 On B: ----- =========== more mps_* =========== :::::::::::::: mpls_in :::::::::::::: 0x40012c00 0/0/0 gen 75 0 1 POP FWD(0x00000002) 0x40013000 0/0/0 gen 76 0 1 POP FWD(0x00000003) :::::::::::::: mpls_labelspace :::::::::::::: eth0 0 9 eth1 0 7 :::::::::::::: mpls_out :::::::::::::: 0x00000002 0/0/0 2 PUSH(gen 75) SET(eth1,192.168.33.62) 0x00000003 0/0/0 2 PUSH(gen 76) SET(eth0,192.168.33.1) :::::::::::::: mpls_tunnel :::::::::::::: On C: ----- =========== more mps_* =========== :::::::::::::: mpls_in :::::::::::::: 0x40012c00 0/0/0 gen 75 0 1 POP PEEK :::::::::::::: mpls_labelspace :::::::::::::: eth0 0 8 :::::::::::::: mpls_out :::::::::::::: 0x00000004 0/0/0 1 PUSH(gen 76) SET(eth1,192.168.33.49) :::::::::::::: mpls_tunnel :::::::::::::: ============== ip route show ============== 192.168.33.0/28 via 192.168.33.49 dev eth1 lsp 0x4 192.168.33.48/28 dev eth1 proto kernel scope link metric 1042393200 192.168.33.64/28 dev eth0 proto kernel scope link metric 1310828736 |
From: Gilles N. <gno...@ee...> - 2002-09-17 11:37:16
|
From: James R. L. <jl...@mi...> - 2002-09-17 11:22:59
|
README.ingress was a howto for ingress based policing. You can still do ingress based policing but I have not re-written the howto for this. If you are realy trying to do ingress based policing, figure out how to do it without MPLS and I can add the deftails of howto make it work with MPLS. What are you trying to do? If you are just trying to map traffic to an LSP you can use 1 of 3 metods. Modified iproute2, modified iptables, mpls tunnel interface. modified iproute2 (after you have patched and compiled iproute2): ip route add 1.1.1.0/24 via 2.2.2.2 lsp 0x2 modified iptables (after you have patched and compiled iptables): iptables -A OUTPUT -t mangle -d 1.1.1.0/24 -j --set-key 0x2 mpls tunnel inteface: mplsadm2 -A -T mpls0 mplsadm2 -A -T mpls0 -B -O 0x2 ifconfig mpls0 up ifconfig mpls0 0.0.0.0 route add -net 1.1.1.0/24 mpls0 In all of the above examples 0x2 is the index of an outlabel you have created. Jim BTW all of the above examples are in the documentation in either the pactches directory or in utils directory. On Tue, Sep 17, 2002 at 06:50:28AM +0000, Sunny Emmanuel wrote: > > Hi, > > I been able to make an mpls domain having 3 LSRs and 2 stub networks. Its > the same example that comes with yur previous patch i.e. mpls-linux-1.0 > (docs/README.ingress) I am following the same steps as mentioned by u but am > not been able to ping from Host A(10.1.1.2) to Host B(10.2.1.10). am using > linux-2.4.19 and mpls-linux-1.170. Further, the file README.ingress is not > present in mpls-linux-1.170. Pls tell me wht to do. Should i use > ldp-portable-0.200. Pls help me. > > I look forward for yur reply. > > Thankz > > Sunny Emmanuel > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > ------------------------------------------------------- > Sponsored by: AMD - Your access to the experts on Hammer Technology! > Open Source & Linux Developers, register now for the AMD Developer > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: James R. L. <jl...@mi...> - 2002-09-17 11:13:40
|
I suggest taking a step back, and seeing if you can build zebra (unpatched). If you have difficulties with that, send an e-mail to the zebra mailing list. They know better then I what the requirements for building zebra are. Jim On Mon, Sep 16, 2002 at 09:25:39PM -0300, Miguel Griot wrote: > > > On Sat, 14 Sep 2002, James R. Leu wrote: > > > What errors are you seeing on 7.3? > > > > Jim > > I've installed Red Hat 7.2 w/ gcc-2.96-98 and glibc-2.2.4-13 (that's what > comes with 7.2), but I still have the same problem, so I must be doing > something wrong, but I don't know what. I followed all the steps you > suggest in the README files. > I'm really stacked here, please help me. > Thanks, Miguel. > This is what I get when trying to compile zebra: > > [root@pampita zebra]# make > make all-recursive > make[1]: Cambiando a directorio `/usr/src/redhat/BUILD/zebra-0.93a' > Making all in lib > make[2]: Cambiando a directorio `/usr/src/redhat/BUILD/zebra-0.93a/lib' > source='vty.c' object='vty.o' libtool=no \ > depfile='.deps/vty.Po' tmpdepfile='.deps/vty.TPo' \ > depmode=gcc3 /bin/sh ../depcomp \ > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. > -I.. -I../lib -I/usr/src/linux/include -g -O2 -Wall -c `test -f 'vty.c' > || echo './'`vty.c > In file included from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/net/route.h:38:2: warning: #warning This file is > not supposed to be used outside of kernel. > In file included from /usr/src/linux/include/linux/netdevice.h:28, > from /usr/src/linux/include/net/mpls.h:6, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/linux/if.h:62: redefinition of `struct ifmap' > /usr/src/linux/include/linux/if.h:80: redefinition of `struct ifreq' > /usr/src/linux/include/linux/if.h:129: redefinition of `struct ifconf' > In file included from /usr/src/linux/include/linux/signal.h:4, > from /usr/src/linux/include/linux/sched.h:27, > from /usr/src/linux/include/linux/skbuff.h:19, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/asm/signal.h:27: conflicting types for `sigset_t' > /usr/include/sys/select.h:38: previous declaration of `sigset_t' > /usr/src/linux/include/asm/signal.h:129: warning: redefinition of > `__sighandler_t' > /usr/include/signal.h:71: warning: `__sighandler_t' previously declared > here > /usr/src/linux/include/asm/signal.h:156: redefinition of `struct > sigaction' > /usr/src/linux/include/asm/signal.h:171: redefinition of `struct > sigaltstack' > /usr/src/linux/include/asm/signal.h:175: warning: redefinition of > `stack_t' > /usr/include/bits/sigstack.h:55: warning: `stack_t' previously declared > here > In file included from /usr/src/linux/include/linux/signal.h:5, > from /usr/src/linux/include/linux/sched.h:27, > from /usr/src/linux/include/linux/skbuff.h:19, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/asm/siginfo.h:8: redefinition of `union sigval' > /usr/src/linux/include/asm/siginfo.h:11: warning: redefinition of > `sigval_t' > /usr/include/bits/siginfo.h:37: warning: `sigval_t' previously declared > here > /usr/src/linux/include/asm/siginfo.h:16: redefinition of `struct siginfo' > /usr/src/linux/include/asm/siginfo.h:63: warning: redefinition of > `siginfo_t' > /usr/include/bits/siginfo.h:107: warning: `siginfo_t' previously declared > here > /usr/src/linux/include/asm/siginfo.h:200: redefinition of `struct > sigevent' > /usr/src/linux/include/asm/siginfo.h:212: warning: redefinition of > `sigevent_t' > /usr/include/bits/siginfo.h:289: warning: `sigevent_t' previously declared > here > In file included from /usr/src/linux/include/linux/sched.h:83, > from /usr/src/linux/include/linux/skbuff.h:19, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/linux/time.h:9: redefinition of `struct timespec' > /usr/src/linux/include/linux/time.h:88: redefinition of `struct timeval' > /usr/src/linux/include/linux/time.h:93: redefinition of `struct timezone' > /usr/src/linux/include/linux/time.h:119: redefinition of `struct > itimerspec' > /usr/src/linux/include/linux/time.h:124: redefinition of `struct > itimerval' > In file included from /usr/src/linux/include/linux/sched.h:85, > from /usr/src/linux/include/linux/skbuff.h:19, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/linux/resource.h:21: redefinition of `struct > rusage' > /usr/src/linux/include/linux/resource.h:40: redefinition of `struct > rlimit' > In file included from /usr/src/linux/include/linux/sched.h:86, > from /usr/src/linux/include/linux/skbuff.h:19, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/linux/timer.h: In function `init_timer': > /usr/src/linux/include/linux/timer.h:47: request for member `next' in > something not a structure or union > /usr/src/linux/include/linux/timer.h:47: request for member `prev' in > something not a structure or union > /usr/src/linux/include/linux/timer.h: In function `timer_pending': > /usr/src/linux/include/linux/timer.h:52: request for member `next' in > something not a structure or union > /usr/src/linux/include/linux/timer.h:53: warning: control reaches end of > non-void function > In file included from /usr/src/linux/include/asm/pgalloc.h:6, > from /usr/src/linux/include/linux/highmem.h:5, > from /usr/src/linux/include/linux/skbuff.h:27, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/asm/fixmap.h: At top level: > /usr/src/linux/include/asm/fixmap.h:77: parse error before `pgprot_t' > In file included from /usr/src/linux/include/linux/highmem.h:5, > from /usr/src/linux/include/linux/skbuff.h:27, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/asm/pgalloc.h:59: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h:60: warning: return type defaults to > `int' > /usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_slow': > /usr/src/linux/include/asm/pgalloc.h:61: `pgd_t' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h:61: (Each undeclared identifier is > reported only once > /usr/src/linux/include/asm/pgalloc.h:61: for each function it appears in.) > /usr/src/linux/include/asm/pgalloc.h:61: `pgd' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h:61: parse error before `)' > /usr/src/linux/include/asm/pgalloc.h:64: `USER_PTRS_PER_PGD' undeclared > (first use in this function) > /usr/src/linux/include/asm/pgalloc.h:66: `swapper_pg_dir' undeclared > (first use in this function) > /usr/src/linux/include/asm/pgalloc.h:67: `PTRS_PER_PGD' undeclared (first > use in this function) > /usr/src/linux/include/asm/pgalloc.h:70: warning: control reaches end of > non-void function > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:74: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h:75: warning: return type defaults to > `int' > /usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_fast': > /usr/src/linux/include/asm/pgalloc.h:84: `pgd_t' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h:84: parse error before `)' > /usr/src/linux/include/asm/pgalloc.h:85: warning: control reaches end of > non-void function > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:87: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h: In function `free_pgd_fast': > /usr/src/linux/include/asm/pgalloc.h:89: `pgd' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:94: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h: In function `free_pgd_slow': > /usr/src/linux/include/asm/pgalloc.h:103: warning: implicit declaration of > function `free_page' > /usr/src/linux/include/asm/pgalloc.h:103: `pgd' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:107: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h:108: warning: return type defaults to > `int' > /usr/src/linux/include/asm/pgalloc.h: In function `pte_alloc_one': > /usr/src/linux/include/asm/pgalloc.h:109: `pte_t' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h:109: `pte' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h:109: invalid lvalue in assignment > /usr/src/linux/include/asm/pgalloc.h:110: parse error before `int' > /usr/src/linux/include/asm/pgalloc.h:113: parse error before `)' > /usr/src/linux/include/asm/pgalloc.h:115: warning: implicit declaration of > function `clear_page' > /usr/src/linux/include/asm/pgalloc.h:117: warning: implicit declaration of > function `schedule_timeout' > /usr/src/linux/include/asm/pgalloc.h:118: `count' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h:120: warning: control reaches end of > non-void function > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:122: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h:124: warning: return type defaults to > `int' > /usr/src/linux/include/asm/pgalloc.h: In function `pte_alloc_one_fast': > /usr/src/linux/include/asm/pgalloc.h:132: `pte_t' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h:132: parse error before `)' > /usr/src/linux/include/asm/pgalloc.h:133: warning: control reaches end of > non-void function > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:135: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h: In function `pte_free_slow': > /usr/src/linux/include/asm/pgalloc.h:137: `pte' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:141: parse error before `*' > /usr/src/linux/include/asm/pgalloc.h: In function `pte_free_fast': > /usr/src/linux/include/asm/pgalloc.h:144: `pte' undeclared (first use in > this function) > /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_mm': > /usr/src/linux/include/asm/pgalloc.h:192: `current' undeclared (first use > in this function) > /usr/src/linux/include/asm/pgalloc.h:193: warning: implicit declaration of > function `__flush_tlb' > /usr/src/linux/include/asm/pgalloc.h: At top level: > /usr/src/linux/include/asm/pgalloc.h:197: warning: `struct vm_area_struct' > declared inside parameter list > /usr/src/linux/include/asm/pgalloc.h:197: warning: its scope is only this > definition or declaration, which is probably not what you want. > /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page': > /usr/src/linux/include/asm/pgalloc.h:199: dereferencing pointer to > incomplete type > /usr/src/linux/include/asm/pgalloc.h:199: `current' undeclared (first use > in this function) > /usr/src/linux/include/asm/pgalloc.h:200: warning: implicit declaration of > function `__flush_tlb_one' > /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_range': > /usr/src/linux/include/asm/pgalloc.h:206: `current' undeclared (first use > in this function) > In file included from /usr/src/linux/include/linux/skbuff.h:27, > from /usr/src/linux/include/net/mpls.h:7, > from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/linux/highmem.h: In function `bh_kmap': > /usr/src/linux/include/linux/highmem.h:20: warning: implicit declaration > of function `kmap' > /usr/src/linux/include/linux/highmem.h:20: dereferencing pointer to > incomplete type > /usr/src/linux/include/linux/highmem.h:20: warning: implicit declaration > of function `bh_offset' > /usr/src/linux/include/linux/highmem.h:20: warning: return makes pointer > from integer without a cast > /usr/src/linux/include/linux/highmem.h: In function `bh_kunmap': > /usr/src/linux/include/linux/highmem.h:25: warning: implicit declaration > of function `kunmap' > /usr/src/linux/include/linux/highmem.h:25: dereferencing pointer to > incomplete type > /usr/src/linux/include/linux/highmem.h: In function `bh_kmap_irq': > /usr/src/linux/include/linux/highmem.h:41: warning: implicit declaration > of function `PageHighMem' > /usr/src/linux/include/linux/highmem.h:41: dereferencing pointer to > incomplete type > /usr/src/linux/include/linux/highmem.h:42: dereferencing pointer to > incomplete type > /usr/src/linux/include/linux/highmem.h:48: warning: implicit declaration > of function `kmap_atomic' > /usr/src/linux/include/linux/highmem.h:48: dereferencing pointer to > incomplete type > /usr/src/linux/include/linux/highmem.h:51: warning: implicit declaration > of function `BUG' > /usr/src/linux/include/linux/highmem.h: In function `bh_kunmap_irq': > /usr/src/linux/include/linux/highmem.h:60: warning: implicit declaration > of function `kunmap_atomic' > /usr/src/linux/include/linux/highmem.h: In function `clear_user_highpage': > /usr/src/linux/include/linux/highmem.h:85: warning: initialization makes > pointer from integer without a cast > /usr/src/linux/include/linux/highmem.h:86: warning: implicit declaration > of function `clear_user_page' > /usr/src/linux/include/linux/highmem.h: In function > `memclear_highpage_flush': > /usr/src/linux/include/linux/highmem.h:105: warning: assignment makes > pointer from integer without a cast > /usr/src/linux/include/linux/highmem.h:107: warning: implicit declaration > of function `flush_dcache_page' > /usr/src/linux/include/linux/highmem.h:108: warning: implicit declaration > of function `flush_page_to_ram' > /usr/src/linux/include/linux/highmem.h: In function `copy_user_highpage': > /usr/src/linux/include/linux/highmem.h:116: warning: assignment makes > pointer from integer without a cast > /usr/src/linux/include/linux/highmem.h:117: warning: assignment makes > pointer from integer without a cast > /usr/src/linux/include/linux/highmem.h:118: warning: implicit declaration > of function `copy_user_page' > In file included from /usr/src/linux/include/net/dst.h:14, > from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/net/mpls.h: At top level: > /usr/src/linux/include/net/mpls.h:352: warning: `struct packet_type' > declared inside parameter list > /usr/src/linux/include/net/mpls.h:358: parse error before > `mpls_opcode_pop' > /usr/src/linux/include/net/mpls.h:358: warning: type defaults to `int' in > declaration of `mpls_opcode_pop' > /usr/src/linux/include/net/mpls.h:358: warning: data definition has no > type or storage class > /usr/src/linux/include/net/mpls.h:361: warning: `struct packet_type' > declared inside parameter list > /usr/src/linux/include/net/mpls.h:369: warning: parameter names (without > types) in function declaration > /usr/src/linux/include/net/mpls.h:386: parse error before `u32' > In file included from /usr/src/linux/include/net/route.h:28, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/net/dst.h:91: parse error before `kmem_cache_t' > /usr/src/linux/include/net/dst.h:91: warning: no semicolon at end of > struct or union > In file included from /usr/src/linux/include/net/route.h:29, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/net/inetpeer.h: In function `inet_putpeer': > /usr/src/linux/include/net/inetpeer.h:43: warning: implicit declaration of > function `local_bh_disable' > /usr/src/linux/include/net/inetpeer.h:49: `jiffies' undeclared (first use > in this function) > /usr/src/linux/include/net/inetpeer.h:51: warning: implicit declaration of > function `local_bh_enable' > In file included from /usr/src/linux/include/net/route.h:30, > from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/linux/ip.h: At top level: > /usr/src/linux/include/linux/ip.h:116: redefinition of `struct iphdr' > In file included from zebra.h:118, > from vty.c:23: > /usr/src/linux/include/net/route.h:120: parse error before `old_gw' > /usr/src/linux/include/net/route.h:125: parse error before `u32' > /usr/src/linux/include/net/route.h:130: parse error before `addr' > /usr/src/linux/include/net/route.h:133: parse error before `*' > /usr/src/linux/include/net/route.h:134: warning: `struct netlink_callback' > declared inside parameter list > /usr/src/linux/include/net/route.h:138: parse error before `u32' > /usr/src/linux/include/net/route.h: In function `ip_route_output': > /usr/src/linux/include/net/route.h:140: `daddr' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:140: `saddr' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:140: `oif' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:140: `tos' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:142: `rp' undeclared (first use in this > function) > /usr/src/linux/include/net/route.h: In function `ip_rt_put': > /usr/src/linux/include/net/route.h:149: warning: implicit declaration of > function `dst_release' > /usr/src/linux/include/net/route.h: At top level: > /usr/src/linux/include/net/route.h:156: parse error before `tos' > /usr/src/linux/include/net/route.h: In function `rt_tos2priority': > /usr/src/linux/include/net/route.h:158: `tos' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:159: warning: control reaches end of > non-void function > /usr/src/linux/include/net/route.h: At top level: > /usr/src/linux/include/net/route.h:161: parse error before `u32' > /usr/src/linux/include/net/route.h: In function `ip_route_connect': > /usr/src/linux/include/net/route.h:164: `rp' undeclared (first use in this > function) > /usr/src/linux/include/net/route.h:164: `dst' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:164: `src' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:164: `tos' undeclared (first use in > this function) > /usr/src/linux/include/net/route.h:164: `oif' undeclared (first use in > this function) > > > > > > > > > > On Fri, Sep 13, 2002 at 10:00:41PM -0300, Miguel Griot wrote: > > > > > > I now have: > > > Red Hat 7.3 > > > glibc-2.2.4-13 > > > gcc-2.96-81 > > > but still not working. > > > Alexandre Carlos told me that he had the same problem with Red Hat 7.3, > > > but it > > > worked properly on 7.2, you are using 6.2. > > > Could be that the problem? and why? > > > Should I change to Red Hat 7.2? > > > Thanks, Miguel. > > > > > > On Fri, 13 Sep 2002, James R. Leu wrote: > > > > > > > I bet your question about glibc 2.0 is the correct one to ask. > > > > > > > > I use: > > > > > > > > Red Hat 6.2 w/ > > > > glibc-2.2.4-13 > > > > gcc-2.96-81 > > > > > > > > try updating your glibc and see if that helps. > > > > > > > > Jim > > > > > > > > > > > > On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > > > > > Hi Jim, > > > > > I'm almost sure that the zebra make file is point to my mpls-linux enabled > > > > > kernel. > > > > > Here's what I think is the problem: > > > > > list_head is defined in /usr/src/linux/include/linux/list. > > > > > strust list_head { > > > > > struct list_head *next, *prev; > > > > > }; > > > > > I think that the problem is that in timer.h, 'list' is declared as: > > > > > struct list_head list; > > > > > when it should be: struct list_head *list; > > > > > Perhaps your gcc interpretes it properly. My version is 2.96, what's > > > > > yours? > > > > > When I correct it, it works but I get another error, > > > > > it seems that u32 (which appears in mpls.h)is not defined, I believe > > > > > (correct me if I'm wrong) that > > > > > it is supposed to be an unsigned integer, (I've got guint32 defined in > > > > > glibconfig.h). The version of gclib I have is 2.0. Maybe it is too old. > > > > > What version are you using? > > > > > Could that be the problem? > > > > > Thanks, > > > > > Miguel. > > > > > > > > > > > > > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > > > > > > > > > Make sure the zebra make file is point to you mpls-linux enabled kernel source. > > > > > > > > > > > > Btw what version of glibc and gcc do you have? > > > > > > > > > > > > Jim > > > > > > > > > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > > > > > Hi, > > > > > > > We are trying to install ldp-portable-0.200. We've already installed > > > > > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > > > > > The problem is that, after patching zebra-0.93a, when we try to compile > > > > > > > it, it gives us this error message: > > > > > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > > > > > /usr/src/linux/timer.h:21: confused by earlier errors, bailing out > > > > > > > make[2]:*** [vty.o] Error 1 > > > > > > > make[1]:*** [all-recursive] Error 1 > > > > > > > > > > > > > > list is defined as a list_head which is defined in linux/list.h. > > > > > > > > > > > > > > We will appreciate any help. > > > > > > > Thank you, > > > > > > > > > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > > Welcome to geek heaven. > > > > > > > http://thinkgeek.com/sf > > > > > > > _______________________________________________ > > > > > > > mpls-linux-general mailing list > > > > > > > mpl...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > -- > > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > mpls-linux-general mailing list > > > > > mpl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > -- > > > > James R. Leu > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > -- > > James R. Leu > > > > > > ------------------------------------------------------- > Sponsored by: AMD - Your access to the experts on Hammer Technology! > Open Source & Linux Developers, register now for the AMD Developer > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: Sunny E. <mee...@ho...> - 2002-09-17 06:50:53
|
Hi, I been able to make an mpls domain having 3 LSRs and 2 stub networks. Its the same example that comes with yur previous patch i.e. mpls-linux-1.0 (docs/README.ingress) I am following the same steps as mentioned by u but am not been able to ping from Host A(10.1.1.2) to Host B(10.2.1.10). am using linux-2.4.19 and mpls-linux-1.170. Further, the file README.ingress is not present in mpls-linux-1.170. Pls tell me wht to do. Should i use ldp-portable-0.200. Pls help me. I look forward for yur reply. Thankz Sunny Emmanuel _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
From: Miguel G. <mg...@fi...> - 2002-09-17 00:25:56
|
On Sat, 14 Sep 2002, James R. Leu wrote: > What errors are you seeing on 7.3? > > Jim I've installed Red Hat 7.2 w/ gcc-2.96-98 and glibc-2.2.4-13 (that's what comes with 7.2), but I still have the same problem, so I must be doing something wrong, but I don't know what. I followed all the steps you suggest in the README files. I'm really stacked here, please help me. Thanks, Miguel. This is what I get when trying to compile zebra: [root@pampita zebra]# make make all-recursive make[1]: Cambiando a directorio `/usr/src/redhat/BUILD/zebra-0.93a' Making all in lib make[2]: Cambiando a directorio `/usr/src/redhat/BUILD/zebra-0.93a/lib' source='vty.c' object='vty.o' libtool=no \ depfile='.deps/vty.Po' tmpdepfile='.deps/vty.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/src/linux/include -g -O2 -Wall -c `test -f 'vty.c' || echo './'`vty.c In file included from zebra.h:118, from vty.c:23: /usr/src/linux/include/net/route.h:38:2: warning: #warning This file is not supposed to be used outside of kernel. In file included from /usr/src/linux/include/linux/netdevice.h:28, from /usr/src/linux/include/net/mpls.h:6, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/linux/if.h:62: redefinition of `struct ifmap' /usr/src/linux/include/linux/if.h:80: redefinition of `struct ifreq' /usr/src/linux/include/linux/if.h:129: redefinition of `struct ifconf' In file included from /usr/src/linux/include/linux/signal.h:4, from /usr/src/linux/include/linux/sched.h:27, from /usr/src/linux/include/linux/skbuff.h:19, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/asm/signal.h:27: conflicting types for `sigset_t' /usr/include/sys/select.h:38: previous declaration of `sigset_t' /usr/src/linux/include/asm/signal.h:129: warning: redefinition of `__sighandler_t' /usr/include/signal.h:71: warning: `__sighandler_t' previously declared here /usr/src/linux/include/asm/signal.h:156: redefinition of `struct sigaction' /usr/src/linux/include/asm/signal.h:171: redefinition of `struct sigaltstack' /usr/src/linux/include/asm/signal.h:175: warning: redefinition of `stack_t' /usr/include/bits/sigstack.h:55: warning: `stack_t' previously declared here In file included from /usr/src/linux/include/linux/signal.h:5, from /usr/src/linux/include/linux/sched.h:27, from /usr/src/linux/include/linux/skbuff.h:19, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/asm/siginfo.h:8: redefinition of `union sigval' /usr/src/linux/include/asm/siginfo.h:11: warning: redefinition of `sigval_t' /usr/include/bits/siginfo.h:37: warning: `sigval_t' previously declared here /usr/src/linux/include/asm/siginfo.h:16: redefinition of `struct siginfo' /usr/src/linux/include/asm/siginfo.h:63: warning: redefinition of `siginfo_t' /usr/include/bits/siginfo.h:107: warning: `siginfo_t' previously declared here /usr/src/linux/include/asm/siginfo.h:200: redefinition of `struct sigevent' /usr/src/linux/include/asm/siginfo.h:212: warning: redefinition of `sigevent_t' /usr/include/bits/siginfo.h:289: warning: `sigevent_t' previously declared here In file included from /usr/src/linux/include/linux/sched.h:83, from /usr/src/linux/include/linux/skbuff.h:19, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/linux/time.h:9: redefinition of `struct timespec' /usr/src/linux/include/linux/time.h:88: redefinition of `struct timeval' /usr/src/linux/include/linux/time.h:93: redefinition of `struct timezone' /usr/src/linux/include/linux/time.h:119: redefinition of `struct itimerspec' /usr/src/linux/include/linux/time.h:124: redefinition of `struct itimerval' In file included from /usr/src/linux/include/linux/sched.h:85, from /usr/src/linux/include/linux/skbuff.h:19, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/linux/resource.h:21: redefinition of `struct rusage' /usr/src/linux/include/linux/resource.h:40: redefinition of `struct rlimit' In file included from /usr/src/linux/include/linux/sched.h:86, from /usr/src/linux/include/linux/skbuff.h:19, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/linux/timer.h: In function `init_timer': /usr/src/linux/include/linux/timer.h:47: request for member `next' in something not a structure or union /usr/src/linux/include/linux/timer.h:47: request for member `prev' in something not a structure or union /usr/src/linux/include/linux/timer.h: In function `timer_pending': /usr/src/linux/include/linux/timer.h:52: request for member `next' in something not a structure or union /usr/src/linux/include/linux/timer.h:53: warning: control reaches end of non-void function In file included from /usr/src/linux/include/asm/pgalloc.h:6, from /usr/src/linux/include/linux/highmem.h:5, from /usr/src/linux/include/linux/skbuff.h:27, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/asm/fixmap.h: At top level: /usr/src/linux/include/asm/fixmap.h:77: parse error before `pgprot_t' In file included from /usr/src/linux/include/linux/highmem.h:5, from /usr/src/linux/include/linux/skbuff.h:27, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/asm/pgalloc.h:59: parse error before `*' /usr/src/linux/include/asm/pgalloc.h:60: warning: return type defaults to `int' /usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_slow': /usr/src/linux/include/asm/pgalloc.h:61: `pgd_t' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:61: (Each undeclared identifier is reported only once /usr/src/linux/include/asm/pgalloc.h:61: for each function it appears in.) /usr/src/linux/include/asm/pgalloc.h:61: `pgd' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:61: parse error before `)' /usr/src/linux/include/asm/pgalloc.h:64: `USER_PTRS_PER_PGD' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:66: `swapper_pg_dir' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:67: `PTRS_PER_PGD' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:70: warning: control reaches end of non-void function /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:74: parse error before `*' /usr/src/linux/include/asm/pgalloc.h:75: warning: return type defaults to `int' /usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_fast': /usr/src/linux/include/asm/pgalloc.h:84: `pgd_t' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:84: parse error before `)' /usr/src/linux/include/asm/pgalloc.h:85: warning: control reaches end of non-void function /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:87: parse error before `*' /usr/src/linux/include/asm/pgalloc.h: In function `free_pgd_fast': /usr/src/linux/include/asm/pgalloc.h:89: `pgd' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:94: parse error before `*' /usr/src/linux/include/asm/pgalloc.h: In function `free_pgd_slow': /usr/src/linux/include/asm/pgalloc.h:103: warning: implicit declaration of function `free_page' /usr/src/linux/include/asm/pgalloc.h:103: `pgd' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:107: parse error before `*' /usr/src/linux/include/asm/pgalloc.h:108: warning: return type defaults to `int' /usr/src/linux/include/asm/pgalloc.h: In function `pte_alloc_one': /usr/src/linux/include/asm/pgalloc.h:109: `pte_t' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:109: `pte' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:109: invalid lvalue in assignment /usr/src/linux/include/asm/pgalloc.h:110: parse error before `int' /usr/src/linux/include/asm/pgalloc.h:113: parse error before `)' /usr/src/linux/include/asm/pgalloc.h:115: warning: implicit declaration of function `clear_page' /usr/src/linux/include/asm/pgalloc.h:117: warning: implicit declaration of function `schedule_timeout' /usr/src/linux/include/asm/pgalloc.h:118: `count' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:120: warning: control reaches end of non-void function /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:122: parse error before `*' /usr/src/linux/include/asm/pgalloc.h:124: warning: return type defaults to `int' /usr/src/linux/include/asm/pgalloc.h: In function `pte_alloc_one_fast': /usr/src/linux/include/asm/pgalloc.h:132: `pte_t' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:132: parse error before `)' /usr/src/linux/include/asm/pgalloc.h:133: warning: control reaches end of non-void function /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:135: parse error before `*' /usr/src/linux/include/asm/pgalloc.h: In function `pte_free_slow': /usr/src/linux/include/asm/pgalloc.h:137: `pte' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:141: parse error before `*' /usr/src/linux/include/asm/pgalloc.h: In function `pte_free_fast': /usr/src/linux/include/asm/pgalloc.h:144: `pte' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_mm': /usr/src/linux/include/asm/pgalloc.h:192: `current' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:193: warning: implicit declaration of function `__flush_tlb' /usr/src/linux/include/asm/pgalloc.h: At top level: /usr/src/linux/include/asm/pgalloc.h:197: warning: `struct vm_area_struct' declared inside parameter list /usr/src/linux/include/asm/pgalloc.h:197: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page': /usr/src/linux/include/asm/pgalloc.h:199: dereferencing pointer to incomplete type /usr/src/linux/include/asm/pgalloc.h:199: `current' undeclared (first use in this function) /usr/src/linux/include/asm/pgalloc.h:200: warning: implicit declaration of function `__flush_tlb_one' /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_range': /usr/src/linux/include/asm/pgalloc.h:206: `current' undeclared (first use in this function) In file included from /usr/src/linux/include/linux/skbuff.h:27, from /usr/src/linux/include/net/mpls.h:7, from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/linux/highmem.h: In function `bh_kmap': /usr/src/linux/include/linux/highmem.h:20: warning: implicit declaration of function `kmap' /usr/src/linux/include/linux/highmem.h:20: dereferencing pointer to incomplete type /usr/src/linux/include/linux/highmem.h:20: warning: implicit declaration of function `bh_offset' /usr/src/linux/include/linux/highmem.h:20: warning: return makes pointer from integer without a cast /usr/src/linux/include/linux/highmem.h: In function `bh_kunmap': /usr/src/linux/include/linux/highmem.h:25: warning: implicit declaration of function `kunmap' /usr/src/linux/include/linux/highmem.h:25: dereferencing pointer to incomplete type /usr/src/linux/include/linux/highmem.h: In function `bh_kmap_irq': /usr/src/linux/include/linux/highmem.h:41: warning: implicit declaration of function `PageHighMem' /usr/src/linux/include/linux/highmem.h:41: dereferencing pointer to incomplete type /usr/src/linux/include/linux/highmem.h:42: dereferencing pointer to incomplete type /usr/src/linux/include/linux/highmem.h:48: warning: implicit declaration of function `kmap_atomic' /usr/src/linux/include/linux/highmem.h:48: dereferencing pointer to incomplete type /usr/src/linux/include/linux/highmem.h:51: warning: implicit declaration of function `BUG' /usr/src/linux/include/linux/highmem.h: In function `bh_kunmap_irq': /usr/src/linux/include/linux/highmem.h:60: warning: implicit declaration of function `kunmap_atomic' /usr/src/linux/include/linux/highmem.h: In function `clear_user_highpage': /usr/src/linux/include/linux/highmem.h:85: warning: initialization makes pointer from integer without a cast /usr/src/linux/include/linux/highmem.h:86: warning: implicit declaration of function `clear_user_page' /usr/src/linux/include/linux/highmem.h: In function `memclear_highpage_flush': /usr/src/linux/include/linux/highmem.h:105: warning: assignment makes pointer from integer without a cast /usr/src/linux/include/linux/highmem.h:107: warning: implicit declaration of function `flush_dcache_page' /usr/src/linux/include/linux/highmem.h:108: warning: implicit declaration of function `flush_page_to_ram' /usr/src/linux/include/linux/highmem.h: In function `copy_user_highpage': /usr/src/linux/include/linux/highmem.h:116: warning: assignment makes pointer from integer without a cast /usr/src/linux/include/linux/highmem.h:117: warning: assignment makes pointer from integer without a cast /usr/src/linux/include/linux/highmem.h:118: warning: implicit declaration of function `copy_user_page' In file included from /usr/src/linux/include/net/dst.h:14, from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/net/mpls.h: At top level: /usr/src/linux/include/net/mpls.h:352: warning: `struct packet_type' declared inside parameter list /usr/src/linux/include/net/mpls.h:358: parse error before `mpls_opcode_pop' /usr/src/linux/include/net/mpls.h:358: warning: type defaults to `int' in declaration of `mpls_opcode_pop' /usr/src/linux/include/net/mpls.h:358: warning: data definition has no type or storage class /usr/src/linux/include/net/mpls.h:361: warning: `struct packet_type' declared inside parameter list /usr/src/linux/include/net/mpls.h:369: warning: parameter names (without types) in function declaration /usr/src/linux/include/net/mpls.h:386: parse error before `u32' In file included from /usr/src/linux/include/net/route.h:28, from zebra.h:118, from vty.c:23: /usr/src/linux/include/net/dst.h:91: parse error before `kmem_cache_t' /usr/src/linux/include/net/dst.h:91: warning: no semicolon at end of struct or union In file included from /usr/src/linux/include/net/route.h:29, from zebra.h:118, from vty.c:23: /usr/src/linux/include/net/inetpeer.h: In function `inet_putpeer': /usr/src/linux/include/net/inetpeer.h:43: warning: implicit declaration of function `local_bh_disable' /usr/src/linux/include/net/inetpeer.h:49: `jiffies' undeclared (first use in this function) /usr/src/linux/include/net/inetpeer.h:51: warning: implicit declaration of function `local_bh_enable' In file included from /usr/src/linux/include/net/route.h:30, from zebra.h:118, from vty.c:23: /usr/src/linux/include/linux/ip.h: At top level: /usr/src/linux/include/linux/ip.h:116: redefinition of `struct iphdr' In file included from zebra.h:118, from vty.c:23: /usr/src/linux/include/net/route.h:120: parse error before `old_gw' /usr/src/linux/include/net/route.h:125: parse error before `u32' /usr/src/linux/include/net/route.h:130: parse error before `addr' /usr/src/linux/include/net/route.h:133: parse error before `*' /usr/src/linux/include/net/route.h:134: warning: `struct netlink_callback' declared inside parameter list /usr/src/linux/include/net/route.h:138: parse error before `u32' /usr/src/linux/include/net/route.h: In function `ip_route_output': /usr/src/linux/include/net/route.h:140: `daddr' undeclared (first use in this function) /usr/src/linux/include/net/route.h:140: `saddr' undeclared (first use in this function) /usr/src/linux/include/net/route.h:140: `oif' undeclared (first use in this function) /usr/src/linux/include/net/route.h:140: `tos' undeclared (first use in this function) /usr/src/linux/include/net/route.h:142: `rp' undeclared (first use in this function) /usr/src/linux/include/net/route.h: In function `ip_rt_put': /usr/src/linux/include/net/route.h:149: warning: implicit declaration of function `dst_release' /usr/src/linux/include/net/route.h: At top level: /usr/src/linux/include/net/route.h:156: parse error before `tos' /usr/src/linux/include/net/route.h: In function `rt_tos2priority': /usr/src/linux/include/net/route.h:158: `tos' undeclared (first use in this function) /usr/src/linux/include/net/route.h:159: warning: control reaches end of non-void function /usr/src/linux/include/net/route.h: At top level: /usr/src/linux/include/net/route.h:161: parse error before `u32' /usr/src/linux/include/net/route.h: In function `ip_route_connect': /usr/src/linux/include/net/route.h:164: `rp' undeclared (first use in this function) /usr/src/linux/include/net/route.h:164: `dst' undeclared (first use in this function) /usr/src/linux/include/net/route.h:164: `src' undeclared (first use in this function) /usr/src/linux/include/net/route.h:164: `tos' undeclared (first use in this function) /usr/src/linux/include/net/route.h:164: `oif' undeclared (first use in this function) > On Fri, Sep 13, 2002 at 10:00:41PM -0300, Miguel Griot wrote: > > > > I now have: > > Red Hat 7.3 > > glibc-2.2.4-13 > > gcc-2.96-81 > > but still not working. > > Alexandre Carlos told me that he had the same problem with Red Hat 7.3, > > but it > > worked properly on 7.2, you are using 6.2. > > Could be that the problem? and why? > > Should I change to Red Hat 7.2? > > Thanks, Miguel. > > > > On Fri, 13 Sep 2002, James R. Leu wrote: > > > > > I bet your question about glibc 2.0 is the correct one to ask. > > > > > > I use: > > > > > > Red Hat 6.2 w/ > > > glibc-2.2.4-13 > > > gcc-2.96-81 > > > > > > try updating your glibc and see if that helps. > > > > > > Jim > > > > > > > > > On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > > > > Hi Jim, > > > > I'm almost sure that the zebra make file is point to my mpls-linux enabled > > > > kernel. > > > > Here's what I think is the problem: > > > > list_head is defined in /usr/src/linux/include/linux/list. > > > > strust list_head { > > > > struct list_head *next, *prev; > > > > }; > > > > I think that the problem is that in timer.h, 'list' is declared as: > > > > struct list_head list; > > > > when it should be: struct list_head *list; > > > > Perhaps your gcc interpretes it properly. My version is 2.96, what's > > > > yours? > > > > When I correct it, it works but I get another error, > > > > it seems that u32 (which appears in mpls.h)is not defined, I believe > > > > (correct me if I'm wrong) that > > > > it is supposed to be an unsigned integer, (I've got guint32 defined in > > > > glibconfig.h). The version of gclib I have is 2.0. Maybe it is too old. > > > > What version are you using? > > > > Could that be the problem? > > > > Thanks, > > > > Miguel. > > > > > > > > > > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > > > > > > > Make sure the zebra make file is point to you mpls-linux enabled kernel source. > > > > > > > > > > Btw what version of glibc and gcc do you have? > > > > > > > > > > Jim > > > > > > > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > > > > Hi, > > > > > > We are trying to install ldp-portable-0.200. We've already installed > > > > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > > > > The problem is that, after patching zebra-0.93a, when we try to compile > > > > > > it, it gives us this error message: > > > > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > > > > /usr/src/linux/timer.h:21: confused by earlier errors, bailing out > > > > > > make[2]:*** [vty.o] Error 1 > > > > > > make[1]:*** [all-recursive] Error 1 > > > > > > > > > > > > list is defined as a list_head which is defined in linux/list.h. > > > > > > > > > > > > We will appreciate any help. > > > > > > Thank you, > > > > > > > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > Welcome to geek heaven. > > > > > > http://thinkgeek.com/sf > > > > > > _______________________________________________ > > > > > > mpls-linux-general mailing list > > > > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > -- > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > mpls-linux-general mailing list > > > > mpl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > -- > > > James R. Leu > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > -- > James R. Leu > |
From: James R. L. <jl...@mi...> - 2002-09-15 00:03:13
|
What version of glibc scomes with 7.2? 7.3 has glibc-2.2.5-39 Jim On Sat, Sep 14, 2002 at 08:50:33PM -0300, Alexandre Carlos wrote: > Jim. >=20 > There r some files on RH 7.3 that is diffrent on 7.2, that r essential = when > re-compiling the kernel, like timer.h. so thats why Miguel is having th= at > problem, i=B4ve passed the same problem when i started to implement MPL= S and > DiffServ on linux. I think that the fatest way to work around that prob= lem > is to use an older version of linux like RH 7.2 >=20 > Alex > ----- Original Message ----- > From: "James R. Leu" <jl...@mi...> > To: "Miguel Griot" <mg...@fi...> > Cc: "lista mpls" <mpl...@li...> > Sent: Saturday, September 14, 2002 9:08 PM > Subject: Re: [mpls-linux-general] Problem installing zebra-ldp >=20 >=20 > > What errors are you seeing on 7.3? > > > > Jim > > > > On Fri, Sep 13, 2002 at 10:00:41PM -0300, Miguel Griot wrote: > > > > > > I now have: > > > Red Hat 7.3 > > > glibc-2.2.4-13 > > > gcc-2.96-81 > > > but still not working. > > > Alexandre Carlos told me that he had the same problem with Red Hat = 7.3, > > > but it > > > worked properly on 7.2, you are using 6.2. > > > Could be that the problem? and why? > > > Should I change to Red Hat 7.2? > > > Thanks, Miguel. > > > > > > On Fri, 13 Sep 2002, James R. Leu wrote: > > > > > > > I bet your question about glibc 2.0 is the correct one to ask. > > > > > > > > I use: > > > > > > > > Red Hat 6.2 w/ > > > > glibc-2.2.4-13 > > > > gcc-2.96-81 > > > > > > > > try updating your glibc and see if that helps. > > > > > > > > Jim > > > > > > > > > > > > On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > > > > > Hi Jim, > > > > > I'm almost sure that the zebra make file is point to my mpls-li= nux > enabled > > > > > kernel. > > > > > Here's what I think is the problem: > > > > > list_head is defined in /usr/src/linux/include/linux/list. > > > > > strust list_head { > > > > > struct list_head *next, *prev; > > > > > }; > > > > > I think that the problem is that in timer.h, 'list' is declared= as: > > > > > struct list_head list; > > > > > when it should be: struct list_head *list; > > > > > Perhaps your gcc interpretes it properly. My version is 2.96, w= hat's > > > > > yours? > > > > > When I correct it, it works but I get another error, > > > > > it seems that u32 (which appears in mpls.h)is not defined, I be= lieve > > > > > (correct me if I'm wrong) that > > > > > it is supposed to be an unsigned integer, (I've got guint32 def= ined > in > > > > > glibconfig.h). The version of gclib I have is 2.0. Maybe it is = too > old. > > > > > What version are you using? > > > > > Could that be the problem? > > > > > Thanks, > > > > > Miguel. > > > > > > > > > > > > > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > > > > > > > > > Make sure the zebra make file is point to you mpls-linux enab= led > kernel source. > > > > > > > > > > > > Btw what version of glibc and gcc do you have? > > > > > > > > > > > > Jim > > > > > > > > > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > > > > > Hi, > > > > > > > We are trying to install ldp-portable-0.200. We've already > installed > > > > > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > > > > > The problem is that, after patching zebra-0.93a, when we t= ry to > compile > > > > > > > it, it gives us this error message: > > > > > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > > > > > /usr/src/linux/timer.h:21: confused by earlier errors, bail= ing > out > > > > > > > make[2]:*** [vty.o] Error 1 > > > > > > > make[1]:*** [all-recursive] Error 1 > > > > > > > > > > > > > > list is defined as a list_head which is defined in linux/li= st.h. > > > > > > > > > > > > > > We will appreciate any help. > > > > > > > Thank you, > > > > > > > > > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > > Welcome to geek heaven. > > > > > > > http://thinkgeek.com/sf > > > > > > > _______________________________________________ > > > > > > > mpls-linux-general mailing list > > > > > > > mpl...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-gen= eral > > > > > > > > > > > > -- > > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > mpls-linux-general mailing list > > > > > mpl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > -- > > > > James R. Leu > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > -- > > James R. Leu > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu |
From: Alexandre C. <ale...@re...> - 2002-09-14 23:48:57
|
Jim. There r some files on RH 7.3 that is diffrent on 7.2, that r essential wh= en re-compiling the kernel, like timer.h. so thats why Miguel is having that problem, i=B4ve passed the same problem when i started to implement MPLS = and DiffServ on linux. I think that the fatest way to work around that proble= m is to use an older version of linux like RH 7.2 Alex ----- Original Message ----- From: "James R. Leu" <jl...@mi...> To: "Miguel Griot" <mg...@fi...> Cc: "lista mpls" <mpl...@li...> Sent: Saturday, September 14, 2002 9:08 PM Subject: Re: [mpls-linux-general] Problem installing zebra-ldp > What errors are you seeing on 7.3? > > Jim > > On Fri, Sep 13, 2002 at 10:00:41PM -0300, Miguel Griot wrote: > > > > I now have: > > Red Hat 7.3 > > glibc-2.2.4-13 > > gcc-2.96-81 > > but still not working. > > Alexandre Carlos told me that he had the same problem with Red Hat 7.= 3, > > but it > > worked properly on 7.2, you are using 6.2. > > Could be that the problem? and why? > > Should I change to Red Hat 7.2? > > Thanks, Miguel. > > > > On Fri, 13 Sep 2002, James R. Leu wrote: > > > > > I bet your question about glibc 2.0 is the correct one to ask. > > > > > > I use: > > > > > > Red Hat 6.2 w/ > > > glibc-2.2.4-13 > > > gcc-2.96-81 > > > > > > try updating your glibc and see if that helps. > > > > > > Jim > > > > > > > > > On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > > > > Hi Jim, > > > > I'm almost sure that the zebra make file is point to my mpls-linu= x enabled > > > > kernel. > > > > Here's what I think is the problem: > > > > list_head is defined in /usr/src/linux/include/linux/list. > > > > strust list_head { > > > > struct list_head *next, *prev; > > > > }; > > > > I think that the problem is that in timer.h, 'list' is declared a= s: > > > > struct list_head list; > > > > when it should be: struct list_head *list; > > > > Perhaps your gcc interpretes it properly. My version is 2.96, wha= t's > > > > yours? > > > > When I correct it, it works but I get another error, > > > > it seems that u32 (which appears in mpls.h)is not defined, I beli= eve > > > > (correct me if I'm wrong) that > > > > it is supposed to be an unsigned integer, (I've got guint32 defin= ed in > > > > glibconfig.h). The version of gclib I have is 2.0. Maybe it is to= o old. > > > > What version are you using? > > > > Could that be the problem? > > > > Thanks, > > > > Miguel. > > > > > > > > > > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > > > > > > > Make sure the zebra make file is point to you mpls-linux enable= d kernel source. > > > > > > > > > > Btw what version of glibc and gcc do you have? > > > > > > > > > > Jim > > > > > > > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > > > > Hi, > > > > > > We are trying to install ldp-portable-0.200. We've already installed > > > > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > > > > The problem is that, after patching zebra-0.93a, when we try= to compile > > > > > > it, it gives us this error message: > > > > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > > > > /usr/src/linux/timer.h:21: confused by earlier errors, bailin= g out > > > > > > make[2]:*** [vty.o] Error 1 > > > > > > make[1]:*** [all-recursive] Error 1 > > > > > > > > > > > > list is defined as a list_head which is defined in linux/list= .h. > > > > > > > > > > > > We will appreciate any help. > > > > > > Thank you, > > > > > > > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > Welcome to geek heaven. > > > > > > http://thinkgeek.com/sf > > > > > > _______________________________________________ > > > > > > mpls-linux-general mailing list > > > > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-gener= al > > > > > > > > > > -- > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > mpls-linux-general mailing list > > > > mpl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > -- > > > James R. Leu > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > -- > James R. Leu > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |
From: James R. L. <jl...@mi...> - 2002-09-14 23:21:36
|
You will need to hand patch the contents from net/netsysms.c.rej into net/netsysms.c Of course you could always just get 2.4.19 and it will patch clean. Jim On Sat, Sep 14, 2002 at 09:51:38AM +0000, Sunny Emmanuel wrote: > > Dear James, > > When i patch the kernel (linux-2.4.13) with: > linux]# patch -p1 < ../mpls-linux-1.1/patches/linux-kernel.diff > i get some statements like: > > Hunk #4 succeded at 2062 (offset -9 lines). > Hunk #4 succeded at 2062 (offset -9 lines). > patching file net/mpls/Makefile > ...... > patching file net/mpls/Makefile > Hunk #1 FAILED at 577 > 1 out of 1 Hunk FAILED -- saving rejects to file 'net/netsyms.c.rej' > > Can u kindly tell me wht these last 2 lines mean. Is the patch applied > correctly or not. > > > Further, when i compile the kernel i get the following errors: > > Linux]# make bzImage > mpls_input.c:27:27:linux/if_vlan.h: No such file or directory > mpls_input.c:In function 'mpls_dlv': > mpls_input.c:48:'ETH_P_8021Q' undeclared(first use in this function) > mpls_input.c:48:(Each undeclared identifier is reported only once > mpls_input.c:48:for each function it appears in.) > mpls_input.c:48:case label does not reduce to an integer constant > make[3]:***[mpls_input.o]Error 1 > make[3]:Leaving directory '/usr/src/linux/net/mpls' > make[2]:***[first_rule]Error 2 > make[2]:Leaving directory '/usr/src/linux/net/mpls' > make[1]:***[_subdir_mpls]Error 2 > make[1]:Leaving directory '/usr/src/linux/net/mpls' > make:***[_dir_net]Error 2 I guess the VLAN code wasn't added to the 2.4 kernel until after 2.4.13. I think the easiest thing for you to do is get the 2.4.19 kernel source and patch that. Jim -- James R. Leu |
From: James R. L. <jl...@mi...> - 2002-09-14 23:14:42
|
What errors are you seeing on 7.3? Jim On Fri, Sep 13, 2002 at 10:00:41PM -0300, Miguel Griot wrote: > > I now have: > Red Hat 7.3 > glibc-2.2.4-13 > gcc-2.96-81 > but still not working. > Alexandre Carlos told me that he had the same problem with Red Hat 7.3, > but it > worked properly on 7.2, you are using 6.2. > Could be that the problem? and why? > Should I change to Red Hat 7.2? > Thanks, Miguel. > > On Fri, 13 Sep 2002, James R. Leu wrote: > > > I bet your question about glibc 2.0 is the correct one to ask. > > > > I use: > > > > Red Hat 6.2 w/ > > glibc-2.2.4-13 > > gcc-2.96-81 > > > > try updating your glibc and see if that helps. > > > > Jim > > > > > > On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > > > Hi Jim, > > > I'm almost sure that the zebra make file is point to my mpls-linux enabled > > > kernel. > > > Here's what I think is the problem: > > > list_head is defined in /usr/src/linux/include/linux/list. > > > strust list_head { > > > struct list_head *next, *prev; > > > }; > > > I think that the problem is that in timer.h, 'list' is declared as: > > > struct list_head list; > > > when it should be: struct list_head *list; > > > Perhaps your gcc interpretes it properly. My version is 2.96, what's > > > yours? > > > When I correct it, it works but I get another error, > > > it seems that u32 (which appears in mpls.h)is not defined, I believe > > > (correct me if I'm wrong) that > > > it is supposed to be an unsigned integer, (I've got guint32 defined in > > > glibconfig.h). The version of gclib I have is 2.0. Maybe it is too old. > > > What version are you using? > > > Could that be the problem? > > > Thanks, > > > Miguel. > > > > > > > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > > > > > Make sure the zebra make file is point to you mpls-linux enabled kernel source. > > > > > > > > Btw what version of glibc and gcc do you have? > > > > > > > > Jim > > > > > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > > > Hi, > > > > > We are trying to install ldp-portable-0.200. We've already installed > > > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > > > The problem is that, after patching zebra-0.93a, when we try to compile > > > > > it, it gives us this error message: > > > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > > > /usr/src/linux/timer.h:21: confused by earlier errors, bailing out > > > > > make[2]:*** [vty.o] Error 1 > > > > > make[1]:*** [all-recursive] Error 1 > > > > > > > > > > list is defined as a list_head which is defined in linux/list.h. > > > > > > > > > > We will appreciate any help. > > > > > Thank you, > > > > > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > mpls-linux-general mailing list > > > > > mpl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > -- > > > > James R. Leu > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > -- > > James R. Leu > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: Alexandre C. <ale...@re...> - 2002-09-14 16:49:39
|
Miguel, the problem with Redhat 7.3 is that the file timer.h is different from the some file inRH 7.2, that=B4s why i changed to 7.2. Alex ----- Original Message ----- From: "Miguel Griot" <mg...@fi...> To: "lista mpls" <mpl...@li...> Sent: Friday, September 13, 2002 10:00 PM Subject: Re: [mpls-linux-general] Problem installing zebra-ldp > > I now have: > Red Hat 7.3 > glibc-2.2.4-13 > gcc-2.96-81 > but still not working. > Alexandre Carlos told me that he had the same problem with Red Hat 7.3, > but it > worked properly on 7.2, you are using 6.2. > Could be that the problem? and why? > Should I change to Red Hat 7.2? > Thanks, Miguel. > > On Fri, 13 Sep 2002, James R. Leu wrote: > > > I bet your question about glibc 2.0 is the correct one to ask. > > > > I use: > > > > Red Hat 6.2 w/ > > glibc-2.2.4-13 > > gcc-2.96-81 > > > > try updating your glibc and see if that helps. > > > > Jim > > > > > > On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > > > Hi Jim, > > > I'm almost sure that the zebra make file is point to my mpls-linux enabled > > > kernel. > > > Here's what I think is the problem: > > > list_head is defined in /usr/src/linux/include/linux/list. > > > strust list_head { > > > struct list_head *next, *prev; > > > }; > > > I think that the problem is that in timer.h, 'list' is declared as: > > > struct list_head list; > > > when it should be: struct list_head *list; > > > Perhaps your gcc interpretes it properly. My version is 2.96, what'= s > > > yours? > > > When I correct it, it works but I get another error, > > > it seems that u32 (which appears in mpls.h)is not defined, I believ= e > > > (correct me if I'm wrong) that > > > it is supposed to be an unsigned integer, (I've got guint32 defined= in > > > glibconfig.h). The version of gclib I have is 2.0. Maybe it is too old. > > > What version are you using? > > > Could that be the problem? > > > Thanks, > > > Miguel. > > > > > > > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > > > > > Make sure the zebra make file is point to you mpls-linux enabled kernel source. > > > > > > > > Btw what version of glibc and gcc do you have? > > > > > > > > Jim > > > > > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > > > Hi, > > > > > We are trying to install ldp-portable-0.200. We've already installed > > > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > > > The problem is that, after patching zebra-0.93a, when we try t= o compile > > > > > it, it gives us this error message: > > > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > > > /usr/src/linux/timer.h:21: confused by earlier errors, bailing = out > > > > > make[2]:*** [vty.o] Error 1 > > > > > make[1]:*** [all-recursive] Error 1 > > > > > > > > > > list is defined as a list_head which is defined in linux/list.h. > > > > > > > > > > We will appreciate any help. > > > > > Thank you, > > > > > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > mpls-linux-general mailing list > > > > > mpl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > -- > > > > James R. Leu > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > -- > > James R. Leu > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |
From: Luca Da C. <luc...@ti...> - 2002-09-14 10:44:07
|
Try with kernel 2.4.18/19, it compiles fine. Kernel 2.4.13 and 2.4.19 differ a lot. rgds, Luca On Sat, 2002-09-14 at 11:51, Sunny Emmanuel wrote: > > Dear James, > > When i patch the kernel (linux-2.4.13) with: > linux]# patch -p1 < ../mpls-linux-1.1/patches/linux-kernel.diff > i get some statements like: > > Hunk #4 succeded at 2062 (offset -9 lines). > Hunk #4 succeded at 2062 (offset -9 lines). > patching file net/mpls/Makefile > ...... > patching file net/mpls/Makefile > Hunk #1 FAILED at 577 > 1 out of 1 Hunk FAILED -- saving rejects to file 'net/netsyms.c.rej' > > Can u kindly tell me wht these last 2 lines mean. Is the patch applied > correctly or not. > > > Further, when i compile the kernel i get the following errors: > > Linux]# make bzImage > mpls_input.c:27:27:linux/if_vlan.h: No such file or directory > mpls_input.c:In function 'mpls_dlv': > mpls_input.c:48:'ETH_P_8021Q' undeclared(first use in this function) > mpls_input.c:48:(Each undeclared identifier is reported only once > mpls_input.c:48:for each function it appears in.) > mpls_input.c:48:case label does not reduce to an integer constant > make[3]:***[mpls_input.o]Error 1 > make[3]:Leaving directory '/usr/src/linux/net/mpls' > make[2]:***[first_rule]Error 2 > make[2]:Leaving directory '/usr/src/linux/net/mpls' > make[1]:***[_subdir_mpls]Error 2 > make[1]:Leaving directory '/usr/src/linux/net/mpls' > make:***[_dir_net]Error 2 > > Pls tell me whts wrong and how to remove these errors. > > Thankz. > Sunny Emmanuel > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |
From: Sunny E. <mee...@ho...> - 2002-09-14 09:51:44
|
Dear James, When i patch the kernel (linux-2.4.13) with: linux]# patch -p1 < ../mpls-linux-1.1/patches/linux-kernel.diff i get some statements like: Hunk #4 succeded at 2062 (offset -9 lines). Hunk #4 succeded at 2062 (offset -9 lines). patching file net/mpls/Makefile ...... patching file net/mpls/Makefile Hunk #1 FAILED at 577 1 out of 1 Hunk FAILED -- saving rejects to file 'net/netsyms.c.rej' Can u kindly tell me wht these last 2 lines mean. Is the patch applied correctly or not. Further, when i compile the kernel i get the following errors: Linux]# make bzImage mpls_input.c:27:27:linux/if_vlan.h: No such file or directory mpls_input.c:In function 'mpls_dlv': mpls_input.c:48:'ETH_P_8021Q' undeclared(first use in this function) mpls_input.c:48:(Each undeclared identifier is reported only once mpls_input.c:48:for each function it appears in.) mpls_input.c:48:case label does not reduce to an integer constant make[3]:***[mpls_input.o]Error 1 make[3]:Leaving directory '/usr/src/linux/net/mpls' make[2]:***[first_rule]Error 2 make[2]:Leaving directory '/usr/src/linux/net/mpls' make[1]:***[_subdir_mpls]Error 2 make[1]:Leaving directory '/usr/src/linux/net/mpls' make:***[_dir_net]Error 2 Pls tell me whts wrong and how to remove these errors. Thankz. Sunny Emmanuel _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
From: Miguel G. <mg...@fi...> - 2002-09-14 01:00:58
|
I now have: Red Hat 7.3 glibc-2.2.4-13 gcc-2.96-81 but still not working. Alexandre Carlos told me that he had the same problem with Red Hat 7.3, but it worked properly on 7.2, you are using 6.2. Could be that the problem? and why? Should I change to Red Hat 7.2? Thanks, Miguel. On Fri, 13 Sep 2002, James R. Leu wrote: > I bet your question about glibc 2.0 is the correct one to ask. > > I use: > > Red Hat 6.2 w/ > glibc-2.2.4-13 > gcc-2.96-81 > > try updating your glibc and see if that helps. > > Jim > > > On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > > Hi Jim, > > I'm almost sure that the zebra make file is point to my mpls-linux enabled > > kernel. > > Here's what I think is the problem: > > list_head is defined in /usr/src/linux/include/linux/list. > > strust list_head { > > struct list_head *next, *prev; > > }; > > I think that the problem is that in timer.h, 'list' is declared as: > > struct list_head list; > > when it should be: struct list_head *list; > > Perhaps your gcc interpretes it properly. My version is 2.96, what's > > yours? > > When I correct it, it works but I get another error, > > it seems that u32 (which appears in mpls.h)is not defined, I believe > > (correct me if I'm wrong) that > > it is supposed to be an unsigned integer, (I've got guint32 defined in > > glibconfig.h). The version of gclib I have is 2.0. Maybe it is too old. > > What version are you using? > > Could that be the problem? > > Thanks, > > Miguel. > > > > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > > > Make sure the zebra make file is point to you mpls-linux enabled kernel source. > > > > > > Btw what version of glibc and gcc do you have? > > > > > > Jim > > > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > > Hi, > > > > We are trying to install ldp-portable-0.200. We've already installed > > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > > The problem is that, after patching zebra-0.93a, when we try to compile > > > > it, it gives us this error message: > > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > > /usr/src/linux/timer.h:21: confused by earlier errors, bailing out > > > > make[2]:*** [vty.o] Error 1 > > > > make[1]:*** [all-recursive] Error 1 > > > > > > > > list is defined as a list_head which is defined in linux/list.h. > > > > > > > > We will appreciate any help. > > > > Thank you, > > > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > mpls-linux-general mailing list > > > > mpl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > -- > > > James R. Leu > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > -- > James R. Leu > |
From: James R. L. <jl...@mi...> - 2002-09-13 21:54:04
|
Can you turn on kernel debugging ('mplsadm2 -d') and sent me the output (you'll have to execute 'dmesg' to see the output) What plateform are you running this on? i386? Jim On Fri, Sep 13, 2002 at 05:19:26AM +0100, Sameer Gharat wrote: > Hi James, > I tried executing the command in two steps. But no > luck! This is what I get... > > #mplsadm2 -A -O 0 > Key: x00000000 (all zeroes!!) > Out Segment add: Success > > But it adds an entry to /cat/proc/mpls_out i.e. > 0x00000007 0/0/0 1 > > Then, > #mplsadm2 -O 0x00000007 -o > push:gen:100:set:eth0:ipv4:10.3.8.198 > Out Instr: Success > > But the entry in /cat/proc/mpls_out remains > 0x00000007 0/0/0 1 > > So, the two step process didn't work. But, could you > explain, why is this happening only on machine B?! Set > up of LSP works fine on machine A. Moreover the > addition of incoming label on machine B works fine > too. Only the addition of outgoing label on machine B > causes problem! > Strange! > > Again, thanking in anticipation! :-) > cheers, > Sameer > > > --- "James R. Leu" <jl...@mi...> wrote: > I > think I have a bug in mplsadm2. > > > > try doing the command as two steps: > > > > mplsadm2 -A -O 0 > > <returns key> > > mplsadm2 -O key -o > > push:gen:100:set:eth0:ipv4:10.3.8.198 > > > > Jim > > > > > mplsadm2 -A -O 0 -o > > > push:gen:100:set:eth0:ipv4:10.3.8.198 > > > You can refer below in the mail to check out the > > > topology and the addresses... the example is the > > same. > > > So, when I give this command, I get... > > > Key: 0x00000000 > > > Out Segment add: Success > > > Out Instr: Illegal seek > > > > > > And /proc/net/mpls_out contains the following line > > > after tha above command is executed... > > > 0x00000002 0/0/0 1 > > > > > > What could be the problem here? > > > > > > Thanking you in anticipation > > > > > > cheers, > > > Sameer > > > > > > > > > > On Wed, Sep 11, 2002 at 06:59:26AM +0100, Sameer > > > > Gharat wrote: > > > > > Hello James and all, > > > > > > > > > > I have set up 1.152 on two Linux boxes running > > > > kernel > > > > > ver. 2.4.18-3. The two boxes are set up as... > > > > > --------- --------- > > > > > | A | | B | > > > > > --------- --------- > > > > > |eth0 |eth0 > > > > > |10.3.8.198 |10.3.8.93 > > > > > ----------------------------------- > > > > > > > > > > And the lsp was created b/w A and B using... > > > > > On A : > > > > > mplsadm2 -A -O -o > > > > push:gen:200:set:eth0:ipv4:10.3.8.93 > > > > > ip2 route add 10.3.8.93 dev eth0 lsp > > 0x00000002 > > > > > mpls -L eth0:0 > > > > > > > > > > On B: > > > > > mplsadm2 -A -I gen:200:0 > > > > > mpls -L eth0:0 > > > > > > > > ________________________________________________________________________ > Missed your favourite TV serial last night? Try the new, Yahoo! TV. > visit http://in.tv.yahoo.com -- James R. Leu |
From: James R. L. <jl...@mi...> - 2002-09-13 21:20:48
|
I bet your question about glibc 2.0 is the correct one to ask. I use: Red Hat 6.2 w/ glibc-2.2.4-13 gcc-2.96-81 try updating your glibc and see if that helps. Jim On Fri, Sep 13, 2002 at 04:55:15PM -0300, Miguel Griot wrote: > Hi Jim, > I'm almost sure that the zebra make file is point to my mpls-linux enabled > kernel. > Here's what I think is the problem: > list_head is defined in /usr/src/linux/include/linux/list. > strust list_head { > struct list_head *next, *prev; > }; > I think that the problem is that in timer.h, 'list' is declared as: > struct list_head list; > when it should be: struct list_head *list; > Perhaps your gcc interpretes it properly. My version is 2.96, what's > yours? > When I correct it, it works but I get another error, > it seems that u32 (which appears in mpls.h)is not defined, I believe > (correct me if I'm wrong) that > it is supposed to be an unsigned integer, (I've got guint32 defined in > glibconfig.h). The version of gclib I have is 2.0. Maybe it is too old. > What version are you using? > Could that be the problem? > Thanks, > Miguel. > > > On Thu, 12 Sep 2002, James R. Leu wrote: > > > Make sure the zebra make file is point to you mpls-linux enabled kernel source. > > > > Btw what version of glibc and gcc do you have? > > > > Jim > > > > On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote: > > > Hi, > > > We are trying to install ldp-portable-0.200. We've already installed > > > mpls-linux-1.170 over kernel-2.4.18, and it is working. > > > The problem is that, after patching zebra-0.93a, when we try to compile > > > it, it gives us this error message: > > > /usr/src/linux/timer.h:17: field 'list' has incomplete type > > > /usr/src/linux/timer.h:21: confused by earlier errors, bailing out > > > make[2]:*** [vty.o] Error 1 > > > make[1]:*** [all-recursive] Error 1 > > > > > > list is defined as a list_head which is defined in linux/list.h. > > > > > > We will appreciate any help. > > > Thank you, > > > > > > Gabriel, Santiago and Miguel. > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > -- > > James R. Leu > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |