After updating LimeSuiteNG my LimeSDR XTRX is not detected

when installing the repository (GitHub - myriadrf/LimeSuiteNG) on October 20, 2024, my LimeSDR XTRX is detected and works fine. After updating (GitHub - myriadrf/LimeSuiteNG) the program, my device (LimeSDR XTRx) is not detected. Why does this happen? Can you give a solution to this situation? Here are the parameters when installing the commit on October 20:
root@user:/home/user# limeDevice -f
Found 1 device(s) :
0: LimeSDR XTRX, media=PCIe, addr=/dev/limepcie0, serial=000000008f6ac889
Expansion name : UNSUPPORTED
Firmware version : 4
Gateware version : 1
Gateware revision : 18
Gateware target board : LimeSDR XTRX
Hardware version : 2
Protocol version : 1
Serial number : 2406140041
SPI slave devices :
FPGA
LMS7002M
Memory devices :
EEPROM
FPGA/FLASH
FPGA/gold-image
FPGA/user-image
GPS Lock:
GPS - Undefined
Glonass - Undefined
Galileo - Undefined
Beidou - Undefined

with the latest LimeSuiteNG installed:
check if the PCIe driver is loaded: “sudo lsmod | grep limepcie”
check if the system log does not have errors from the driver: “sudo dmesg | grep limepcie”

root@user:/home/user# sudo lsmod | grep limepcie
root@user:/home/user# sudo dmesg | grep limepcie
root@user:/home/user#

it seems that the driver is not active.
Did you do a complete rebuild after the update, i.e remove the LimeSuitNG/build directory and make/install it again?
It might be that some CMake variables were cached from the old build, and did not got refreshed for the updated build.

when you run the cmake, log should show:

#############################################
– ## limesuiteng enabled features
– ############################################

  • BUILD_DRIVERS, Build device drivers
  • BUILD_DRIVERS_LIMEPCIE, Build limepcie driver
  • LIMEPCIE_INSTALL, Install limepcie kernel module to system
  • LIMEPCIE_RELOAD_ON_INSTALL, Reload limepcie kernel module after install

root@user:/home/user/LimeSuiteNG/build# sudo lsmod | grep limepcie
limepcie 53248 0
root@user:/home/user/LimeSuiteNG/build# sudo dmesg | grep limepcie
[ 133.544849] limepcie: loading out-of-tree module taints kernel.
[ 133.544853] limepcie: module verification failed: signature and/or required key missing - tainting kernel
[ 133.545681] limepcie : module init v0.1.9-g8c5f026c
root@user:/home/user/LimeSuiteNG/build# limeDevice
No devices found
root@user:/home/user/LimeSuiteNG/build#

ok, the limepcie driver is working now, but does not probe the device.
check if the device is seen by the host system: “sudo lspci | grep Xilinx”

Also did you update only the software, or also updated the FPGA gateware since the last time it was working?

If your board is missing this component XTRX not found - #12 by ricardas FPGA gateware update might have affected boot timing, and the device might not be enumerated by the host system reliably.

Yes, this component is missing on my device. Then should I just solder a 0 Ohm resistor (case 0201) or simply short-circuit this resistor to solve the problem?

There is no difference, it’s up to you whether to use 0Ohm resistor, or just short those contacts. It just connects a signal line.

1 Like

I carefully plugged the contacts of IC21 and reinstalled Ubuntu and the LimeSuiteNG driver, but here’s what happens to me:
root@user-pc:/home/user/LimeSuiteNG/build# sudo lsmod | grep limepcie
limepcie 53248 0
root@user-pc:/home/user/LimeSuiteNG/build# sudo dmesg | grep limepcie
[ 221.374819] limepcie: module verification failed: signature and/or required key missing - tainting kernel
[ 221.376065] limepcie : module init v0.1.9-geb064f8c

root@user-pc:/home/user/LimeSuiteNG/build# sudo lspci | grep Xilinx
root@user-pc:/home/user/LimeSuiteNG/build# limeDevice
No devices found
root@user-pc:/home/user/LimeSuiteNG/build#

I have LimeSDR XTRX connected with an adapter (https://aliexpress.ru/item/1005007181168192.html?spm=a2g2w.orderdetail.0.0.5fbb4aa60B95A2&sku_id=12000039721618500) to the PCIE port of the computer.

send the the full output of “sudo lspci”
Are two green LEDs blinking on the LimeSDR XTRX?

root@user-pc:/home/user/LimeSuiteNG/build# sudo lspci
00:00.0 Host bridge: Intel Corporation Device a700 (rev 01)
00:01.0 PCI bridge: Intel Corporation Device a70d (rev 01)
00:06.0 PCI bridge: Intel Corporation Device a74d (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device a77d (rev 01)
00:0e.0 RAID bus controller: Intel Corporation Device a77f
00:14.0 USB controller: Intel Corporation Device 7a60 (rev 11)
00:14.2 RAM memory: Intel Corporation Device 7a27 (rev 11)
00:15.0 Serial bus controller: Intel Corporation Device 7a4c (rev 11)
00:15.1 Serial bus controller: Intel Corporation Device 7a4d (rev 11)
00:15.2 Serial bus controller: Intel Corporation Device 7a4e (rev 11)
00:16.0 Communication controller: Intel Corporation Device 7a68 (rev 11)
00:17.0 SATA controller: Intel Corporation Device 7a62 (rev 11)
00:1a.0 PCI bridge: Intel Corporation Device 7a48 (rev 11)
00:1b.0 PCI bridge: Intel Corporation Device 7a40 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Device 7a38 (rev 11)
00:1c.1 PCI bridge: Intel Corporation Device 7a39 (rev 11)
00:1c.2 PCI bridge: Intel Corporation Device 7a3a (rev 11)
00:1d.0 PCI bridge: Intel Corporation Device 7a30 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a04 (rev 11)
00:1f.3 Audio device: Intel Corporation Device 7a50 (rev 11)
00:1f.4 SMBus: Intel Corporation Device 7a23 (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Device 7a24 (rev 11)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2782 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 22bc (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
root@user-pc:/home/user/LimeSuiteNG/build#

yes two green LEDs are blinking

Hello, is there any solution to this problem?

the device does not show up in the “lspci”, that means problem is not in software.
Blinking LEDs indicate that the board has power and is receiving clock.
Assuming the IC21 connection has been made, it should work.
If the IC21 has not been connected, you can try plugging the board into different PCIe slots, maybe the timing of one of the slots enumeration will be delayed enough until LimeSDR XTRX is ready to be enumerated.

worked successfully