Ubuntu18.04[P9 DD2.2 Boston]:Unable to boot power8 compat mode guests(ubuntu14.04.5) (kvm)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Critical
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Bionic |
Fix Released
|
Critical
|
Unassigned |
Bug Description
== Comment: #0 - Praveen K. Pandey <email address hidden> - 2018-03-15 03:18:46 ==
Problem Description :
As Ubuntu18.04 as KVM Host installation of ubuntu ubuntu14.04.5 kvm guest is hung to so not able to install using virt-install command
Reproducible Step:
1- Install ubuntu18.04 on Boston DD2.2
2- Configure system as KVM host
3- get ubuntu-
4- start installation using virt-install using ubuntu-14.04.5 iso
LOG:
OF stdout device is: /vdevice/
Preparing to boot Linux version 4.4.0-31-generic (buildd@
Detected machine type: 0000000000000101
Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
Calling ibm,client-
----- it hung here --------------
root@system :/var/lib/
Linux system4.
root@lsystem:
root@system:
Formatting 'pra-ubuntu14.
root@system:
WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media
Starting install...
Connected to domain PRA-1404.5_vm1
Escape character is ^]
Populating /vdevice methods
Populating /vdevice/
Populating /vdevice/
Populating /pci@8000000200
Populating /pci@8000000200
SCSI: Looking for devices
No NVRAM common partition, re-initializing...
Scanning USB
XHCI: Initializing
Using default console: /vdevice/
Welcome to Open Firmware
Copyright (c) 2004, 2017 IBM Corporation All rights reserved.
This program and the accompanying materials are made available
under the terms of the BSD License available at
http://
Trying to load: from: /pci@8000000200
|*Install |
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line.
OF stdout device is: /vdevice/
Preparing to boot Linux version 4.4.0-31-generic (buildd@
Detected machine type: 0000000000000101
Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
Calling ibm,client-
Regards
Praveen
== Comment: #1 - Harish Sriram <email address hidden> - 2018-03-15 04:12:37 ==
With P8 compat added to XML guest does not boot up.
<cpu mode='host-model' check='partial'>
<model fallback=
<topology sockets='1' cores='1' threads='4'/>
</cpu>
# virsh start kal-bionic_vm2 --console
Domain kal-bionic_vm2 started
Connected to domain kal-bionic_vm2
Escape character is ^]
- Harish
== Comment: #5 - Satheesh Rajendran <email address hidden> - 2018-03-15 06:34:29 ==
Looks like we need a SMT=off and /sys/module/
# uname -a
Linux ltc-bostonxx 4.15.0-12-generic #13-Ubuntu SMP Wed Mar 7 21:37:03 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
Paul,
Pls let us know which patches to be included ?
Thanks in advance.
Regards,
-Satheesh.
== Comment: #6 - Praveen K. Pandey <email address hidden> - 2018-03-15 07:36:25 ==
(In reply to comment #5)
> Looks like we need a SMT=off and
> /sys/module/
> Power9 DD2.2, on ubuntu18.04 kernel,
>
> # uname -a
> Linux ltc-bostonxx 4.15.0-12-generic #13-Ubuntu SMP Wed Mar 7 21:37:03 UTC
> 2018 ppc64le ppc64le ppc64le GNU/Linux
>
> Paul,
>
> Pls let us know which patches to be included ?
> Thanks in advance.
>
> Regards,
> -Satheesh.
Hi Satheesh ,
Seems me still not working with work around
root@ltc-
N
root@ltc-
SMT is off
root@ltc-
root@ltc-
Domain PRA-bionic_vm1 started
Connected to domain PRA-bionic_vm1
Escape character is ^]
root@ltc-
root@ltc-
Linux ltc-boston122 4.15.0-12-generic #13-Ubuntu SMP Wed Mar 7 21:37:03 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
root@ltc-
I am trying to boot already install ubuntu18.04 guest on p8 mode using xml entry .
Regards
Praveen
== Comment: #9 - Harish Sriram <email address hidden> - 2018-03-15 07:51:02 ==
Tired with 16 04/ 18 04 guest as P8 compat. Still facing the same issue.
PNOR is in the latest "version-
- Harish
== Comment: #10 - Satheesh Rajendran <email address hidden> - 2018-03-15 08:15:01 ==
Looks like this kernel patch is missing in ubuntu 18.04,
commit 00608e1f007e4cf
Author: Paul Mackerras <email address hidden>
Date: Thu Jan 11 16:54:26 2018 +1100
KVM: PPC: Book3S HV: Allow HPT and radix on the same core for POWER9 v2.2
POWER9 chip versions starting with "Nimbus" v2.2 can support running
with some threads of a core in HPT mode and others in radix mode.
This means that we don't have to prohibit independent-threads mode
when running a HPT guest on a radix host, and we don't have to do any
of the synchronization between threads that was introduced in commit
c01015091a77 ("KVM: PPC: Book3S HV: Run HPT guests on POWER9 radix
hosts", 2017-10-19).
Rather than using up another CPU feature bit, we just do an
explicit test on the PVR (processor version register) at module
startup time to determine whether we have to take steps to avoid
having some threads in HPT mode and some in radix mode (so-called
"mixed mode"). We test for "Nimbus" (indicated by 0 or 1 in the top
nibble of the lower 16 bits) v2.2 or later, or "Cumulus" (indicated by
2 or 3 in that nibble) v1.1 or later.
Signed-off-by: Paul Mackerras <email address hidden>
Regards,
-Satheesh
tags: | added: architecture-ppc64le bugnameltc-165741 severity-critical targetmilestone-inin1804 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → kernel-package (Ubuntu) |
affects: | kernel-package (Ubuntu) → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in ubuntu-power-systems: | |
importance: | High → Critical |
Changed in linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
importance: | Undecided → Critical |
tags: | added: triage-g |
Changed in linux (Ubuntu Bionic): | |
status: | New → Triaged |
status: | Triaged → In Progress |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Joseph Salisbury (jsalisbury) |
tags: | removed: bugnameltc-165741 severity-critical triage-g |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: | added: triage-g |
Changed in ubuntu-power-systems: | |
status: | Triaged → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
Request for Bionic submitted: /lists. ubuntu. com/archives/ kernel- team/2018- March/090885. html
https:/