[Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7
Hi everybody, I have installed on my PC the Ubuntu 8.04 HH with EMC2 from the live cd from linuxcnc.org. After, i have updated my system to EMC 2.2.7 with the ubuntu update manager, so I have updated EMC2 and other 227 files (from critical update and other applications...). Now when I try to load EMC2 with sim configuration (but it happens with any configuration), the rtai doesn't be loaded with the following error: insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko' -1 File exists 4891 PID TTYSTAT TIME COMMAND Stopping realtime threads Unloading hal components ERROR: Module rtai_math does not exists in /proc/modules ERROR: Module rtai_sched does not exists in /proc/modules ERROR: Module rtai_hal is in use by rtai_lxrt I don't know how it's possible, i have tryied to reboot the pc but nothing... I think that other applications use this rtai_lxrt but who is this??? Thank you! BYEEE - 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=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7
Please show us the list of kernel modules that are loaded immediately after you log in but before you run emc. You can do this by opening Applications Accessories Terminal, then typing dmesg, then by pasting the result into your reply. The *top* lines are probably going to be the important ones, but there shouldn't be so many that you can't include them all. Jeff - 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=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7
Roberto, I suspect what is happening is that the real time kernel is not the default kernel and the errors you are seeing are a consequence of not having a real time kernel loaded. You can select the kernel on boot, on some systems you may need to hit escape while grub is loading in order to select the kernel. The real time kernels will have 'rtai' in the name. To permanently change the default kernel, edit the file /boot/grub/menu.lst. I don't know why this has changed for HH, as far as what becomes the default kernel, but this question will continue to get asked until that is changed. Regards, Eric I have installed on my PC the Ubuntu 8.04 HH with EMC2 from the live cd from linuxcnc.org. After, i have updated my system to EMC 2.2.7 with the ubuntu update manager, so I have updated EMC2 and other 227 files (from critical update and other applications...). Now when I try to load EMC2 with sim configuration (but it happens with any configuration), the rtai doesn't be loaded with the following error: insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko' -1 File exists 4891 PID TTYSTAT TIME COMMAND Stopping realtime threads Unloading hal components ERROR: Module rtai_math does not exists in /proc/modules ERROR: Module rtai_sched does not exists in /proc/modules ERROR: Module rtai_hal is in use by rtai_lxrt I don't know how it's possible, i have tryied to reboot the pc but nothing... I think that other applications use this rtai_lxrt but who is this??? - 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=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7
Roberto, I have experienced this same issue with 8.04 installed from the live CD - but it is occurring on EMC 2.2.6. I haven't allowed the upgrade to 2.2.7 to occur, but I did install all the critical other apps. I have found a work around - load EMC2 again! I only get the rtai_hal.ko file exists error the first time I try to run EMC after a reboot. If I shut it down and start it again, it loads. Here are the error messages I see after a reboot: http://pastebin.com/m12dbb0b6 Here is the dmesg list after a reboot: http://pastebin.com/m23c28ffb Here is the dmesg list after I load EMC, let it fail, close and re-open: http://pastebin.com/m71e7e99b (I'm still working on the unexpected real time delay on task 1) I hope that is helpful. I didn't report it before because I am very new to EMC and I thought I was doing something wrong. Oh, another random bit of information - this error also happens if I try to load emc-trunk using run-in-place. Alex On Fri, Nov 14, 2008 at 9:58 AM, Eric H. Johnson [EMAIL PROTECTED]wrote: Roberto, I suspect what is happening is that the real time kernel is not the default kernel and the errors you are seeing are a consequence of not having a real time kernel loaded. You can select the kernel on boot, on some systems you may need to hit escape while grub is loading in order to select the kernel. The real time kernels will have 'rtai' in the name. To permanently change the default kernel, edit the file /boot/grub/menu.lst. I don't know why this has changed for HH, as far as what becomes the default kernel, but this question will continue to get asked until that is changed. Regards, Eric I have installed on my PC the Ubuntu 8.04 HH with EMC2 from the live cd from linuxcnc.org. After, i have updated my system to EMC 2.2.7 with the ubuntu update manager, so I have updated EMC2 and other 227 files (from critical update and other applications...). Now when I try to load EMC2 with sim configuration (but it happens with any configuration), the rtai doesn't be loaded with the following error: insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko' -1 File exists 4891 PID TTYSTAT TIME COMMAND Stopping realtime threads Unloading hal components ERROR: Module rtai_math does not exists in /proc/modules ERROR: Module rtai_sched does not exists in /proc/modules ERROR: Module rtai_hal is in use by rtai_lxrt I don't know how it's possible, i have tryied to reboot the pc but nothing... I think that other applications use this rtai_lxrt but who is this??? - 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=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - 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=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users