[CentOS-devel] Release for CentOS Linux 7 (1804) on POWER9(ppc64le)

Sat Aug 25 11:01:10 UTC 2018
Johnny Hughes <johnny at centos.org>

On 08/24/2018 09:04 AM, Mark Hamzy wrote:
>> From: Sandro Bonazzola <sbonazzo at redhat.com>
>> To: "The CentOS developers mailing list." <centos-devel at 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 at centos.org>
>>
>> 2018-08-22 10:49 GMT+02:00 Fabian Arrotin <arrfab at 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 at 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 at pkvmci901 ~]$ head /proc/cpuinfo
> processor       : 0
> cpu             : POWER9, altivec supported
> clock           : 2166.000000MHz
> revision        : 2.2 (pvr 004e 1202)
> ...
> [hamzy at pkvmci901 ~]$ sudo yum install -y centos-release-virt-common
> centos-release-qemu-ev
> [hamzy at pkvmci901 ~]$ sudo yum install -y qemu-kvm-ev libvirt virt-install
> [hamzy at pkvmci901 ~]$ sudo systemctl enable libvirtd.service; sudo
> systemctl start libvirtd.service
> [hamzy at pkvmci901 ~]$ sudo usermod -a -G qemu hamzy
> [hamzy at pkvmci901 ~]$ chmod o+rx ~/
> [hamzy at pkvmci901 ~]$ qemu-img create -f qcow2 HamzyTest.qcow2 10G
> [hamzy at 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 at 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?




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20180825/647b6698/attachment-0008.sig>