Add CMA to Centos 8.2
Add CMA to Centos 8.2
Hello,
In order to add CMA I had to change the kernel configuration.
So I followed:
https://wiki.centos.org/HowTos/Custom_Kernel
When I got to: rpmbuild -bb --target=`uname -m` kernel.spec
I got an error:
Failed to find dependencies:
dwarves is needed by kernel-4.18.0-193.el18.x86_64
libbpf-devel is needed by kernel-4.18.0-193.el18.x86_64
I tried to search for the 2 missing RPMS but then I got other dependency errors.
Is it possible to install the 2 missing RPMs with yum install ? How ?
I tried : yum install dwarves but failed.
Thank you,
Zvika
In order to add CMA I had to change the kernel configuration.
So I followed:
https://wiki.centos.org/HowTos/Custom_Kernel
When I got to: rpmbuild -bb --target=`uname -m` kernel.spec
I got an error:
Failed to find dependencies:
dwarves is needed by kernel-4.18.0-193.el18.x86_64
libbpf-devel is needed by kernel-4.18.0-193.el18.x86_64
I tried to search for the 2 missing RPMS but then I got other dependency errors.
Is it possible to install the 2 missing RPMs with yum install ? How ?
I tried : yum install dwarves but failed.
Thank you,
Zvika
Re: Add CMA to Centos 8.2
libbpf is in the powertools repo )disabled by default)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Add CMA to Centos 8.2
Hello,
Thank you very much for your reply.
Where should I download powertools repo for 8.2 ?
Should I install it with : yum install ?
Unfortunatelly, I'm working in an offline PC (without Internet)
Best regards
Zvika
Thank you very much for your reply.
Where should I download powertools repo for 8.2 ?
Should I install it with : yum install ?
Unfortunatelly, I'm working in an offline PC (without Internet)
Best regards
Zvika
Re: Add CMA to Centos 8.2
Powertools is a standard repo but it is disabled by default. You just need to edit the repo file and enable it (or use yum-config-manager).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Add CMA to Centos 8.2
The 'powertools' is a CentOS repo just like the 'baseos', 'appstream', and 'extras'. (Oh, and the repo names were different in 8.2 ...)
8.2.2004/readme wrote:This directory (and version of CentOS) is deprecated. Please see this FAQ concerning the CentOS release scheme:
https://wiki.centos.org/FAQ/General
If you know what you are doing, and absolutely want to remain at the 8.2.2004 level, go to http://vault.centos.org/ for packages.
Please keep in mind that 8.2.2004 no longer gets any updates, nor any security fix's.
Re: Add CMA to Centos 8.2
Hello,
I installed the PC from a DOK burned with the ISO downloaded from:
https://vault.centos.org/8.2.2004/isos/x86_64/
Size: 7.7G
The ISO contains AppStream, BaseOS but no "extra" folder.
Can you please help ?
Thank you very much,
Zvika
I installed the PC from a DOK burned with the ISO downloaded from:
https://vault.centos.org/8.2.2004/isos/x86_64/
Size: 7.7G
The ISO contains AppStream, BaseOS but no "extra" folder.
Can you please help ?
Thank you very much,
Zvika
Re: Add CMA to Centos 8.2
All CentOS 8 versions ship with the same repo configuration. The file you need to look at is in /etc/yum.repos.d and will be called something like CentOS-Linux-PowerTools.repo though the case of the name may vary (some bright spark had the great idea of lowercasing all repo names).
Also, you should not be running 8.2 at all - it's out of date and insecure and was replaced by first 8.3 and now 8.4. You can `yum update` from 8.2 to 8.4 in one go.
Also, you should not be running 8.2 at all - it's out of date and insecure and was replaced by first 8.3 and now 8.4. You can `yum update` from 8.2 to 8.4 in one go.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Add CMA to Centos 8.2
Code: Select all
# dnf repolist all
repo id repo name
appstream CentOS Linux 8 - AppStream
baseos CentOS Linux 8 - BaseOS
extras CentOS Linux 8 - Extras
fasttrack CentOS Linux 8 - FastTrack
ha CentOS Linux 8 - HighAvailability
media-appstream CentOS Linux 8 - Media - AppStream
media-baseos CentOS Linux 8 - Media - BaseOS
plus CentOS Linux 8 - Plus
powertools CentOS Linux 8 - PowerTools
and enable the local media versions: media-baseos and media-appstream.
Apparently there is no "media-powertools" repo definition, i.e. no packages on the media.
Re: Add CMA to Centos 8.2
Hello,
I found the following URL:
https://vault.centos.org/8.2.2004/extras/x86_64/os/
Is it wise to download all files into the target PC, modify local.repo and run "yum install" ?
Thank you,
Zvika
I found the following URL:
https://vault.centos.org/8.2.2004/extras/x86_64/os/
Is it wise to download all files into the target PC, modify local.repo and run "yum install" ?
Thank you,
Zvika
Re: Add CMA to Centos 8.2
That's not going to help you since that url is for the extras repo.
If this is an installed system then you already have the powertools repo definition in /etc/yum.repos.d and you just need to edit the file and change enabled=0 to 1 and save it. You can also run dnf repolist all and you will see it listed there, disabled.
If this is an installed system then you already have the powertools repo definition in /etc/yum.repos.d and you just need to edit the file and change enabled=0 to 1 and save it. You can also run dnf repolist all and you will see it listed there, disabled.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke