[ovs-discuss] Crash when rmmod openvswitch

Liran Schour LIRANS at il.ibm.com
Thu Nov 21 09:04:03 UTC 2013


Hi,

I am running Openvswitch 2.0.0 on Ubuntu 12.04.2 LTS (GNU/Linux
3.5.0-23-generic x86_64).

When I try to rmmod openvswitch module I get a kernel crash that force me
to do force shutdown of the machine.
I am using vxlan ports on the switch.

Here is the kernel crash:

   [863160.472283] INFO: task ovs_workq:18644 blocked for more than 120
   seconds.
   [863160.483970] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
   disables this message.
   [863160.487226] ovs_workq       D ffffffff8180cbe0     0 18644      2
   0x00000000
   [863160.487237]  ffff8803ee2abd60 0000000000000046 ffff8803ee2abd30
   ffffffff81174114
   [863160.487245]  ffff8803ee2abfd8 ffff8803ee2abfd8 ffff8803ee2abfd8
   00000000000139c0
   [863160.487252]  ffff88040950ae00 ffff8803ee171700 ffff8803ee2abd50
   ffffffff81ca9820
   [863160.487259] Call Trace:
   [863160.487300]  [<ffffffff81174114>] ? kmem_cache_free+0x104/0x110
   [863160.487332]  [<ffffffff8169d8b9>] schedule+0x29/0x70
   [863160.487365]  [<ffffffff8169db7e>] schedule_preempt_disabled+0xe/0x10
   [863160.487371]  [<ffffffff8169c797>] __mutex_lock_slowpath+0xd7/0x150
   [863160.487377]  [<ffffffff8117403f>] ? kmem_cache_free+0x2f/0x110
   [863160.487392]  [<ffffffffa02c7fc0>] ? rcu_free_vs+0x20/0x20
   [openvswitch]
   [863160.487398]  [<ffffffff8169c3aa>] mutex_lock+0x2a/0x50
   [863160.487426]  [<ffffffff8157bd4d>] unregister_pernet_device+0x1d/0x60
   [863160.487437]  [<ffffffffa02c8019>] vxlan_del_work+0x59/0x70
   [openvswitch]
   [863160.487448]  [<ffffffffa02c8e60>] worker_thread+0xd0/0x1c0
   [openvswitch]
   [863160.487485]  [<ffffffff81078450>] ? add_wait_queue+0x60/0x60
   [863160.487503]  [<ffffffffa02c8d90>] ? __cancel_work_timer+0x1c0/0x1c0
   [openvswitch]
   [863160.487510]  [<ffffffff81077b73>] kthread+0x93/0xa0
   [863160.487519]  [<ffffffff816a8324>] kernel_thread_helper+0x4/0x10
   [863160.487525]  [<ffffffff81077ae0>] ? flush_kthread_worker+0xb0/0xb0
   [863160.487531]  [<ffffffff816a8320>] ? gs_change+0x13/0x13

- Liran




More information about the discuss mailing list