I've done a test with Debian 6.0 and it works fine (no crash/lost network 
connection) on vmotion with XenServer 5.6 FP1.
Debian included this patch in their last kernel:

  [ Ian Campbell ]
  * xen: blkback: fix potential leak of kernel thread. (CVE-2010-3699)

Their prior last kernel linux-2.6 (2.6.32-30) didn't work.
Their actual kernel linux-2.6 (2.6.32-31), that includes this patch, works.

I've tested this Debian kernel with Ubuntu 10.04 and it works fine (no
crash/lost network connection) on vmotion.

Can this patch be applied to the Ubuntu 10.04 kernel?



** CVE added: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2010-3699

** Description changed:

  Binary package hint: linux-image-2.6.32-25-generic
  
  When using one processor trying to migrate the Ubuntu Guest from Hosts
  it dumps:
  
  [518258.206396] INFO: task xenwatch:12 blocked for more than 120 seconds.
  [518258.206405] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [518258.206412] xenwatch      D ffff88000294cbc0     0    12      2 0x00000000
  [518258.206417]  ffff88007dfe5bf0 0000000000000246 0000000000015bc0 
0000000000015bc0
  [518258.206423]  ffff88007dfd9ab0 ffff88007dfe5fd8 0000000000015bc0 
ffff88007dfd96f0
  [518258.206428]  0000000000015bc0 ffff88007dfe5fd8 0000000000015bc0 
ffff88007dfd9ab0
  [518258.206434] Call Trace:
  [518258.206443]  [<ffffffff8155a0be>] ? _spin_unlock_irqrestore+0x1e/0x30
  [518258.206448]  [<ffffffff8155841d>] schedule_timeout+0x22d/0x300
  [518258.206454]  [<ffffffff8100f302>] ? check_events+0x12/0x20
  [518258.206459]  [<ffffffff8106085f>] ? __enqueue_rt_entity+0x11f/0x220
  [518258.206463]  [<ffffffff8105a616>] ? update_curr+0xe6/0x1e0
  [518258.206466]  [<ffffffff815576c6>] wait_for_common+0xd6/0x180
  [518258.206470]  [<ffffffff8105a350>] ? default_wake_function+0x0/0x20
  [518258.206474]  [<ffffffff8155782d>] wait_for_completion+0x1d/0x20
  [518258.206478]  [<ffffffff81083f1b>] kthread_stop+0x4b/0xd0
  [518258.206482]  [<ffffffff8108724f>] ? hrtimer_force_reprogram+0x7f/0x90
  [518258.206487]  [<ffffffff8107fbbe>] cleanup_workqueue_thread+0x3e/0x80
  [518258.206490]  [<ffffffff8107fda3>] destroy_workqueue+0x93/0xe0
  [518258.206495]  [<ffffffff810b5764>] stop_machine_destroy+0x34/0x50
  [518258.206499]  [<ffffffff8131ff7f>] do_suspend+0xaf/0x120
  [518258.206502]  [<ffffffff813200f9>] shutdown_handler+0x109/0x160
  [518258.206505]  [<ffffffff81321472>] xenwatch_thread+0xc2/0x190
  [518258.206509]  [<ffffffff81084240>] ? autoremove_wake_function+0x0/0x40
  [518258.206512]  [<ffffffff813213b0>] ? xenwatch_thread+0x0/0x190
  [518258.206515]  [<ffffffff81083ec6>] kthread+0x96/0xa0
  [518258.206519]  [<ffffffff810131ea>] child_rip+0xa/0x20
  [518258.206523]  [<ffffffff810123d1>] ? int_ret_from_sys_call+0x7/0x1b
  [518258.206526]  [<ffffffff81012b5d>] ? retint_restore_args+0x5/0x6
  [518258.206530]  [<ffffffff810131e0>] ? child_rip+0x0/0x20
  
  Using more processors, the VM just freezes (can't access from console or
  network) or lose Disk IO and Network connection.
  
  I've tried the kernel http://kernel.ubuntu.com/~kernel-
  ppa/mainline/v2.6.33.5-lucid/linux-
  image-2.6.33-02063305-generic_2.6.33-02063305_amd64.deb and the problem
  doesn't happen in this kernel.
  
  I'm using XenServer 5.6 Build 31188p
  
- 
- I'm trying to use some old kernels and backporting some patches from the 
2.6.33 but I'm not successful.
+ I'm trying to use some old kernels and backporting some patches from the
+ 2.6.33 but I'm not successful.
  
  I'm gonna still try to fix it, but any help will be appreciated.
  
  Best regards,

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/681083

Title:
  Ubuntu Crashes/Freeze on XenMotion

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to