← Back to team overview

kernel-packages team mailing list archive

[Bug 1428351] [NEW] ISST-LTE: LPM on Ubuntu15.04 lpar hangs.

 

You have been subscribed to a public bug:

Defect Description:
---------------------------

LPM on Ubuntu15.04 LE lpar hangs at 0%. I tried it twice and waited for
more then 1 hour but there was not progress.

Details:
----------
1. LPM stuck at 0% 
2. No work load tests are running on lpar.
3. Lpar is accessible though out on source CEC side.
4. Destination CEC shows lpar reference code as: "End powering on VIO slots".


Machine version details:
-------------------

root@highlp3:~# uname -a
Linux highlp3 3.18.0-13-generic #14-Ubuntu SMP Fri Feb 6 09:57:41 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@highlp3:~#


root@highlp3:~# cat /etc/issue
Ubuntu Vivid Vervet (development branch) \n \l


VIOS version: 2.2.3.3
Source firmware: b0211p_1507.811
Destination firmware: b0211p_1507.811


Steps to recreate:
-----------------------
1. Install Ubuntu15.04 LE on a lpar.
2. Setup LPM environment (install RMC and RSCT packages).
3. Execute LPM operation on HMC.

First, there is a kernel fix needed to make sure the stream id is passed
in cpu endian during hcall to check VASI state. The following in the
dmesg log confirms that this issue is present:

[  666.978230] rtas_ibm_suspend_me: vasi_state returned -4

This is the relevant upstream commit:

commit 3df76a9dcc74d5f012b94ea01ed6e7aaf8362c5a
Author: Cyril Bur <cyrilbur@xxxxxxxxx>
Date:   Wed Jan 21 13:32:00 2015 +1100

    powerpc/pseries: Fix endian problems with LE migration


Just found that this commit took part of kernel 3.19, which is going to be the default kernel for 15.04, so, we don't need to worry about asking Canonical to integrated it. 

#  git checkout v3.19-rc7
# git show 3df76a9dcc74d5f012b94ea01ed6e7aaf8362c5a

I have updated the kernel in lpar.

root@highlp3:~# dpkg -l | grep linux | grep 3.19.0-6
ii  linux-image-3.19.0-6-generic        3.19.0-6.6                   ppc64el      Linux kernel image for version 3.19.0 on PowerPC 64el SMP
ii  linux-image-extra-3.19.0-6-generic  3.19.0-6.6                   ppc64el      Linux kernel extra modules for version 3.19.0 on PowerPC 64el SMP

Still LPM is getting hang. The difference is last time it got hung at 0%
this time it got hung at 99%.

I can't seem to get the console on the desintation even after a rmvterm.
I checked the cpus from the phyp debug console and all of the cpus seem
to be stuck at the same place.

NIA   C0000000000809AC MSR   8000000100009033 LR   C00000000087D7B4

Can you please recover the lpar and look up the following addresses
using addr2line:

addr2line -e <path to vmlinuz> C0000000000809AC
addr2line -e <path to vmlinuz> C00000000087D7B4

And please install the kernel source as well so we can cross reference
those lines within the kernel.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bugnameltc-121922 severity-critical targetmilestone-inin---
-- 
ISST-LTE: LPM on Ubuntu15.04 lpar hangs.
https://bugs.launchpad.net/bugs/1428351
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.