We are getting PCIe Bus Error (Data link layer) while performing PCIe transaction. We are using Jetpack 5.1.1 (Jetson Linux 35.3.1) version. Attaching error snapshot.
Could you please share your views for the possible cause which might trigger this errors?
You can try to dump the PCIe LA trace. This is the most precise way to debug your issue.
Incidentally, you can create a log file of any command line via appending:
2>&1 | tee log_something.txt
sudo lspci -vvv | tee log_lspci.txt
scp over networking to get the file to another computer. If no networking is available, then you can log in via serial console, tell serial console to start logging, and then run your command (or a series of commands since serial console will just keep logging until you say to stop). That log file is on the host PC with the serial console program, so there is no need to transfer a file to another computer.
For PCIe in particular, you can see all PCIe devices with “
lspci”. The left hand side will have a slot ID, e.g., something looking like “
00:00.0”. You can tell
lspci to report fully verbose for just that ID:
sudo lspci -vvv -s 00:00.0 2>&1 | tee log_lspci.txt
By itself those log lines you have the screenshot from are cut off on the right, and more or less just say “it’s broken”. You need the full serial console boot log in most cases, and in this case you also need the fully verbose
lspci for that particular slot.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.