Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20691 Discussions

block on install specific linux kernel on centos 7 to install intel fpga N3000 card

Chunlin_Y_Intel
Employee
1,725 Views

kernel running:I follow these stes

[root@localhost opae]# uname -a

Linux localhost.localdomain 3.10.0-693.2.2.rt56.623.el7.x86_64 #1 SMP PREEMPT RT Wed Sep 13 22:19:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost opae]#

kernels on the systems:

[root@localhost opae]#  ls -l /usr/src/kernels/

total 16

drwxr-xr-x. 22 root root 4096 Jul 10 06:12 3.10.0-1062.12.1.rt56.1042.el7.x86_64

drwxr-xr-x. 22 root root 4096 Nov 20 15:06 3.10.0-1062.el7.x86_64

drwxr-xr-x  22 root root 4096 Nov 20 15:06 3.10.0-1160.6.1.el7.x86_64

drwxr-xr-x  22 root root 4096 Nov 20 15:06 3.10.0-693.2.2.rt56.623.el7.x86_64

 

List the installed kernel header:

[root@localhost opae]# rpm -qa | grep kernel-header

kernel-headers-3.10.0-1160.6.1.el7.x86_64

[root@localhost opae]#

Help needed is:

How to make the 'installed kernel header' only show the running kernel '3.10.0-693.2.2.rt56.623.el7.x86_64'?

 

 Thanks!

0 Kudos
3 Replies
JonWay_C_Intel
Employee
1,705 Views

You can try the step mentioned in the Installation User Guide: 
https://www.intel.com/content/www/us/en/programmable/documentation/xgz1560360700260.html

Try the highlighted in the below screenshot.

JonWay_C_Intel_0-1606105083437.png

 

0 Kudos
Chunlin_Y_Intel
Employee
1,697 Views
Thanks Jonway.
I tried the mitigate method you highlighted, it does not solve my issue, I even manually install the rpm drive, no luck.
As I have done so many methods, now I want to restore my kernel header to below, but it fails.
'rpm -qa | grep kernel-header' to show:
3.10.0-1062.el7.x86_64

the current environment:
[root@localhost ~]# uname -r
3.10.0-1160.6.1.el7.x86_64


root@localhost ~]# ls -l /usr/src/kernels/
total 12
drwxr-xr-x. 22 root root 4096 Jul 10 06:12 3.10.0-1062.12.1.rt56.1042.el7.x86_64
drwxr-xr-x. 22 root root 4096 Nov 20 15:06 3.10.0-1062.el7.x86_64
drwxr-xr-x 22 root root 4096 Nov 20 15:06 3.10.0-693.2.2.rt56.623.el7.x86_64

Because I have done below: yum remove kernel-headers.x86_64, which removed the header '3.10.0-1062.el7.x86_64'.

Although I have used 'yum history undo ' to try to restore it, it does not restore.

I have referred to many many online posts with below method, without get a luck:

yum install kernel-devel-3.10.0-1062.el7.x86_64
yum install kernel-devel-$(uname -r)
yum update
sudo yum install "kernel-devel-uname-r == $(uname -r)"
etc

yum history undo

Could you pls help?

0 Kudos
JonWay_C_Intel
Employee
1,672 Views

I am not familiar with the kernel. Online forums will the my source of information. Perhaps you can check if kernel.org has the exact kernel version to match.

0 Kudos
Reply