Hey,

I am trying to get a national instrument data acquisition pci card working
under linux 2.6.30.5 xenomai 2.5-rc3 using comedi. I successfully installed
the regular comedi drivers and I got data from the card, however, I also got
mode switches. Therefore, I moved to the latest xenomai release which
includes the comedi interface. The installation worked out and I got a
xeno_comedi.ko module that I can load and a /usr/xenomai/lib/libcomedi.so.0.
However, my program returns with...

xenomai:~/xenomai_test> ./rt_comedi_test
./rt_comedi_test: /usr/xenomai/lib/libcomedi.so.0: no version information
available (required by ./rt_comedi_test)
Xenomai: incompatible ABI revision level
(needed=1, current=2).

I figured, that I need a national instrument driver (ni_pcimio) to get the
/dev/comedi0 up and running since there is no kernel module associated with
the NI card...

xenomai:~/xenomai_test> lspci -v

...

06:00.0 Class ff00: National Instruments Device 717f
    Flags: bus master, medium devsel, latency 64, IRQ 11
    Memory at f7dfe000 (32-bit, non-prefetchable) [size=4K]
    Memory at f7dff000 (32-bit, non-prefetchable) [size=4K]

...

I "svn co http://svn.gna.org/svn/xenomai/branches/comedi-rtdm-dev"; since it
seems to contain the NI drivers... however, I got a compiler error that I
think relates to the fact that the system I am using has 4GB of ram
(highmem). I am using revision: 4727.

r...@xenomai:/usr/src/comedi-rtdm-dev# make
make  all-recursive
make[1]: Entering directory `/usr/src/comedi-rtdm-dev'
Making all in comedi_kcore
make[2]: Entering directory `/usr/src/comedi-rtdm-dev/comedi_kcore'
make[3]: Entering directory `/usr/src/comedi-rtdm-dev'
make[3]: Leaving directory `/usr/src/comedi-rtdm-dev'
make[3]: Entering directory `/usr/src/linux-2.6.30.5'
  CC [M]  /usr/src/comedi-rtdm-dev/comedi_kcore/comedi_os_facilities.o
  CC [M]  /usr/src/comedi-rtdm-dev/comedi_kcore/comedi_command.o
  CC [M]  /usr/src/comedi-rtdm-dev/comedi_kcore/comedi_instruction.o
  CC [M]  /usr/src/comedi-rtdm-dev/comedi_kcore/comedi_driver.o
  CC [M]  /usr/src/comedi-rtdm-dev/comedi_kcore/comedi_subdevice.o
  CC [M]  /usr/src/comedi-rtdm-dev/comedi_kcore/comedi_buffer.o
/usr/src/comedi-rtdm-dev/comedi_kcore/comedi_buffer.c: In function
‘comedi_free_buffer’:
/usr/src/comedi-rtdm-dev/comedi_kcore/comedi_buffer.c:52: error: implicit
declaration of function ‘__va_to_kva’
make[4]: *** [/usr/src/comedi-rtdm-dev/comedi_kcore/comedi_buffer.o] Error 1
make[3]: *** [_module_/usr/src/comedi-rtdm-dev/comedi_kcore] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.30.5'
make[2]: *** [comedi.ko] Error 2
make[2]: Leaving directory `/usr/src/comedi-rtdm-dev/comedi_kcore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/comedi-rtdm-dev'
make: *** [all] Error 2

I would be really happy if someone could give me some hints/advice on how to
get things working. What do I need to do ??

Thanks a lot,
 peter
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to