- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SK,
Yes, we did.
FPGA was connected to external power, and we reboot the Linux host after program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page