[mpls-linux-general] tried to capture output from the kernel
Status: Beta
Brought to you by:
jleu
|
From: <Cla...@sw...> - 2001-05-18 10:41:00
|
Hi Jim,
Thanks for your response,
I'm not so familiar with the serial console method, and have no suitable
serial cable at the moment. But I noticed that the konsole output was
written in my /var/log/warn file.
So I can provide provide you this file...
at 16:64 I set up the mpls on A
at 16:55 I did a ping from A to C
at 16:56 I try to open do ftp between A and C
(but A hanged up and nothing was written to the file)
I'd like to mention that I cannot send traffic with ftp, since the
A host hangs up during the establishment of the TCP session. I also
tried to send UDP traffic with Mgen and this worked fine.
Hope it'll be useful. I'll try to find this serial cable somewhere...
Claude Germanier
----------------------------------------------------------------------------
-
/var/log/warn file :
May 17 16:54:02 A kernel: mpls_add_out_label: enter
May 17 16:54:02 A kernel: mpls_make_dst: enter
May 17 16:54:02 A kernel: mpls_make_dst: before bind neighbor
May 17 16:54:02 A kernel: mpls_make_dst: bind neighbor succeeded
May 17 16:54:02 A kernel: mpls_make_dst: exit(c2d3e080)
May 17 16:54:02 A kernel: mpls_info_default_moi_instruction: enter
May 17 16:54:02 A kernel: mpls_info_default_moi_instruction: exit
May 17 16:54:02 A kernel: Label GEN 16
May 17 16:54:02 A kernel: Key GEN 16 4
May 17 16:54:02 A kernel: mpls_add_out_label: exit
May 17 16:54:02 A kernel: mpls_prep_out2fec: enter
May 17 16:54:02 A kernel: Label GEN 16
May 17 16:54:02 A kernel: Key GEN 16 4
May 17 16:54:02 A kernel: mpls_fill_key_res: enter
May 17 16:54:02 A kernel: mpls_fill_key_res: exit
May 17 16:54:02 A kernel: mpls_bind_out2fec: copied label to the FIB_NODE
May 17 16:54:02 A kernel: mpls_bind_out2fec: Added FEC to list
May 17 16:54:02 A kernel: mpls_bind_out2fec: exit
May 17 16:54:02 A kernel: mpls_add_in_label: enter
May 17 16:54:02 A kernel: mpls_info_default_in_instruction: enter
May 17 16:54:02 A kernel: mpls_info_default_in_instruction: exit
May 17 16:54:02 A kernel: mpls_add_in_label: exit
May 17 16:55:10 A kernel: rt_set_nexthop: adding label to dst
May 17 16:55:10 A kernel: rt_set_nexthop: before - mtu = 1500
May 17 16:55:10 A kernel: rt_set_nexthop: after - mtu = 1496
May 17 16:55:10 A kernel: mpls_output: enter
May 17 16:55:10 A kernel: mpls_output2: enter
May 17 16:55:10 A kernel: mpls_output2: push
May 17 16:55:10 A kernel: mpls_opcode_push: enter
May 17 16:55:10 A kernel: mpls_opcode_push: using tailroom
May 17 16:55:10 A kernel: mpls_opcode_push: done using tailroom
May 17 16:55:10 A kernel: mpls_opcode_push: exit
May 17 16:55:10 A kernel: mpls_output2: set GEN
May 17 16:55:10 A kernel: mpls_output2: output device = eth0
May 17 16:55:10 A kernel: mpls_finish: enter
May 17 16:55:10 A kernel: mpls_finish: exit
May 17 16:55:10 A kernel: mpls_output2: GEN
May 17 16:55:10 A kernel: mpls_output2: using neighbour (c1a3cb20)
May 17 16:55:10 A kernel: mpls_output2: exit(0)
May 17 16:55:10 A kernel: mpls_output: exit
May 17 16:55:10 A kernel: mpls_rcv: enter
May 17 16:55:10 A kernel: mpls_opcode_peek: enter
May 17 16:55:10 A kernel: mpls_opcode_peek: exit
May 17 16:55:10 A kernel: mpls_input: enter
May 17 16:55:10 A kernel: mpls_input:
labelspace=0,label=17,exp=0,B.O.S=1,TTL=255
May 17 16:55:10 A kernel: mpls_input: pop
May 17 16:55:10 A kernel: mpls_opcode_pop: enter
May 17 16:55:10 A kernel: mpls_opcode_pop: exit
May 17 16:55:10 A kernel: mpls_input: mii_proto 8
May 17 16:55:10 A kernel: mpls_finish: enter
May 17 16:55:10 A kernel: mpls_finish: exit
May 17 16:55:10 A kernel: mpls_input: setting ttl 255
May 17 16:55:10 A kernel: mpls_input: sending to IPv4
May 17 16:55:10 A kernel: skb_dump: from eth0 with len 88 (292) headroom=32
tailroom=4
May 17 16:55:10 A kernel:
060000c04fb4f15d0010a4951d5988470001*0010a4951d5900c04fb4f15d8847{#|45000054
00004000ff01647f0a0101140a01021400009768990200003b03e64e0000c33f08090a0b0c0d
0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f30313233
343536375ab42cb15ab42cb100}
May 17 16:55:10 A kernel: mpls_input: retval from ip_rcv 0
May 17 16:55:10 A kernel: mpls_input: finished executing in label program
May 17 16:55:10 A kernel: mpls_input: exit
May 17 16:55:10 A kernel: mpls_rcv: exit
May 17 16:55:11 A kernel: mpls_output: enter
May 17 16:55:11 A kernel: mpls_output2: enter
May 17 16:55:11 A kernel: mpls_output2: push
May 17 16:55:11 A kernel: mpls_opcode_push: enter
May 17 16:55:11 A kernel: mpls_opcode_push: using tailroom
May 17 16:55:11 A kernel: mpls_opcode_push: done using tailroom
May 17 16:55:11 A kernel: mpls_opcode_push: exit
May 17 16:55:11 A kernel: mpls_output2: set GEN
May 17 16:55:11 A kernel: mpls_output2: output device = eth0
May 17 16:55:11 A kernel: mpls_finish: enter
May 17 16:55:11 A kernel: mpls_finish: exit
May 17 16:55:11 A kernel: mpls_output2: GEN
May 17 16:55:11 A kernel: mpls_output2: using hh
May 17 16:55:11 A kernel: mpls_output2: exit(0)
May 17 16:55:11 A kernel: mpls_output: exit
May 17 16:55:11 A kernel: mpls_rcv: enter
May 17 16:55:11 A kernel: mpls_opcode_peek: enter
May 17 16:55:11 A kernel: mpls_opcode_peek: exit
May 17 16:55:11 A kernel: mpls_input: enter
May 17 16:55:11 A kernel: mpls_input:
labelspace=0,label=17,exp=0,B.O.S=1,TTL=255
May 17 16:55:11 A kernel: mpls_input: pop
May 17 16:55:11 A kernel: mpls_opcode_pop: enter
May 17 16:55:11 A kernel: mpls_opcode_pop: exit
May 17 16:55:11 A kernel: mpls_input: mii_proto 8
May 17 16:55:11 A kernel: mpls_finish: enter
May 17 16:55:11 A kernel: mpls_finish: exit
May 17 16:55:11 A kernel: mpls_input: setting ttl 255
May 17 16:55:11 A kernel: mpls_input: sending to IPv4
May 17 16:55:11 A kernel: skb_dump: from eth0 with len 88 (292) headroom=32
tailroom=4
May 17 16:55:11 A kernel:
000000c04fb4f15d0010a4951d5988470001*0010a4951d5900c04fb4f15d8847{#|45000054
00004000ff01647f0a0101140a010214000065ac990200013b03e64f0000f4f908090a0b0c0d
0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f30313233
34353637446a40f3446a40f300}
May 17 16:55:11 A kernel: mpls_input: retval from ip_rcv 0
May 17 16:55:11 A kernel: mpls_input: finished executing in label program
May 17 16:55:11 A kernel: mpls_input: exit
May 17 16:55:11 A kernel: mpls_rcv: exit
May 17 16:55:12 A kernel: mpls_output: enter
May 17 16:55:12 A kernel: mpls_output2: enter
May 17 16:55:12 A kernel: mpls_output2: push
May 17 16:55:12 A kernel: mpls_opcode_push: enter
May 17 16:55:12 A kernel: mpls_opcode_push: using tailroom
May 17 16:55:12 A kernel: mpls_opcode_push: done using tailroom
May 17 16:55:12 A kernel: mpls_opcode_push: exit
May 17 16:55:12 A kernel: mpls_output2: set GEN
May 17 16:55:12 A kernel: mpls_output2: output device = eth0
May 17 16:55:12 A kernel: mpls_finish: enter
May 17 16:55:12 A kernel: mpls_finish: exit
May 17 16:55:12 A kernel: mpls_output2: GEN
May 17 16:55:12 A kernel: mpls_output2: using hh
May 17 16:55:12 A kernel: mpls_output2: exit(0)
May 17 16:55:12 A kernel: mpls_output: exit
May 17 16:55:12 A kernel: mpls_rcv: enter
May 17 16:55:12 A kernel: mpls_opcode_peek: enter
May 17 16:55:12 A kernel: mpls_opcode_peek: exit
May 17 16:55:12 A kernel: mpls_input: enter
May 17 16:55:12 A kernel: mpls_input:
labelspace=0,label=17,exp=0,B.O.S=1,TTL=255
May 17 16:55:12 A kernel: mpls_input: pop
May 17 16:55:12 A kernel: mpls_opcode_pop: enter
May 17 16:55:12 A kernel: mpls_opcode_pop: exit
May 17 16:55:12 A kernel: mpls_input: mii_proto 8
May 17 16:55:12 A kernel: mpls_finish: enter
May 17 16:55:12 A kernel: mpls_finish: exit
May 17 16:55:12 A kernel: mpls_input: setting ttl 255
May 17 16:55:12 A kernel: mpls_input: sending to IPv4
May 17 16:55:12 A kernel: skb_dump: from eth0 with len 88 (292) headroom=32
tailroom=4
May 17 16:55:12 A kernel:
000000c04fb4f15d0010a4951d5988470001*0010a4951d5900c04fb4f15d8847{#|45000054
00004000ff01647f0a0101140a01021400003ea0990200023b03e65000011c0308090a0b0c0d
0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f30313233
343536378d848e3b8d848e3b00}
May 17 16:55:12 A kernel: mpls_input: retval from ip_rcv 0
May 17 16:55:12 A kernel: mpls_input: finished executing in label program
May 17 16:55:12 A kernel: mpls_input: exit
May 17 16:55:12 A kernel: mpls_rcv: exit
May 17 16:55:13 A kernel: mpls_output: enter
May 17 16:55:13 A kernel: mpls_output2: enter
May 17 16:55:13 A kernel: mpls_output2: push
May 17 16:55:13 A kernel: mpls_opcode_push: enter
May 17 16:55:13 A kernel: mpls_opcode_push: using tailroom
May 17 16:55:13 A kernel: mpls_opcode_push: done using tailroom
May 17 16:55:13 A kernel: mpls_opcode_push: exit
May 17 16:55:13 A kernel: mpls_output2: set GEN
May 17 16:55:13 A kernel: mpls_output2: output device = eth0
May 17 16:55:13 A kernel: mpls_finish: enter
May 17 16:55:13 A kernel: mpls_finish: exit
May 17 16:55:13 A kernel: mpls_output2: GEN
May 17 16:55:13 A kernel: mpls_output2: using hh
May 17 16:55:13 A kernel: mpls_output2: exit(0)
May 17 16:55:13 A kernel: mpls_output: exit
May 17 16:55:13 A kernel: mpls_rcv: enter
May 17 16:55:13 A kernel: mpls_opcode_peek: enter
May 17 16:55:13 A kernel: mpls_opcode_peek: exit
May 17 16:55:13 A kernel: mpls_input: enter
May 17 16:55:13 A kernel: mpls_input:
labelspace=0,label=17,exp=0,B.O.S=1,TTL=255
May 17 16:55:13 A kernel: mpls_input: pop
May 17 16:55:13 A kernel: mpls_opcode_pop: enter
May 17 16:55:13 A kernel: mpls_opcode_pop: exit
May 17 16:55:13 A kernel: mpls_input: mii_proto 8
May 17 16:55:13 A kernel: mpls_finished executing in label program
May 17 16:55:13 A kernel: mpls_input: exit
May 17 16:55:13 A kernel: mpls_rcv: exit
>-----Original Message-----
>From: James R. Leu [mailto:jl...@mi...]
>Sent: Donnerstag, 17. Mai 2001 15:46
>To: Germanier Claude, SGS-CT-SSM
>Cc: mpl...@li...
>Subject: Re: [mpls-linux-general] Problem for establishing a TCP session
>
>
>Can one of you get a serial console setup on the offending machine then
>use that to capture the output from the kernel.
>
>In particular I want you to do "mplsadm -d" before sending traffic. THis
>will turn on the MPLS debugging in the kernel.
>
>Thanks.
>
>Jim
|