On 08/24/2018 09:04 AM, Mark Hamzy wrote:
From: Sandro Bonazzola sbonazzo@redhat.com To: "The CentOS developers mailing list." centos-devel@centos.org Date: 08/22/2018 03:53 AM Subject: Re: [CentOS-devel] Release for CentOS Linux 7 (1804) on POWER9 (ppc64le) Sent by: "CentOS-devel" centos-devel-bounces@centos.org
2018-08-22 10:49 GMT+02:00 Fabian Arrotin arrfab@centos.org: On 22/08/18 10:44, Sandro Bonazzola wrote:
This is a great news. Can we have a power9 arch repo in http://mirror.centos.org/altarch/7/virt/as well? I guess other SIGs are in same situation.
$basearch on Power9 is still ppc64le, so it should just work ? At least that's what I was told, as we have no Power9 to test it :)
Can anybody with a power9 environment test it and give feedback?
[hamzy@pkvmci901 ~]$ uname -a Linux pkvmci901.pok.stglabs.ibm.com 4.14.0-49.el7a.ppc64le #1 SMP Mon Aug 6 16:14:35 GMT 2018 ppc64le ppc64le ppc64le GNU/Linux [hamzy@pkvmci901 ~]$ head /proc/cpuinfo processor : 0 cpu : POWER9, altivec supported clock : 2166.000000MHz revision : 2.2 (pvr 004e 1202) ... [hamzy@pkvmci901 ~]$ sudo yum install -y centos-release-virt-common centos-release-qemu-ev [hamzy@pkvmci901 ~]$ sudo yum install -y qemu-kvm-ev libvirt virt-install [hamzy@pkvmci901 ~]$ sudo systemctl enable libvirtd.service; sudo systemctl start libvirtd.service [hamzy@pkvmci901 ~]$ sudo usermod -a -G qemu hamzy [hamzy@pkvmci901 ~]$ chmod o+rx ~/ [hamzy@pkvmci901 ~]$ qemu-img create -f qcow2 HamzyTest.qcow2 10G [hamzy@pkvmci901 ~]$ sudo virt-install --virt-type kvm --name HamzyTest --memory 8192 --graphics none --disk HamzyTest.qcow2,format=qcow2 --network=bridge:virbr0 --os-type=linux --os-variant=rhel7.4 --location=http://mirror.centos.org/altarch/7.5.1804/os/power9/ --extra-args="inst.text console=tty0 console=ttyS0,115200"
But then the installer immediately drops to the shell. :(
[anaconda root@localhost /]#
Buy, hey, RHEL does this as well.
Looks like to me that this issue is what arch is supported by qemu-kvm, right? Or there is an error caused by the new lorax/anaconda tree.
You could, theoretically, install the VM from ppc64le tree, then change your repo files to point to the power9 tree and upgrade.
I think the stock ARCH type from qemu would be ppc64le (power8) and its not really emulating power9, right?