Community
cancel
Showing results for 
Search instead for 
Did you mean: 
239 Views

Stratix 10 MX FPGA dev. kit fails DMA link test under CentOS 7.0.1406 with kernel 3.10.0-123.el7.x86_64

Two questions

1. Though /dev/intel_fpga_pcie_drv is created, why link test always fails ? kernel log says module verification failed.

2. Why there is only one related log in /var/log/kern.log even though we tried many times and failed many times ?

 

[fpga@localhost example]$ ./intel_fpga_pcie_link_test

*********************************************************

Intel FPGA PCIe Link Test

Version 2.0

0: Automatically select a device

1: Manually select a device

*********************************************************

> 0

Invalid BDF or BAR!

could not open character device; ensure that Intel FPGA kernel driver has been loaded

[fpga@localhost example]$ ./intel_fpga_pcie_link_test

*********************************************************

Intel FPGA PCIe Link Test

Version 2.0

0: Automatically select a device

1: Manually select a device

*********************************************************

> 1

Enter bus number, in hex:

> 2

Enter device number, in hex:

> 0

Enter function number, in hex:

> 0

BDF is 0x200

B:D.F, in hex, is 2:0.0

Enter BAR number (-1 for none, 2 for HBM2 and 4 for DDR4)) :

> 4

Invalid BDF or BAR!

could not open character device; ensure that Intel FPGA kernel driver has been loaded

[fpga@localhost example]$ lsmod | grep intel_fpga

intel_fpga_pcie_drv  31269 0

 

 

-----------------------------

Nov 12 13:39:18 localhost kernel: [ 1222.372651] intel_fpga_pcie_drv: module verification failed: signature and/or required key missing - tainting kernel

 

0 Kudos
5 Replies
SengKok_L_Intel
Moderator
72 Views

Hi,

 

To understand if this is a driver issue or the hardware is actually not detected, could you please run the command below, and see if the FPGA card is detected? If yes, which means the enumeration and link training seem like passed.

 

lspci -nn | grep 1172

 

What is BDF?

 

Regards -SK

CHung
Beginner
72 Views

Hi,

The command didn't show anything.

And we tried the following commands, they also show nothing:

lspci -d 1172:000 -v

lspci -d 1172: -v

 

Besides, lspci -t -v didn't list any device with ID 1172.

SengKok_L_Intel
Moderator
72 Views

Hi,

 

Seems like the host can't detect the end point. How do you program the FPGA? After program the FPGA, did you re-start or re-boot the PC?

 

Regards -SK

CHung
Beginner
72 Views

Hi SK,

 

Yes, we did.

FPGA was connected to external power, and we reboot the Linux host after program.

 

SengKok_L_Intel
Moderator
72 Views

One thing you probably can check is from the BIOS setting, where the Socket Configuration for IIO PCIe Port is x16 or something else. Or a quick check with other Host and see if this can be detected. This can help to isolate if there is any hardware dependency.

 

Regards -SK

Reply