xtrx-sdr / images

Pre-built XTRX packages and firmware images
https://www.crowdsupply.com/fairwaves/xtrx
44 stars 27 forks source link

[ERROR] Bus error (core dumped) #90

Closed WilfredoLora closed 4 years ago

WilfredoLora commented 4 years ago

After installing dependencies, and compiling the xtrx installer and testing to see if the device is found i get the following error:

RX CYCLES=1 SAMPLES=16384 SLICE=16384 (PARTS=1) Bus error (core dumped)

I then used gdb to get a better idea as to why, below is a snippet of what I found:

09:22:30.028342 INFO: xtrx_run_ex:971 [XTRX] PCI:/dev/xtrx0: RX ititialized to 65536 bytes paket size 09:22:30.028357 INFO: xtrxllpciebase_dma_start:536 [BPCI] PCI:/dev/xtrx0: RX DMA 16 bit MIMO (BLK:8192 TS:8192); TX DMA SKIP MIMO @0.0 09:22:30.028370 REGS: internal_xtrxll_reg_out:147 [PCIE] PCI:/dev/xtrx0: Write [000d] = 41300000 09:22:30.028386 REGS: internal_xtrxll_reg_in:156 [PCIE] PCI:/dev/xtrx0: Read [000f] = 00000020 09:22:30.028397 INFO: xtrvxllv0_issue_timmed_command:705 [CTRL] PCI:/dev/xtrx0: Placing TC @8192 on 0 data: 0 stat:20 09:22:30.028406 REGS: internal_xtrxll_reg_out:147 [PCIE] PCI:/dev/xtrx0: Write [000a] = 00000000 09:22:30.028417 REGS: internal_xtrxll_reg_out:147 [PCIE] PCI:/dev/xtrx0: Write [000b] = 00002000 RX CYCLES=1 SAMPLES=16384 SLICE=16384 (PARTS=1)

Thread 1 "test_xtrx" received signal SIGBUS, Bus error. 0x0000007fb7da59b4 in xtrxllpciev0_dma_rx_getnext (bdev=0x5555574590, chan=0, addr=0x7fffffc1e0, wts=0x55555746d0, sz=0x7fffffc1dc, flags=0, timeout_ms=0) at /home/xxxxxx/GitFiles/xtrx-image/sources/libxtrxll/mod_pcie/xtrxll_pcie_linux.c:499 499 uint32_t icnt = __atomic_exchange_n((uint32_t*)dev->mmap_stat_buf + XTRX_KERN_MMAP_RX_IRQS, (gdb)

Any ideas what the error above means? Thanks!!

WilfredoLora commented 4 years ago

Closing, as Issue #84 is covering the error I am having.