Dear team Is it possible of downgrade the kernel in Centos 8 to any kernel from Centos 7 (or even latest kernel from Censto 7 Series) ? Has this been disabled intensionally or it will not work all together
Thanks and regards Akshar
On 2/4/20 4:03 AM, Akshar Kanak wrote:
Dear team Is it possible of downgrade the kernel in Centos 8 to any kernel from Centos 7 (or even latest kernel from Censto 7 Series) ? Has this been disabled intensionally or it will not work all together
No, CentOS-8 uses different shared libraries and a different version of the compiler than CentOS-7, so you can not run items compiled for CentOS-7 on CentOS-8.
On 2/4/20 11:33 PM, Dimitri Zelenkin via CentOS wrote:
Johnny Hughes wrote:
No, CentOS-8 uses different shared libraries and a different version of the compiler than CentOS-7, so you can not run items compiled for CentOS-7 on CentOS-8.
The kernel does not rely on userspace libraries.
[hughesjr@inspiron11 kernel]$ rpm -q --requires kernel kernel-core-uname-r = 4.18.0-147.6.el8.x86_64 kernel-modules-uname-r = 4.18.0-147.6.el8.x86_64 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 kernel-core-uname-r = 4.18.0-151.el8.x86_64 kernel-modules-uname-r = 4.18.0-151.el8.x86_64 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 kernel-core-uname-r = 4.18.0-168.el8.x86_64 kernel-modules-uname-r = 4.18.0-168.el8.x86_64 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1
[hughesjr@inspiron11 kernel]$ rpm -q --requires kernel-core /bin/sh /bin/sh /bin/sh /usr/bin/kernel-install coreutils dracut >= 027 linux-firmware >= 20150904-56.git6ebf5d57 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 systemd >= 200 systemd >= 203-2 /bin/sh /bin/sh /bin/sh /usr/bin/kernel-install coreutils dracut >= 027 linux-firmware >= 20150904-56.git6ebf5d57 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 systemd >= 200 systemd >= 203-2 /bin/sh /bin/sh /bin/sh /usr/bin/kernel-install coreutils dracut >= 027 linux-firmware >= 20191202-96.gite8a0f4c9 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 systemd >= 200 systemd >= 203-2
[hughesjr@inspiron11 kernel]$ rpm -q --conflicts kernel-core xfsprogs < 4.3.0-1 xorg-x11-drv-vmmouse < 13.0.99 xfsprogs < 4.3.0-1 xorg-x11-drv-vmmouse < 13.0.99 xfsprogs < 4.3.0-1 xorg-x11-drv-vmmouse < 13.0.99
[hughesjr@inspiron11 kernel]$ rpm -q --requires kernel-tools /usr/libexec/platform-python config(kernel-tools) = 4.18.0-168.el8 kernel-tools-libs = 4.18.0-168.el8 libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcpupower.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libncursesw.so.6()(64bit) libpanelw.so.6()(64bit) libpci.so.3()(64bit) libpci.so.3(LIBPCI_3.0)(64bit) libpci.so.3(LIBPCI_3.3)(64bit) libpci.so.3(LIBPCI_3.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libtinfo.so.6()(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 rtld(GNU_HASH)
Johnny Hughes wrote:
On 2/4/20 11:33 PM, Dimitri Zelenkin via CentOS wrote:
Johnny Hughes wrote:
No, CentOS-8 uses different shared libraries and a different version of the compiler than CentOS-7, so you can not run items compiled for CentOS-7 on CentOS-8.
The kernel does not rely on userspace libraries.
[...]
Well, maybe as a package it does. I meant that it's not a dynamic executable linked to particular version of glibc.
On 2/6/20 6:12 AM, Dimitri Zelenkin via CentOS wrote:
Johnny Hughes wrote:
On 2/4/20 11:33 PM, Dimitri Zelenkin via CentOS wrote:
Johnny Hughes wrote:
No, CentOS-8 uses different shared libraries and a different version of the compiler than CentOS-7, so you can not run items compiled for CentOS-7 on CentOS-8.
The kernel does not rely on userspace libraries.
[...]
Well, maybe as a package it does. I meant that it's not a dynamic executable linked to particular version of glibc.
That is certainly correct .. and you could LIKELY rebuild the el7 source code on el8 and make it work. but taking the built version for el7 and trying to run it directly on on el8 will likely cause issues.