[mpls-linux-general] ldp
Status: Beta
Brought to you by:
jleu
From: <mi...@en...> - 2001-06-19 17:10:19
|
Hi, I would like to ask your opinion with regard to some error messages that I'm getting while running ldp-linux from the ldp-portable package. - I'm using the last version of the ldp-portable distro (copied through CVS from sf.net); - I've compiled ldp-linux using : CC = gcc # not kgcc, where gcc is version 2.91.66 Also added -DMPLS_LINUX cflag to Makefile, ( /usr/src/ldp-portable/Makefile ); I had to remove -Werror flag in order to bypass a warning related to some function declarations from linux-port/ldp_mpls_impl.c ; - kernel version is 2.4.5 ; - kernel was compiled after patching with mpls-linux-0.993 hostname$ dmesg -- snip -- Initializing RT netlink socket ... MPLS version 0.993 06/05/2001 jl...@mi... MPLS Tunnel interface -- snip -- I used a basic test config: [ machine A running ldp_linux ] ------ [ machine B running ldp_linux ] After I start ldp_linux and configure it with "add global" & "add interface", i'm getting the following error messages: -- snip -- UDP_DATA recvfrom: Invalid argument [ machine A running ldp_linux ] ------ [ machine B running ldp_linux ] After I start ldp_linux and add global IP & add interface, I'm getting the following error messages: -- snip -- UDP_DATA recvfrom: Invalid argument Before header decode: size = 0 UDP_DATA recvfrom: Invalid argument Before header decode: size = 0 -- snip -- Then, I set trace 0xffffffff, and get the following : -- snip -- OUT: Failed while decoding HEADER:-2 OUT: Hello Send fired: entity(4) OUT: Hello Send: entity(4) OUT: LPD Header : protocolVersion = 1 OUT: pduLength = 30 OUT: lsrAddress = 88c9944c OUT: labelSpace = 0 OUT: HELLO MSG ***START***: OUT: baseMsg : uBit = 0 OUT: msgType = 100 OUT: msgLength = 20 OUT: msgId = 1 OUT: chpTlv: OUT: Tlv: OUT: BaseTlv: uBit = 0 OUT: fBit = 0 OUT: type = 400 OUT: length = 4 OUT: chpTlv data: holdTime = 15 OUT: chpTlv Flags: target = 0 OUT: request = 0 OUT: res = 0 OUT: Hello msg does not have TrAdr TLV OUT: csnTlv: OUT: Tlv: OUT: BaseTlv: uBit = 0 OUT: fBit = 0 OUT: type = 402 OUT: length = 4 OUT: csnTlv data: value = 6 OUT: HELLO MSG ***END***: -- snip -- I've got the same errors when I used the sample config provided with ldp-portable ; Any suggestion will be greatly appreciated, Thanks and Cheers, -istvan ps: I've checked with tcpdump and both machines running ldp_linux send out hello discovery msgs on mcasts 224.0.0.2, which looks ok to me. |