Joel C. Salomon wrote: > I've just installed the LinuxCNC-customized Ubuntu, and I can't figure > out how to load the RTAI modules. I've compiled the Comedi system > with RTAI support, but cannot load the modules: > > [EMAIL PROTECTED]:~$ sudo modprobe comedi > [sudo] password for joel: > FATAL: Error inserting comedi > (/lib/modules/2.6.24-16-rtai/comedi/comedi.ko): Unknown symbol in > module, or unknown parameter (see dmesg) > [EMAIL PROTECTED]:~$ dmesg > <irrelevant lines deleted> > [22937.060813] comedi: Unknown symbol rt_request_srq > [22937.060919] comedi: Unknown symbol rt_shutdown_irq > [22937.060970] comedi: Unknown symbol rt_enable_irq > [22937.061133] comedi: Unknown symbol rt_printk > [22937.061201] comedi: Unknown symbol rt_pend_linux_srq > [22937.061261] comedi: Unknown symbol rt_startup_irq > [22937.061344] comedi: Unknown symbol rt_free_srq > [22937.061450] comedi: Unknown symbol rt_request_irq > [22937.061536] comedi: Unknown symbol rt_release_irq > [EMAIL PROTECTED]:~$ > > The RTAI test-suite programs > (/usr/realtime-2.6.24-16-rtai/testsuite/kern/*/run) work fine; lsmod > while they're running shows that the modules are installed, lsmod > afterward shows them removed. I just can't load the modules myself. > > [EMAIL PROTECTED]:~$ sudo modprobe rtai_hal > FATAL: Module rtai_hal not found. > [EMAIL PROTECTED]:~$ file /usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko > /usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko: ELF 32-bit LSB > relocatable, Intel 80386, version 1 (SYSV), not stripped > [EMAIL PROTECTED]:~$ sudo modprobe > /usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko > FATAL: Module /usr/realtime_2.6.24_16_rtai/modules/rtai_hal.ko not found. > [EMAIL PROTECTED]:~$ > > What am I neglecting? > > --Joel >
I'm not sure of the specifics of your case. EMC2 uses a compatibility layer called RTAPI, which provides a simple realtime API and can be used with RTAI, RTlinux (older versions, not currently being maintained) or for simulation only with non-realtime kernels. As such, most of the OS specific details are hidden. You probably want to take a look at rtapi.conf, as well as at the main emc runscript, to see how EMC loads the modules. Then do the same thing with your module. Regards, John Kasunich ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
