Closed david-hofmann closed 7 years ago
Let's try to load the driver manually.
sudo /usr/xenomai/sbin/analogy_config analogy0 analogy_ni_pcimio
If that does not work...
lspci -vvv
at the command line and find the entry that has the information for your DAQ. It should look something like this:04:01.0 Unassigned class [ff00]: National Instruments PCI-6259
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at dfafe000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at dfaff000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: analogy_mite
The line of interest is:
04:01.0 Unassigned class [ff00]: National Instruments PCI-6259
This tells us the bus address for the DAQ. In this case, the PCI bus address is 0x4 and the specific slot is 1. Once you have this information, please try:
sudo /usr/xenomai/sbin/analogy_config analogy0 analogy_ni_pcimio <bus>,<slot>
(in this case it would be 0x4,1).
Hi Yogi, thanks for advice.
the console output is only: Killed
lspci -vvv
gives:
05:00.0 Unassigned class [ff00]: National Instruments PCIe-6251
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32
Interrupt: pin A routed to IRQ 18
Region 0: Memory at f7001000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at f7000000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ni_pcimio
Kernel modules: ni_pcimio
Thus I ran:
sudo /usr/xenomai/sbin/analogy_config analogy0 analogy_ni_pcimio 0x5, 0
Again the output on the console is: Killed
I have the same problem but I think it was because I don't have the acquisition board connected to my system. What acquisition board are you using ?
Basic Information:
RTXI Version: 2.0 Installed from Live CD?: No, cloned from git repos PC: Dell OptiPlex-7040 kernel: 3.18.20-xenomai-2.6-2.6.5
Error Description:
What happened? After running the install_rtxi script I get the following message:
When running the suggested commands I get: systemctl status rtxi_load_analogy.service
journalctl -xe
I am stuck. I attempted to recompile the kernel and RTXI but error persists.
Any idea on how to proceed from here? Please let me know what additional information about my system could be helpful.
Thank you very much! David