-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bus error when running test XTRX Pro PCIe with a Jetson Xaver NX #84
Comments
I just tried increasing the coherent_pool, but I still got the same problem: user@user-desktop:/boot/extlinux$ more extlinux.conf MENU TITLE L4T boot options LABEL primary |
Looks like I found the problem using gdb ./test_xrtx In xtrxll_pcie_linux.c:503: this is not supported on the ARM proc:
Workaround (a kludge!):
Do this for TX on line 642 And now I get a good result: RX: $ ./test_xtrx -t -l2 TX: $ ./test_xtrx -T -l2 TODO: Need too look at the supported atomic exchange primitives. |
Also, does line 503-505 need to be uncommented? I cant tell from the instructions above what it should be. Thanks. |
Bump....Can anyone help with this? Thank you!! |
@enjector can you help me with this, please? Thanks!! |
Hi, just saw your messages. Yes, I had to replace those lines at 503. |
I have installed XTRX pro with a Jetson Xaver using PCIe. All looks good but I get a bus error when I try the test. Any ideas?
$ sudo lspci -v -d 10ee:
0004:01:00.0 Memory controller: Xilinx Corporation Device 7012
Subsystem: Xilinx Corporation Device 0007
Flags: bus master, fast devsel, latency 0, IRQ 554
Memory at 1740010000 (32-bit, non-prefetchable) [size=4K]
Memory at 1740000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [48] MSI: Enable+ Count=4/16 Maskable- 64bit+
Capabilities: [60] Express Endpoint, MSI 04
Capabilities: [100] Device Serial Number 00-00-00-00-12-34-56-78
Kernel driver in use: xtrx
Kernel modules: xtrx
$ sudo ./test_xtrx -t -l2
Master: 32.000 MHz; RX rate: 4.000 MHz; TX rate: 0.000 MHz
RX tunned: 900000000.000000
RX bandwidth: 2000000.000000
RX LNA gain: 15.000000
RX PGA gain: 0.000000
RX TIA gain: 9.000000
RX CYCLES=1 SAMPLES=16384 SLICE=16384 (PARTS=1)
Bus error
$ dmesg
[ 750.130714] xtrx: call: REGION=1 VMA=ffffffc1736036e0 vma->vm_pgoff=0
[ 750.130861] xtrx: VMA open, virt 7f9c18f000, phys 0
[ 750.130970] xtrx: call: REGION=0 VMA=ffffffc1736034d0 vma->vm_pgoff=1024
[ 750.131087] xtrx: VMA open, virt 7f9c18e000, phys 400000
[ 750.141340] xtrx: ioctl(12345b, 1) [ffffff800bfad000]
[ 750.141502] xtrx: 3V3 CTRL:1
[ 750.347480] xtrx: ioctl(12345b, 1) [ffffff800bfad000]
[ 750.417835] xtrx: ioctl(12345a, 10000) [ffffff800bfad000]
[ 750.417987] xtrx: call: REGION=3 VMA=ffffffc1554b86e0 vma->vm_pgoff=16384
[ 750.418135] xtrx: ioctl(123459, 10000) [ffffff800bfad000]
[ 750.418299] Unhandled fault: implementation fault (unsupported exclusive) (0x92000035) at 0x0000007f9c18e008
[ 750.895577] xtrx: VMA close.
[ 750.895669] xtrx: VMA close.
[ 750.895777] xtrx: 3V3 CTRL:0
The text was updated successfully, but these errors were encountered: