cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
1,723 Views
Registered: ‎11-16-2017

PCIe driver no devices were recognized

Jump to solution

I am following AR# 65444 on Ubuntu. However, when I execute the load_driver.sh file, it shows the following error:

Loading driver...

Error: The Kernel module installed correctly, but no devices were recognized.

FAILED

I have tried Ubuntu 18.04, 16.04 and 14.04 version, but all are the same.

I don't know what I can do with this. Please help me!

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
1,434 Views
Registered: ‎11-16-2017

Re: PCIe driver no devices were recognized

Jump to solution

Thank you. I will ask this question on Github later.

Things related to Linux are complex for me to deal with.

View solution in original post

0 Kudos
6 Replies
Highlighted
Explorer
Explorer
1,707 Views
Registered: ‎12-11-2017

Re: PCIe driver no devices were recognized

Jump to solution

Quick thing to try:

- Use lspci to see if the device was identified.

If the PCIe controller is Xilinx (0x10ee) it will show that as the vendor code by default.

If it shows up, then do lspci -s <device> -vvv to show more detail. It should have your resources (BARs) defined and listed.

Some systems won't give you a PCIE ref clock unless you ground CLKREQ# on the PCIe connector. This can cause your device to not come up.

0 Kudos
Highlighted
Adventurer
Adventurer
1,643 Views
Registered: ‎11-16-2017

Re: PCIe driver no devices were recognized

Jump to solution

When I type lspci, it shows:

benjamin@benjamin-Ubuntu:~/New/DMA_Drivers/Xilinx_Answer_65444_Linux_Files/driver$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:16.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family IDE-r Controller (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Q65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 Communication controller: Xilinx Corporation Device 8082

 

It seems to recognize the board programmed with trd03 bitstream. but I don't know the slot number of the PCIe controller. Seems only USB controller has number on it.

0 Kudos
Highlighted
Explorer
Explorer
1,615 Views
Registered: ‎12-11-2017

Re: PCIe driver no devices were recognized

Jump to solution

lspci showed

    01:00.0 Communication controller: Xilinx Corporation Device 8082

So the slot number is 01:00.0.

     lspci -s 01:00.0 -vvv

will give more information about the card.

check also dmesg to see what the system did when it tried to load the driver.

0 Kudos
Highlighted
Adventurer
Adventurer
1,539 Views
Registered: ‎11-16-2017

Re: PCIe driver no devices were recognized

Jump to solution

The details look like this. 

 

benjamin@benjamin-Ubuntu:~$ lspci -s 01:00.0 -vvv
01:00.0 Communication controller: Xilinx Corporation Device 8082
Subsystem: Xilinx Corporation Device 0007
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at fe600000 (64-bit, non-prefetchable) [size=1M]
Region 2: Memory at fe500000 (64-bit, non-prefetchable) [size=1M]
Region 4: Memory at fe400000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>

 

Still have no idea of the problem.

0 Kudos
Highlighted
Explorer
Explorer
1,534 Views
Registered: ‎12-11-2017

Re: PCIe driver no devices were recognized

Jump to solution

So the system BIOS recognized the card and read the info. Your hardware is ok (bitstream loaded, PCIe endpoint is working, etc.)

Look at dmesg to see what happens when the Xilinx driver is installed - there is probably an issue with that. Maybe permissions or some such.

0 Kudos
Highlighted
Adventurer
Adventurer
1,435 Views
Registered: ‎11-16-2017

Re: PCIe driver no devices were recognized

Jump to solution

Thank you. I will ask this question on Github later.

Things related to Linux are complex for me to deal with.

View solution in original post

0 Kudos