VMware Communities
kaengo
Enthusiast
Enthusiast
Jump to solution

where are the kernel headers???

Hello

I want to install vmware player on CentOS 7.5

I have updated the kernel using elrepo to

uname -sr

Linux 4.18.3-1.el7.elrepo.x86_64

All headers are installed:

yum list installed |  grep kernel

abrt-addon-kerneloops.x86_64          2.1.11-50.el7.centos       @anaconda     

kernel.x86_64                         3.10.0-862.el7             @anaconda     

kernel.x86_64                         3.10.0-862.9.1.el7         @updates      

kernel.x86_64                         3.10.0-862.11.6.el7        @updates      

kernel-ml.x86_64                      4.18.3-1.el7.elrepo        @elrepo-kernel

kernel-ml-devel.x86_64                4.18.5-1.el7.elrepo        @elrepo-kernel

kernel-ml-headers.x86_64              4.18.5-1.el7.elrepo        @elrepo-kernel

kernel-ml-tools.x86_64                4.18.5-1.el7.elrepo        @elrepo-kernel

kernel-ml-tools-libs.x86_64           4.18.5-1.el7.elrepo        @elrepo-kernel

after the update, I installed the amd graphics driver

for radeon rx580 using amdgpu-install

Installation of vmwae player went well.

At first start of vmware player, I get the message, that he can't find the headers.

But the headers are installed!!!

cd /usr/src/kernels

ls -la

drwxr-xr-x.  3 root root   40 Aug 26 15:28 .

drwxr-xr-x.  6 root root   78 Aug 26 15:07 ..

drwxr-xr-x. 23 root root 4096 Aug 26 15:27 4.18.5-1.el7.elrepo.x86_64

What ist the matter?

Greetings,

Holger

Reply
0 Kudos
1 Solution

Accepted Solutions
kaengo
Enthusiast
Enthusiast
Jump to solution

Yes, of cause I have rebooted the kernel.

But the problem is solved.

After update to kernel 4.18.7 today,

vmware player is running

View solution in original post

Reply
0 Kudos
7 Replies
bonnie201110141
VMware Employee
VMware Employee
Jump to solution

Kernel headers should be exactly the same version as kernels. You can use "yum install kenel-devel-`name -r`" to install kernel headers with the same version.

Reply
0 Kudos
kaengo
Enthusiast
Enthusiast
Jump to solution

Sorry the time gap, I worked the last weeks far away from my pc ....

I tried your way, without success..

[root@kraehe ~]# yum install kernel-devel-`uname -r`

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

* PUIAS_6_computational: puias.math.ias.edu

* base: centos.mirrors.as250.net

* elrepo: ftp.nluug.nl

* epel: mirror.infonline.de

* extras: mirror.infonline.de

* nux-dextop: mirror.li.nux.ro

* updates: ftp.wrz.de

No package kernel-devel-4.18.3-1.el7.elrepo.x86_64 available.

Error: Nothing to do

[root@kraehe ~]#

Where can I get the kernel headers?????

Greetings,

Holger

Reply
0 Kudos
RDPetruska
Leadership
Leadership
Jump to solution

Your original posting showed one set of kernel headers matching the kernel you said (4.18.3), but then others at 4.18.5 - newer.

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Shouldn't it be yum install kernel-ml-devel-`uname -r` ?

André

Reply
0 Kudos
kaengo
Enthusiast
Enthusiast
Jump to solution

OK, I understood,

it is not a VMware-problem, it is a n Elrepo-problem.

I will try a question there.

Up to now, I have no solution:

[root@kraehe ~]# yum install kernel-ml-devel-`uname -r`

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

* PUIAS_6_computational: puias.math.ias.edu

* base: centos.mirrors.as250.net

* elrepo: ftp.nluug.nl

* elrepo-extras: ftp.nluug.nl

* elrepo-kernel: ftp.nluug.nl

* epel: mirror.infonline.de

* extras: mirror.infonline.de

* nux-dextop: mirror.li.nux.ro

* updates: ftp.wrz.de

elrepo                                                                                                      | 2.9 kB  00:00:00    

elrepo-extras                                                                                               | 2.9 kB  00:00:00    

elrepo-kernel                                                                                               | 2.9 kB  00:00:00    

(1/2): elrepo-extras/primary_db                                                                             | 2.1 kB  00:00:00    

(2/2): elrepo-kernel/primary_db                                                                             | 1.8 MB  00:00:02    

No package kernel-ml-devel-4.18.3-1.el7.elrepo.x86_64 available.

Error: Nothing to do

[root@kraehe ~]# yum install kernel-devel-`uname -r`

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

* PUIAS_6_computational: puias.math.ias.edu

* base: centos.mirrors.as250.net

* elrepo: ftp.nluug.nl

* elrepo-extras: ftp.nluug.nl

* elrepo-kernel: ftp.nluug.nl

* epel: mirror.infonline.de

* extras: mirror.infonline.de

* nux-dextop: mirror.li.nux.ro

* updates: ftp.wrz.de

No package kernel-devel-4.18.3-1.el7.elrepo.x86_64 available.

Error: Nothing to do

[root@kraehe ~]#

I will post it here,

if I have a solution

Greetings,

Holger

Reply
0 Kudos
wila
Immortal
Immortal
Jump to solution

Hi,

Have you tried rebooting your host already?


Your system has the kernel headers for 4.18.5, but you are currently using a 4.18.3 kernel.

The new kernel only gets loaded after a restart.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
kaengo
Enthusiast
Enthusiast
Jump to solution

Yes, of cause I have rebooted the kernel.

But the problem is solved.

After update to kernel 4.18.7 today,

vmware player is running

Reply
0 Kudos