[Kernel-packages] [Bug 1486502] Re: Ubuntu15.10: KVM guest got hung (console) while running stress tool (stress tool with cpuhotplug)

2017-02-26 Thread bugproxy
** Tags removed: targetmilestone-inin1610
** Tags added: targetmilestone-inin---

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1486502

Title:
  Ubuntu15.10: KVM guest  got hung (console) while running stress tool
  (stress tool with cpuhotplug)

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Problem Description
  
I installed Ubuntu15.10 having kernel 4.1.0-1-generic (kernel) on top of 
PowerKVM 3.1 host , I assigned 2 cpu to KVM guest and schedule  stress test 
(cpu) for more than 10 hour.

  After ran the test  it having call traces related to
  hung_task_timeout_secs And  system got hung while running the tests .

  
  TEST  was ran : 

  1-stress tool for 10 h stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 
10h
  2- cpu hotplug test (cpustress.sh)

   root@ubuntu:~/cpu_test# cat cpustress.sh
  #!/bin/bash
  var=$1
  END=$1000
  for ((j=1;j<=$END;j++));
  do
  for ((i=0;i<=var;i++));
  do
  echo $i
  test=`cat /sys/devices/system/cpu/cpu$i/online`
  if [ $test == 0 ]
  then
  echo 1 > /sys/devices/system/cpu/cpu$i/online
  else
  echo 0 > /sys/devices/system/cpu/cpu$i/online
  fi
  sleep 2
  `cat /proc/cpuinfo > cpulog.text`
  
  done
  done
  root@ubuntu:~/cpu_test#

  ran parallel  both test .

  
  LOG:

  root@ubuntu:~/cpu_test# 
  [root@powerkvm5-lp1 ~]# 

  root@ubuntu:~# cat /proc/cpuinfo 
  processor : 0
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  processor : 2
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  timebase  : 51200
  platform  : pSeries
  model : IBM pSeries (emulated by qemu)
  machine   : CHRP IBM pSeries (emulated by qemu)
  root@ubuntu:~# 

  
  cat /var/log/syslog

  [ 4440.010656] [c0007700fe30] [c0009560] 
ret_from_kernel_thread+0x5c/0x7c
  [ 4440.010758] INFO: task stress:670 blocked for more than 120 seconds.
  [ 4440.010795]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010831] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.010874] stress  D 3fffa367d488 0   670668 
0x0004
  [ 4440.010876] Call Trace:
  [ 4440.010877] [c0007514f800] [c0007514f850] 0xc0007514f850 
(unreliable)
  [ 4440.010879] [c0007514f9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.010880] [c0007514fa20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.010882] [c0007514faa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.010883] [c0007514fad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.010885] [c0007514fbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.010892] [c0007514fc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.010894] [c0007514fcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.010896] [c0007514fcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.010898] [c0007514fd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.010900] [c0007514fd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.010902] [c0007514fdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.010904] [c0007514fe30] [c0009258] system_call+0x38/0xd0
  [ 4440.010905] INFO: task stress:673 blocked for more than 120 seconds.
  [ 4440.010941]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010977] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.011020] stress  D 3fffa367d488 0   673668 
0x0004
  [ 4440.011022] Call Trace:
  [ 4440.011024] [c0007516b800] [c0007516b890] 0xc0007516b890 
(unreliable)
  [ 4440.011025] [c0007516b9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.011027] [c0007516ba20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.011028] [c0007516baa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.011030] [c0007516bad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.011031] [c0007516bbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.011033] [c0007516bc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.011034] [c0007516bcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.011036] [c0007516bcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.011037] [c0007516bd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.011039] [c0007516bd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.011040] [c0007516bdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.011042] [c00075

[Kernel-packages] [Bug 1486502] Re: Ubuntu15.10: KVM guest got hung (console) while running stress tool (stress tool with cpuhotplug)

2017-02-24 Thread Michael Hohnbaum
** Changed in: linux (Ubuntu)
 Assignee: Taco Screen team (taco-screen-team) => (unassigned)

** Changed in: linux (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1486502

Title:
  Ubuntu15.10: KVM guest  got hung (console) while running stress tool
  (stress tool with cpuhotplug)

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Problem Description
  
I installed Ubuntu15.10 having kernel 4.1.0-1-generic (kernel) on top of 
PowerKVM 3.1 host , I assigned 2 cpu to KVM guest and schedule  stress test 
(cpu) for more than 10 hour.

  After ran the test  it having call traces related to
  hung_task_timeout_secs And  system got hung while running the tests .

  
  TEST  was ran : 

  1-stress tool for 10 h stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 
10h
  2- cpu hotplug test (cpustress.sh)

   root@ubuntu:~/cpu_test# cat cpustress.sh
  #!/bin/bash
  var=$1
  END=$1000
  for ((j=1;j<=$END;j++));
  do
  for ((i=0;i<=var;i++));
  do
  echo $i
  test=`cat /sys/devices/system/cpu/cpu$i/online`
  if [ $test == 0 ]
  then
  echo 1 > /sys/devices/system/cpu/cpu$i/online
  else
  echo 0 > /sys/devices/system/cpu/cpu$i/online
  fi
  sleep 2
  `cat /proc/cpuinfo > cpulog.text`
  
  done
  done
  root@ubuntu:~/cpu_test#

  ran parallel  both test .

  
  LOG:

  root@ubuntu:~/cpu_test# 
  [root@powerkvm5-lp1 ~]# 

  root@ubuntu:~# cat /proc/cpuinfo 
  processor : 0
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  processor : 2
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  timebase  : 51200
  platform  : pSeries
  model : IBM pSeries (emulated by qemu)
  machine   : CHRP IBM pSeries (emulated by qemu)
  root@ubuntu:~# 

  
  cat /var/log/syslog

  [ 4440.010656] [c0007700fe30] [c0009560] 
ret_from_kernel_thread+0x5c/0x7c
  [ 4440.010758] INFO: task stress:670 blocked for more than 120 seconds.
  [ 4440.010795]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010831] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.010874] stress  D 3fffa367d488 0   670668 
0x0004
  [ 4440.010876] Call Trace:
  [ 4440.010877] [c0007514f800] [c0007514f850] 0xc0007514f850 
(unreliable)
  [ 4440.010879] [c0007514f9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.010880] [c0007514fa20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.010882] [c0007514faa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.010883] [c0007514fad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.010885] [c0007514fbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.010892] [c0007514fc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.010894] [c0007514fcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.010896] [c0007514fcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.010898] [c0007514fd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.010900] [c0007514fd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.010902] [c0007514fdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.010904] [c0007514fe30] [c0009258] system_call+0x38/0xd0
  [ 4440.010905] INFO: task stress:673 blocked for more than 120 seconds.
  [ 4440.010941]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010977] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.011020] stress  D 3fffa367d488 0   673668 
0x0004
  [ 4440.011022] Call Trace:
  [ 4440.011024] [c0007516b800] [c0007516b890] 0xc0007516b890 
(unreliable)
  [ 4440.011025] [c0007516b9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.011027] [c0007516ba20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.011028] [c0007516baa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.011030] [c0007516bad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.011031] [c0007516bbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.011033] [c0007516bc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.011034] [c0007516bcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.011036] [c0007516bcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.011037] [c0007516bd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.011039] [c0007516bd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.011040] [c00

[Kernel-packages] [Bug 1486502] Re: Ubuntu15.10: KVM guest got hung (console) while running stress tool (stress tool with cpuhotplug)

2016-09-30 Thread Thierry FAUCK
** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Taco Screen team (taco-screen-team)

** Tags removed: targetmilestone-inin1510
** Tags added: targetmilestone-inin1610

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1486502

Title:
  Ubuntu15.10: KVM guest  got hung (console) while running stress tool
  (stress tool with cpuhotplug)

Status in linux package in Ubuntu:
  New

Bug description:
  Problem Description
  
I installed Ubuntu15.10 having kernel 4.1.0-1-generic (kernel) on top of 
PowerKVM 3.1 host , I assigned 2 cpu to KVM guest and schedule  stress test 
(cpu) for more than 10 hour.

  After ran the test  it having call traces related to
  hung_task_timeout_secs And  system got hung while running the tests .

  
  TEST  was ran : 

  1-stress tool for 10 h stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 
10h
  2- cpu hotplug test (cpustress.sh)

   root@ubuntu:~/cpu_test# cat cpustress.sh
  #!/bin/bash
  var=$1
  END=$1000
  for ((j=1;j<=$END;j++));
  do
  for ((i=0;i<=var;i++));
  do
  echo $i
  test=`cat /sys/devices/system/cpu/cpu$i/online`
  if [ $test == 0 ]
  then
  echo 1 > /sys/devices/system/cpu/cpu$i/online
  else
  echo 0 > /sys/devices/system/cpu/cpu$i/online
  fi
  sleep 2
  `cat /proc/cpuinfo > cpulog.text`
  
  done
  done
  root@ubuntu:~/cpu_test#

  ran parallel  both test .

  
  LOG:

  root@ubuntu:~/cpu_test# 
  [root@powerkvm5-lp1 ~]# 

  root@ubuntu:~# cat /proc/cpuinfo 
  processor : 0
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  processor : 2
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  timebase  : 51200
  platform  : pSeries
  model : IBM pSeries (emulated by qemu)
  machine   : CHRP IBM pSeries (emulated by qemu)
  root@ubuntu:~# 

  
  cat /var/log/syslog

  [ 4440.010656] [c0007700fe30] [c0009560] 
ret_from_kernel_thread+0x5c/0x7c
  [ 4440.010758] INFO: task stress:670 blocked for more than 120 seconds.
  [ 4440.010795]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010831] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.010874] stress  D 3fffa367d488 0   670668 
0x0004
  [ 4440.010876] Call Trace:
  [ 4440.010877] [c0007514f800] [c0007514f850] 0xc0007514f850 
(unreliable)
  [ 4440.010879] [c0007514f9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.010880] [c0007514fa20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.010882] [c0007514faa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.010883] [c0007514fad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.010885] [c0007514fbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.010892] [c0007514fc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.010894] [c0007514fcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.010896] [c0007514fcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.010898] [c0007514fd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.010900] [c0007514fd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.010902] [c0007514fdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.010904] [c0007514fe30] [c0009258] system_call+0x38/0xd0
  [ 4440.010905] INFO: task stress:673 blocked for more than 120 seconds.
  [ 4440.010941]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010977] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.011020] stress  D 3fffa367d488 0   673668 
0x0004
  [ 4440.011022] Call Trace:
  [ 4440.011024] [c0007516b800] [c0007516b890] 0xc0007516b890 
(unreliable)
  [ 4440.011025] [c0007516b9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.011027] [c0007516ba20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.011028] [c0007516baa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.011030] [c0007516bad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.011031] [c0007516bbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.011033] [c0007516bc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.011034] [c0007516bcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.011036] [c0007516bcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.011037] [c0007516bd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.011039] [c0007516bd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 444

[Kernel-packages] [Bug 1486502] Re: Ubuntu15.10: KVM guest got hung (console) while running stress tool (stress tool with cpuhotplug)

2016-03-04 Thread bugproxy
** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin1510

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1486502

Title:
  Ubuntu15.10: KVM guest  got hung (console) while running stress tool
  (stress tool with cpuhotplug)

Status in linux package in Ubuntu:
  New

Bug description:
  Problem Description
  
I installed Ubuntu15.10 having kernel 4.1.0-1-generic (kernel) on top of 
PowerKVM 3.1 host , I assigned 2 cpu to KVM guest and schedule  stress test 
(cpu) for more than 10 hour.

  After ran the test  it having call traces related to
  hung_task_timeout_secs And  system got hung while running the tests .

  
  TEST  was ran : 

  1-stress tool for 10 h stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 
10h
  2- cpu hotplug test (cpustress.sh)

   root@ubuntu:~/cpu_test# cat cpustress.sh
  #!/bin/bash
  var=$1
  END=$1000
  for ((j=1;j<=$END;j++));
  do
  for ((i=0;i<=var;i++));
  do
  echo $i
  test=`cat /sys/devices/system/cpu/cpu$i/online`
  if [ $test == 0 ]
  then
  echo 1 > /sys/devices/system/cpu/cpu$i/online
  else
  echo 0 > /sys/devices/system/cpu/cpu$i/online
  fi
  sleep 2
  `cat /proc/cpuinfo > cpulog.text`
  
  done
  done
  root@ubuntu:~/cpu_test#

  ran parallel  both test .

  
  LOG:

  root@ubuntu:~/cpu_test# 
  [root@powerkvm5-lp1 ~]# 

  root@ubuntu:~# cat /proc/cpuinfo 
  processor : 0
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  processor : 2
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  timebase  : 51200
  platform  : pSeries
  model : IBM pSeries (emulated by qemu)
  machine   : CHRP IBM pSeries (emulated by qemu)
  root@ubuntu:~# 

  
  cat /var/log/syslog

  [ 4440.010656] [c0007700fe30] [c0009560] 
ret_from_kernel_thread+0x5c/0x7c
  [ 4440.010758] INFO: task stress:670 blocked for more than 120 seconds.
  [ 4440.010795]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010831] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.010874] stress  D 3fffa367d488 0   670668 
0x0004
  [ 4440.010876] Call Trace:
  [ 4440.010877] [c0007514f800] [c0007514f850] 0xc0007514f850 
(unreliable)
  [ 4440.010879] [c0007514f9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.010880] [c0007514fa20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.010882] [c0007514faa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.010883] [c0007514fad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.010885] [c0007514fbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.010892] [c0007514fc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.010894] [c0007514fcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.010896] [c0007514fcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.010898] [c0007514fd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.010900] [c0007514fd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.010902] [c0007514fdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.010904] [c0007514fe30] [c0009258] system_call+0x38/0xd0
  [ 4440.010905] INFO: task stress:673 blocked for more than 120 seconds.
  [ 4440.010941]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010977] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.011020] stress  D 3fffa367d488 0   673668 
0x0004
  [ 4440.011022] Call Trace:
  [ 4440.011024] [c0007516b800] [c0007516b890] 0xc0007516b890 
(unreliable)
  [ 4440.011025] [c0007516b9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.011027] [c0007516ba20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.011028] [c0007516baa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.011030] [c0007516bad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.011031] [c0007516bbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.011033] [c0007516bc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.011034] [c0007516bcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.011036] [c0007516bcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.011037] [c0007516bd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.011039] [c0007516bd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.011040] [c0007516bdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.011042] [c0007516be

[Kernel-packages] [Bug 1486502] Re: Ubuntu15.10: KVM guest got hung (console) while running stress tool (stress tool with cpuhotplug)

2015-08-19 Thread Brian Murray
** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1486502

Title:
  Ubuntu15.10: KVM guest  got hung (console) while running stress tool
  (stress tool with cpuhotplug)

Status in linux package in Ubuntu:
  New

Bug description:
  Problem Description
  
I installed Ubuntu15.10 having kernel 4.1.0-1-generic (kernel) on top of 
PowerKVM 3.1 host , I assigned 2 cpu to KVM guest and schedule  stress test 
(cpu) for more than 10 hour.

  After ran the test  it having call traces related to
  hung_task_timeout_secs And  system got hung while running the tests .

  
  TEST  was ran : 

  1-stress tool for 10 h stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 
10h
  2- cpu hotplug test (cpustress.sh)

   root@ubuntu:~/cpu_test# cat cpustress.sh
  #!/bin/bash
  var=$1
  END=$1000
  for ((j=1;j<=$END;j++));
  do
  for ((i=0;i<=var;i++));
  do
  echo $i
  test=`cat /sys/devices/system/cpu/cpu$i/online`
  if [ $test == 0 ]
  then
  echo 1 > /sys/devices/system/cpu/cpu$i/online
  else
  echo 0 > /sys/devices/system/cpu/cpu$i/online
  fi
  sleep 2
  `cat /proc/cpuinfo > cpulog.text`
  
  done
  done
  root@ubuntu:~/cpu_test#

  ran parallel  both test .

  
  LOG:

  root@ubuntu:~/cpu_test# 
  [root@powerkvm5-lp1 ~]# 

  root@ubuntu:~# cat /proc/cpuinfo 
  processor : 0
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  processor : 2
  cpu   : POWER8E (raw), altivec supported
  clock : 4157.00MHz
  revision  : 2.1 (pvr 004b 0201)

  timebase  : 51200
  platform  : pSeries
  model : IBM pSeries (emulated by qemu)
  machine   : CHRP IBM pSeries (emulated by qemu)
  root@ubuntu:~# 

  
  cat /var/log/syslog

  [ 4440.010656] [c0007700fe30] [c0009560] 
ret_from_kernel_thread+0x5c/0x7c
  [ 4440.010758] INFO: task stress:670 blocked for more than 120 seconds.
  [ 4440.010795]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010831] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.010874] stress  D 3fffa367d488 0   670668 
0x0004
  [ 4440.010876] Call Trace:
  [ 4440.010877] [c0007514f800] [c0007514f850] 0xc0007514f850 
(unreliable)
  [ 4440.010879] [c0007514f9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.010880] [c0007514fa20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.010882] [c0007514faa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.010883] [c0007514fad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.010885] [c0007514fbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.010892] [c0007514fc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.010894] [c0007514fcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.010896] [c0007514fcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.010898] [c0007514fd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.010900] [c0007514fd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.010902] [c0007514fdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.010904] [c0007514fe30] [c0009258] system_call+0x38/0xd0
  [ 4440.010905] INFO: task stress:673 blocked for more than 120 seconds.
  [ 4440.010941]   Tainted: GWL  4.1.0-1-generic #7-Ubuntu
  [ 4440.010977] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [ 4440.011020] stress  D 3fffa367d488 0   673668 
0x0004
  [ 4440.011022] Call Trace:
  [ 4440.011024] [c0007516b800] [c0007516b890] 0xc0007516b890 
(unreliable)
  [ 4440.011025] [c0007516b9d0] [c00157cc] __switch_to+0x1fc/0x350
  [ 4440.011027] [c0007516ba20] [c0a3f2a0] __schedule+0x350/0x8a0
  [ 4440.011028] [c0007516baa0] [c0a3f834] schedule+0x44/0xc0
  [ 4440.011030] [c0007516bad0] [c0a438d4] 
schedule_timeout+0x254/0x2f0
  [ 4440.011031] [c0007516bbc0] [c0a4085c] 
wait_for_common+0xec/0x240
  [ 4440.011033] [c0007516bc40] [c04d4cc4] submit_bio_wait+0x84/0xb0
  [ 4440.011034] [c0007516bcb0] [c04e6e08] 
blkdev_issue_flush+0x88/0xe0
  [ 4440.011036] [c0007516bcf0] [c0394e0c] ext4_sync_fs+0x1ac/0x280
  [ 4440.011037] [c0007516bd50] [c02fc1c0] sync_fs_one_sb+0x60/0x80
  [ 4440.011039] [c0007516bd80] [c02ba768] 
iterate_supers+0x1b8/0x200
  [ 4440.011040] [c0007516bdf0] [c02fc368] sys_sync+0x78/0xf0
  [ 4440.011042] [c0007516be30] [c0009258] system_call+0