Did you follow the steps to change the udev and memlock sizes? http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI#OS_Configuration
check dmesg after the error, and look what exactly happens. Regards, Alex ----- Original Message ----- From: "Eric H. Johnson" <[email protected]> To: "'EMC developers'" <[email protected]> Sent: Sunday, February 01, 2009 5:28 PM Subject: Re: [Emc-developers] Building an smp rtai kernel 2.0 > > Well here is the latest. I turned on the power management options as > suggested by acemi. Rebuilding the kernel did result in a kernel which > correctly detected 4 processors. I then compiled and applied the RTAI > modules. All of that appeared to run without error. I tried both the > Debian > way and the classic way and they had identical results. After rebooting to > the rtai patched kernel and testing I get the following results: > > su - > cd /usr/realtime/testsuite/user/latency; time ./run > > insmod: error inserting '/usr/realtime/modules/rtai_hal.ko': -1 Operation > not permitted > Error: cannot load /usr/realtime/modules/rtai_hal.ko > /usr/realtime/bin/rtai-load: line 185: 3104 Segmentation fault $suflag > $* > /usr/realtime/bin/rtai-load: line 185: 3130 Segmentation fault $suflag > $* > > I checked the /usr/realtime/modules folder, and all of the modules appear > to > be there. Specifically rtai_hal.ko is there. > > Any ideas as to what to try next? Change the processor family? > > BTW, after rebooting cat /proc/cpuinfo still shows four processors. > > Thanks, > Eric > > Try with the following changes: > > * Power management options (ACPI, APM) ---> Power Management support > ---> enabled > > * Power management options (ACPI, APM) ---> ACPI (Advanced Configuration > and > Power Interface) Support ---> ACPI Support ---> enabled > > * Power management options (ACPI, APM) ---> ACPI (Advanced Configuration > and > Power Interface) Support ---> Processor ---> disabled > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.233 / Virus Database: 270.10.16/1928 - Release Date: 01/31/09 20:03:00 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
