Hi,
My openvswitch version is 1.7.1
And I use command"ovs-vsctl add-port br0 gre0 -- set interface gre0
type=gre options:remote_ip=10.X.X.1" .
I built a GRE tunnel between ovs1 and ovs2.
My question is

1.Loops will let the kernel crash and reboot?

2.If there is no loops,why this tunnel still let kernel crash...?

And there is a backtrace from kdump below.

Thanks for your help.

By they way,i have no idea to reply my discuss thread.

Please give me some tip,thanks.

PID: 2004   TASK: ffff8804b1307540  CPU: 15  COMMAND: "ovs-vswitchd"

 #0 [ffff8800283239a0] machine_kexec at ffffffff81031f7b
 #1 [ffff880028323a00] crash_kexec at ffffffff810b8c22
 #2 [ffff880028323ad0] oops_end at ffffffff814ed6b0
 #3 [ffff880028323b00] no_context at ffffffff81042a0b
 #4 [ffff880028323b50] __bad_area_nosemaphore at ffffffff81042c95
 #5 [ffff880028323ba0] bad_area_nosemaphore at ffffffff81042d63
 #6 [ffff880028323bb0] __do_page_fault at ffffffff810434c1
 #7 [ffff880028323cd0] do_page_fault at ffffffff814ef68e
 #8 [ffff880028323d00] page_fault at ffffffff814eca45
    [exception RIP: update_curr+324]
    RIP: ffffffff81053264  RSP: ffff880028323db8  RFLAGS: 00010086
    RAX: ffff8804b1307540  RBX: ffffffffaf885600  RCX: ffff8804bfeed1c0
    RDX: 0000000000019250  RSI: 0000000000000000  RDI: ffff8804b1307578
    RBP: ffff880028323de8   R8: ffffffff8160b7e5   R9: 0000000000000000
    R10: 0000000000000010  R11: 0000000000000000  R12: ffff8800283366e8
    R13: 0000000000069ac6  R14: 00009ba53ef5dfbe  R15: ffff8804b1307540
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 #9 [ffff880028323df0] task_tick_fair at ffffffff8105381b
#10 [ffff880028323e20] scheduler_tick at ffffffff810570e1
#11 [ffff880028323e60] update_process_times at ffffffff8107cc8e
#12 [ffff880028323e90] tick_sched_timer at ffffffff810a0976
#13 [ffff880028323ec0] __run_hrtimer at ffffffff8109510e
#14 [ffff880028323f10] hrtimer_interrupt at ffffffff810954b6
#15 [ffff880028323f90] smp_apic_timer_interrupt at ffffffff814f1f9b
#16 [ffff880028323fb0] apic_timer_interrupt at ffffffff8100bb93
--- <IRQ stack> ---
#17 [ffff8804af0d0158] apic_timer_interrupt at ffffffff8100bb93
    [exception RIP: vprintk+593]
    RIP: ffffffff8106b0c1  RSP: ffff8804af0d0208  RFLAGS: 00000246
    RAX: 0000000000011480  RBX: ffff8804af0d0298  RCX: 000000000000def4
    RDX: ffff880028320000  RSI: 0000000000000046  RDI: 0000000000000246
    RBP: ffffffff8100bb8e   R8: 0000000000000000   R9: 00000000fffffffb
    R10: 0000000000000001  R11: 000000000000000b  R12: 81ea3ac0812736e6
    R13: 0000000000000001  R14: ffffffff81ea3ec0  R15: ffffffffffffffff
    ORIG_RAX: ffffffffffffff10  CS: 0010  SS: 0018
#18 [ffff8804af0d02a0] printk at ffffffff814e964a
#19 [ffff8804af0d0300] print_modules at ffffffff810aada7
#20 [ffff8804af0d0330] warn_slowpath_common at ffffffff8106a1e2
#21 [ffff8804af0d0370] warn_slowpath_null at ffffffff8106a23a
#22 [ffff8804af0d0380] local_bh_enable at ffffffff810727fd
#23 [ffff8804af0d03e0] netdev_send at ffffffffa0330029 [openvswitch]
#24 [ffff8804af0d0420] ovs_vport_send at ffffffffa032cefe [openvswitch]
#25 [ffff8804af0d0440] do_output at ffffffffa032330e [openvswitch]
#26 [ffff8804af0d0460] do_execute_actions at ffffffffa0323521 [openvswitch]
#27 [ffff8804af0d0510] ovs_execute_actions at ffffffffa0323d5f [openvswitch]
#28 [ffff8804af0d0550] ovs_dp_process_received_packet at
ffffffffa032540f [openvswitch]
#29 [ffff8804af0d0630] ovs_vport_receive at ffffffffa032cf8f [openvswitch]
#30 [ffff8804af0d0640] internal_dev_xmit at ffffffffa032f923 [openvswitch]
#31 [ffff8804af0d0650] dev_hard_start_xmit at ffffffff81429d7c
#32 [ffff8804af0d06b0] dev_queue_xmit at ffffffff8142df56
#33 [ffff8804af0d0700] ip_finish_output2 at ffffffff814641dc
#34 [ffff8804af0d0740] ip_fragment at ffffffff81463b2d
#35 [ffff8804af0d07e0] ip_finish_output at ffffffff8146506f
#36 [ffff8804af0d0820] ip_output at ffffffff81465218
#37 [ffff8804af0d0850] ip_local_out at ffffffff81464515
#38 [ffff8804af0d0870] ovs_tnl_send at ffffffffa032cc5a [openvswitch]
#39 [ffff8804af0d0930] ovs_vport_send at ffffffffa032cefe [openvswitch]
#40 [ffff8804af0d0950] do_output at ffffffffa032330e [openvswitch]
#41 [ffff8804af0d0970] do_execute_actions at ffffffffa03238ee [openvswitch]
#42 [ffff8804af0d0a20] ovs_execute_actions at ffffffffa0323d5f [openvswitch]
#43 [ffff8804af0d0a60] ovs_dp_process_received_packet at
ffffffffa032540f [openvswitch]
#44 [ffff8804af0d0b40] ovs_vport_receive at ffffffffa032cf8f [openvswitch]
#45 [ffff8804af0d0b50] internal_dev_xmit at ffffffffa032f923 [openvswitch]
#46 [ffff8804af0d0b60] dev_hard_start_xmit at ffffffff81429d7c
#47 [ffff8804af0d0bc0] dev_queue_xmit at ffffffff8142df56
#48 [ffff8804af0d0c10] ip_finish_output2 at ffffffff814641dc
#49 [ffff8804af0d0c50] ip_fragment at ffffffff81463b2d
#50 [ffff8804af0d0cf0] ip_finish_output at ffffffff8146506f
#51 [ffff8804af0d0d30] ip_output at ffffffff81465218
#52 [ffff8804af0d0d60] ip_local_out at ffffffff81464515
#53 [ffff8804af0d0d80] ovs_tnl_send at ffffffffa032cc5a [openvswitch]
#54 [ffff8804af0d0e40] ovs_vport_send at ffffffffa032cefe [openvswitch]
#55 [ffff8804af0d0e60] do_output at ffffffffa032330e [openvswitch]
#56 [ffff8804af0d0e80] do_execute_actions at ffffffffa03238ee [openvswitch]
#57 [ffff8804af0d0f30] ovs_execute_actions at ffffffffa0323d5f [openvswitch]
#58 [ffff8804af0d0f70] ovs_dp_process_received_packet at
ffffffffa032540f [openvswitch]
#59 [ffff8804af0d1050] ovs_vport_receive at ffffffffa032cf8f [openvswitch]
#60 [ffff8804af0d1060] internal_dev_xmit at ffffffffa032f923 [openvswitch]
#61 [ffff8804af0d1070] dev_hard_start_xmit at ffffffff81429d7c
#62 [ffff8804af0d10d0] dev_queue_xmit at ffffffff8142df56
#63 [ffff8804af0d1120] ip_finish_output2 at ffffffff814641dc
#64 [ffff8804af0d1160] ip_fragment at ffffffff81463b2d
#65 [ffff8804af0d1200] ip_finish_output at ffffffff8146506f
#66 [ffff8804af0d1240] ip_output at ffffffff81465218
#67 [ffff8804af0d1270] ip_local_out at ffffffff81464515
#68 [ffff8804af0d1290] ovs_tnl_send at ffffffffa032cc5a [openvswitch]
#69 [ffff8804af0d1350] ovs_vport_send at ffffffffa032cefe [openvswitch]
#70 [ffff8804af0d1370] do_output at ffffffffa032330e [openvswitch]
#71 [ffff8804af0d1390] do_execute_actions at ffffffffa03238ee [openvswitch]
#72 [ffff8804af0d1440] ovs_execute_actions at ffffffffa0323d5f [openvswitch]
#73 [ffff8804af0d1480] ovs_dp_process_received_packet at
ffffffffa032540f [openvswitch]
#74 [ffff8804af0d1560] ovs_vport_receive at ffffffffa032cf8f [openvswitch]
#75 [ffff8804af0d1570] internal_dev_xmit at ffffffffa032f923 [openvswitch]
#76 [ffff8804af0d1580] dev_hard_start_xmit at ffffffff81429d7c
#77 [ffff8804af0d15e0] dev_queue_xmit at ffffffff8142df56
#78 [ffff8804af0d1630] ip_finish_output2 at ffffffff814641dc
#79 [ffff8804af0d1670] ip_fragment at ffffffff81463b2d
#80 [ffff8804af0d1710] ip_finish_output at ffffffff8146506f
#81 [ffff8804af0d1750] ip_output at ffffffff81465218
#82 [ffff8804af0d1780] ip_local_out at ffffffff81464515
#83 [ffff8804af0d17a0] ovs_tnl_send at ffffffffa032cc5a [openvswitch]
#84 [ffff8804af0d1860] ovs_vport_send at ffffffffa032cefe [openvswitch]
#85 [ffff8804af0d1880] do_output at ffffffffa032330e [openvswitch]
#86 [ffff8804af0d18a0] do_execute_actions at ffffffffa03238ee [openvswitch]
#87 [ffff8804af0d1950] ovs_execute_actions at ffffffffa0323d5f [openvswitch]
#88 [ffff8804af0d1990] ovs_packet_cmd_execute at ffffffffa03247b5 [openvswitch]
#89 [ffff8804af0d19f0] genl_rcv_msg at ffffffff81452fd3
#90 [ffff8804af0d1a80] netlink_rcv_skb at ffffffff81451f39
#91 [ffff8804af0d1ab0] genl_rcv at ffffffff81452dec
#92 [ffff8804af0d1ad0] netlink_unicast at ffffffff81451b96
#93 [ffff8804af0d1b30] netlink_sendmsg at ffffffff81452520
#94 [ffff8804af0d1bb0] sock_sendmsg at ffffffff81416b03
#95 [ffff8804af0d1d60] __sys_sendmsg at ffffffff814182f6
#96 [ffff8804af0d1f10] sys_sendmsg at ffffffff81418519
#97 [ffff8804af0d1f80] system_call_fastpath at ffffffff8100b072
    RIP: 00000035248e90a0  RSP: 00007fff632ea2a0  RFLAGS: 00000206
    RAX: 000000000000002e  RBX: ffffffff8100b072  RCX: 0000000000000000
    RDX: 0000000000000000  RSI: 00007fff6327d3a0  RDI: 0000000000000026
    RBP: 00007fff63298ee0   R8: 0000000d00010008   R9: 0000000100010008
    R10: 0000000600010008  R11: 0000000000000246  R12: 0000000000423f2b
    R13: 0000000000000005  R14: 00000000015e4ec0  R15: 00007fff632e8910
    ORIG_RAX: 000000000000002e  CS: 0033  SS: 002b
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to