Open great9 opened 1 year ago
I'm getting the same error using a fresh install, just wanted to say that your not the only one to have this error.
I've also done a fresh install.
When I type sudo SoapySDRUtil --find, I am getting in red:
io_utils_spi_add_chip@io_utils_spi.c:434 spi_init function failed with code -1, (SPI_ERR_OPEN)
and
08-09 16:25:23.605 1569 1569 E FPGA caribou_fpga_program_to_fpga@caribou_fpga.c:204 Programming failed 08-09 16:25:23.606 1569 1569 E CARIBOULITE Setup cariboulite_init_driver_minimal@cariboulite_setup.c:628 FPGA programming failed 08-09 16:25:23.606 1569 1569 E IO_UTILS_SPI io_utils_spi_remove_chip@io_utils_spi.c:487 the device is already empty 08-09 16:25:23.607 1569 1569 I CARIBOU_PROG caribou_prog_release@caribou_prog.c:122 device release completed [ERROR] cariboulite_init_driver() failed
The when I run the DAB application odr-dabmod I get: Printing 'findCariboulite' Request: {Cariboulite: } {device_id: 1} [INFO] Initializing DeviceID: 1, Label: CaribouLite HiF[d555744f], ChannelType: HiF soapy_sighandler caught SIGSEGV [INFO] soapy_sighandler killing soapy_cariboulite (cariboulite_release_driver) CaribouLite: Signal [11] received from pid=[968] Signal [11] caught, with the following information: signal errno = 0 signal process pid = 968 signal process uid = 0 signal status = 0 signal errno / SIGSEGV / the process access invalid region of memory SIGSEGV: memory access violation
Getting the same error here, trying to run the included sample ADS-B program.
ken@raspberrypi:~/projects2/cariboulite/examples/cpp/build $ sudo ./caribou_dump1090 ######################################################
######################################################
[INFO] SoapyCaribouliteSession, sessionCount: 0 08-27 15:40:21.937 2014 2014 E IO_UTILS_SPI io_utils_spi_add_chip@io_utils_spi.c:434 spi_init function failed with code -1, (SPI_ERR_OPEN) 08-27 15:40:21.939 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.939 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.939 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.939 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.940 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.981 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.981 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.981 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.981 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:21.981 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:22.022 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:22.022 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:22.022 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:22.022 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:22.022 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:22.065 2014 2014 I CARIBOU_PROG caribou_prog_configure_from_buffer@caribou_prog.c:260 Sending bitstream of size 32220 08-27 15:40:23.550 2014 2014 I CARIBOU_PROG caribou_prog_configure_from_buffer@caribou_prog.c:292 FPGA programming - Success!
08-27 15:40:23.672 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.672 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.672 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.672 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.672 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.713 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.713 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.713 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.713 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.713 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.755 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.755 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.755 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.755 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.755 2014 2014 W IO_UTILS_SPI io_utils_spi_transmit@io_utils_spi.c:606 generic function transfer not implemented 08-27 15:40:23.796 2014 2014 E FPGA caribou_fpga_program_to_fpga@caribou_fpga.c:204 Programming failed 08-27 15:40:23.796 2014 2014 E CARIBOULITE Setup cariboulite_init_driver_minimal@cariboulite_setup.c:628 FPGA programming failed 08-27 15:40:23.796 2014 2014 E IO_UTILS_SPI io_utils_spi_remove_chip@io_utils_spi.c:487 the device is already empty 08-27 15:40:23.798 2014 2014 I CARIBOU_PROG caribou_prog_release@caribou_prog.c:122 device release completed [ERROR] cariboulite_init_driver() failed Printing 'findCariboulite' Request: {channel: HiF} {driver: Cariboulite} [INFO] Initializing DeviceID: 1, Label: CaribouLite HiF[4f1bef61], ChannelType: HiF soapy_sighandler caught SIGSEGV [INFO] soapy_sighandler killing soapy_cariboulite (cariboulite_release_driver) CaribouLite: Signal [11] received from pid=[968] Signal [11] caught, with the following information: signal errno = 0 signal process pid = 968 signal process uid = 0 signal status = 0 signal errno / SIGSEGV / the process access invalid region of memory SIGSEGV: memory access violation
Hi-- I was getting the same sorts of error when I incorrectly installed the drivers. Does /dev/smi exist? Do the drivers exist for the correct kernel version?
If you performed the install.sh script multiple times then your device probably won't work.
Any fix yet for this? CubicSDR works fine and can tune the Caribou but just trying to start GQRX I get this mem access error.
If you performed the install.sh script multiple times then your device probably won't work.
why is that? are there leftovers?