Dave wrote: (snip) > 2008 (Ubuntu 2.6.24-19.41-generic)
You are running the generic Ubuntu (non-realtime) kernel >>From the EMC2 install script: > ....... > Building dependency tree > Reading state information... Done > The following extra packages will be installed: > linux-image-2.6.24-16-rtai rtai-modules-2.6.24-16-rtai ^^^^ The install script is going to install the realtime kernel and its corresponding modules. > Suggested packages: > linux-doc-2.6.24 linux-source-2.6.24 > The following NEW packages will be installed: > emc2 linux-image-2.6.24-16-rtai rtai-modules-2.6.24-16-rtai > 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. > .... > Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst > Searching for splash image ... none found, skipping ... > Found kernel: /boot/vmlinuz-2.6.24-19-generic > Found kernel: /boot/vmlinuz-2.6.24-18-generic > Found kernel: /boot/vmlinuz-2.6.24-17-generic > Found kernel: /boot/vmlinuz-2.6.24-16-rtai > Found kernel: /boot/vmlinuz-2.6.24-16-generic > Found kernel: /boot/vmlinuz-2.6.22-14-generic ^^^^ You have all of these kernels on your computer. The default is probably the first one on the list, which is NOT a realtime kernel. You want to run the one that ends in -rtai > ........ > Setting up rtai-modules-2.6.24-16-rtai (3.6.1-linuxcnc.3) ... > Setting up emc2 (1:2.2.6) ... > * Loading additional hardware > drivers... [ OK ] > ....... Although the realtime kernel is installed on your computer now, it is NOT running. You need to reboot, AND you need to select the realtime kernel. By default the boot manager (grub) only gives you something like three seconds to hit a key and get a menu, otherwise you get the default kernel. That can be fixed by editing the grub control file /boot/grub/menu.lst I'm not going to go into details about that - if you want to change it, either search the web or ask for specifics. > ============================================= > The EMC2 sim axis error listing follows: > ============================================= > > > Print file information: > RUN_IN_PLACE=no > EMC2_DIR= > EMC2_BIN_DIR=/usr/bin > EMC2_TCL_DIR=/usr/share/emc/tcl > EMC2_SCRIPT_DIR= > EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2 ^^^^ This is the realtime kernel that EMC wants to use > EMC2_CONFIG_DIR= > EMC2_LANG_DIR=/usr/share/emc/tcl/msgs (snip) > Realtime system did not load ^^^^^ This is the problem > Shutting down and cleaning up EMC2... > Killing task emcsvr, PID=5935 (massive snip) > Debug file information: > insmod: can't read > '/usr/realtime-2.6.24-19-generic/modules/rtai_hal.ko': No such file or > directory ^^^^^ This indicates that you are still running the -generic kernel. You either didn't reboot after the install, or you didn't select the realtime kernel. (snip) > It seems the install script installed rtai for version 2.6.24-16, > but the sim axis script wants rtai version 2.6.24-19. The sim axis script asked the operating system what kernel was running, and asked for the modules to go with that kernel. Unfortunately the kernel that was running wasn't a realtime one, so there aren't any matching realtime modules. > > Any ideas of what happened?? > > when I did the remove of EMC2 I seem to remember it removing modules for > rtai for version 2.6.24-16, And the install seems to have put them back. I'm almost certain everything is there. Reboot and select the realtime kernel (the one that ends in -rtai). Regards, John Kasunich ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users