On 07/02/2022 16.01, Alessio wrote:> Hello. > I had a CentOS Stream 9 installation in a KVM VM. > Today a "dnf upgrade" lead to an unusable system: dnf, rpm commands > complain that "glibc cpu does not support x86-64-v2" or "CPU ISA level > is lower than required". > The updates leading to this state seem to be: python3 3.9.10-1, glibc > 2.34-21, rpm 4.16.1.3-10 > > What happened?glibc-2.34-20 includes a fix to more reliable detect CPU compatibility. See Bug https://bugzilla.redhat.com/show_bug.cgi?id=2040657 Does your CPU support x86-64-v2? CentOS Stream for AMD and Intel 64-bit architectures requires at least x86-64-v2. See [1] for some background. [1]: https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#architectural_considerations_for_rhel_9> Thanks, > A. > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
On Mon, 2022-02-07 at 16:20 +0100, Peter Georg wrote:> glibc-2.34-20 includes a fix to more reliable detect CPU > compatibility. > See Bug https://bugzilla.redhat.com/show_bug.cgi?id=2040657 > > Does your CPU support x86-64-v2?The KVM version I'm using doesn't support that? Could it be? However I was able to install CentOS Stream 9 from the ISO in this VM. So it wasn't supposed to work? Thanks, A.
> On 07/02/2022 16.01, Alessio wrote: >> Hello. >> I had a CentOS Stream 9 installation in a KVM VM. >> Today a "dnf upgrade" lead to an unusable system: dnf, rpm commands >> complain that "glibc cpu does not support x86-64-v2" or "CPU ISA level >> is lower than required". >> The updates leading to this state seem to be: python3 3.9.10-1, glibc >> 2.34-21, rpm 4.16.1.3-10 >> >> What happened? > > glibc-2.34-20 includes a fix to more reliable detect CPU compatibility. > See Bug https://bugzilla.redhat.com/show_bug.cgi?id=2040657 > > Does your CPU support x86-64-v2? > > CentOS Stream for AMD and Intel 64-bit architectures requires at least > x86-64-v2. See [1] for some background. > > [1]: > https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#architectural_considerations_for_rhel_9Is there an easy way to figure out if a CPU does support x86-64-v2? Something like a list of CPU families or a list of flags to check? Regards, Simon