- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry I'm not sure which location is correct. Just post here first.
I downloaded the Lane Margin tool from PCI-SIG (https://members.pcisig.com/wg/PCI-SIG/document/16429) and I believe that this tool is provided by Intel.
and follow the "685662 PCIe-LMT-Gen4_Gen5-r0p77.pdf"
the scan process can be executed but it ended with below log.
---------------------------------------------------------------------
Linux OS
No device foundF, Dev 31, Fnc 0
Traceback (most recent call last):
File "sc_test.py", line 33, in <module>
start = runLMT(Accept_License, Files_Name, Run_Scan, Segment_Count,
File "C:\Users\Administrator\Desktop\LMT_v0p78\LMT.py", line 24, in __init__
File "C:\Users\Administrator\Desktop\LMT_v0p78\pci_scan.py", line 322, in devices
ValueError: scan() must be run first
-----------------------------------------------------------------------
below is content of sc_test.py
I also tried to paste in python terminal but get the same result
==============================================
""".............................................................
........... COPY/PASTE next to the python terminal ...........
............................................................."""
Accept_License = True
Run_Scan = True
Run_LMT = False
# Modify next variables accordingly
Path = r'/home/user/pcie_lmt'
Files_Name = "Test1_AddinCardX"
Segment_Count = 1
Execute_Lane_Reversal = False
# Do NOT modify next commands
import sys
sys.path.append(Path)
from LMT import runLMT
import importlib, LMT
importlib.reload(LMT)
from LMT import runLMT
input_dic = {
"Lane": [0,1,2,3],
"RecNum": 1,
"Dwell_Time": 1,
"BDF_DSP": "B00D01F0",
"BDF_USP": "B01D00F0",
"ErrCnt": 4,
"Num_Time_Steps": 1,
"Num_Voltage_Steps": 1,
"Segment": 0,
"Speed": 5,
}
start = runLMT(Accept_License, Files_Name, Run_Scan, Segment_Count,
Run_LMT, Execute_Lane_Reversal, input_dic)
====================================================
My Ubuntu version is 24.04.1 LTS
default python3 version is 3.12.3
I have followed the introduction guide on internet using pyenv to change my python3 version to 3.8.10
Need your help to check my error log and give more information to debug my environment's problem.
Thanks
Link Copied

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