Re: comedi+RTAI

I had the same issue as the previous poster

I didn't find the way to add /usr/realtime/modules in my "modules path" 
for my distribution (gentoo 2004.0) so i just made a bunch of symlinks 
in  /lib/modules/2.4.24-rthal5/rtai

# mkdir /lib/modules/`uname -r`/rtai
# ln -s /usr/realtime/modules/* /lib/modules/`uname -r`/rtai
# depmod -a

so far it seems to work, depmod doesn't complain about unresolved symbol 
anymore.

Marin


Klaas Gadeyne wrote:

>>    I installed RTAI(rtai-3.0r2) on a 2.4.22 kernel and it is working.
>>after that i tried to install comedi drivers (ni_pcimio->PCI-6024E)
>>it was OK until i did "make install" when said something like:
>>...unresolved symbol ..
>> after this i tried modprobe and:
>>
>>root_at_zmoly:# modprobe ni_pcimio
>>/lib/modules/2.4.22-rthal5/comedi/comedi.o: unresolved symbol rt_shutdown_irq
>>    
>>
>[...]
>
>  
>
>>##################
>>
>>How can I solve this problem????
>>    
>>
>
>I'm not 100% sure, but I guess your problem has something to do with the
>new installation path of RTAI modules since RTAI 3.0.  Modules are
>installed in (by default) /usr/realtime and depmod doesn't look in that
>directory when building the dependency file.
>
>Does the problem persist when you load the rtai modules before the
>modprobe ni_pcimio?
>If so, suppose your rtai 3.0 is installed in /usr/realtime/modules, you
>have to add a line to /etc/modules.conf
>
>path=/usr/realtime/modules
>
>re-run depmod -a and try again.
>
>ps.  Some distros such as debian have "automagical" ways of updating
>/etc/modules.conf
>If you're running debian, you'll have to add the same line to
>/etc/modutils/paths and run update-modules instead of editing
>/etc/modules.conf directly.
>I don't know what the approach for other distro's is.
>
>klaas
>

Received on 2004-03-08Z18:30:27