Error Cannot Load /usr/realtime/modules/rtai_hal.ko
in rtai kernel modules Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] weiyun lv wrote: > I am installing rtai-3.2 on linux-2.6.10, original linux: sarge(2.4.27) > > everything seems to go on well until I run latency test as root: > ------------------------------- > isw207:/usr/realtime/testsuite/kern/latency# ./run > * > * > * Type ^C to stop this application. > * > * > insmod: error inserting '/usr/realtime/modules/rtai_hal.ko': -1 > Operation not permitted > ERROR: cannot load /usr/realtime/modules/rtai_hal.ko > insmod: error inserting 'latency_rt.ko': -1 Unknown symbol in module > ERROR: cannot load latency_rt.ko > Warning: Error opening /proc/rtai/latency_calibrate > Couldn't get infos about the module's state. > Error opening /dev/rtf/3 > isw207:/usr/realtime/testsuite/kern/latency# cd /usr/realtime/modules > isw207:/usr/realtime/modules# insmod rtai_hal.ko > insmod: error inserting 'rtai_hal.ko': -1 Operation not permitted > ------------------------------------------ > > I have tried non rtai-module hello.ko, it works, I did get "hello > world". > > -------------results of dmesg: > RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED This indicates that you configured something RTAI wants to use but does not exist, so rtai_hal.ko is not loaded, as well as any other RTAI module following. Paolo. > latency_rt: Unknown symbol nano2count > latency_rt: Unknown symbol rt_get_time > latency_rt: Unknown symbol rt_task_make_periodic > latency_rt: Unknown symbol rt_set_runnable_on_cpus > latency_rt: Unknown symbol start_rt_timer > latency_rt: Unknown symbol rt_assign_irq_to_cpu > latency_rt: Unknown symbol rt_task_delete > latency_rt: Unknown symbol rtf_put > latency_rt: Unknown symbol stop_rt_timer > latency_rt: Unknown symbol rtf_destroy > latency_rt: Unknown symbol rt_get_cpu_time_ns > latency_rt: Unknown symbol rt_linux_use_fpu > latency_rt: Unknown symbol rt_set_oneshot_mode > latency_rt: Unknown symbol rtf_create > latency_rt: Unknown symbol rt_task_init > latency_rt: Unknow
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question Page Not Found This question was removed from Ask Ubuntu for reasons of moderation. http://mail.rtai.org/pipermail/rtai/2006-May/015148.html Please refer to the help center for possible explanations why a question might be removed. Here are some similar questions that might be relevant: How to see real time updates of file system at terminal? how to update dolphin file manager in real time How do I install a real-time kernel with a patch I http://askubuntu.com/questions/756780/problem-in-runing-real-time-application-interface need to apply? Ubuntu can be used as Hard Real time OS? Control Alsa in real time with external controller? How to install real time patch (14.04) Problems compiling a kernel (3.4.110) on xubuntu 15.10 How install Real Time Application Interface (RTAI) in ubuntu 14.04 How to install Real Time Application Interface for kernel 3.16.0-30-generic How to compile the patch of Real Time Application Interface in ubuntu Try a Google Search Try searching for similar questions Browse our recent questions Browse our popular tags If you feel something is missing that should be here, contact us. about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Other Stack Overflow Server Fault Super User Web Applications Ask Ubuntu Webmasters Game Development TeX - LaTeX Programmers Unix & Linux Ask Different (Apple) WordPress Development Geographic Information Systems Electrical Engineering Android Enthusiasts Information Security Database Administrators Drupal Answers SharePoint U
files 4. Unexpected realtime delay; check dmesg for details 4.1. RTAI Latency test 4.1.1. On-board video 4.1.2. On-board audio 4.1.3. APM and ACPI bios settings 4.1.4. AMD APU UEFI settings 4.1.5. AMD APU kernel command line parameters 4.1.6. NVidia and ATI graphics http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting cards 5. Display Issues 5.1. Using Vesa Drivers 5.2. Installing Software-based OpenGL 6. Also take note of hardware that isn't plugged in all the time... 7. Some Intel boards have issues with the SMI (System https://sourceforge.net/p/emc/mailman/message/19668293/ Management Interrupt). 8. PC speaker module (pcspkr) 9. Additional potential source of latency problems 10. Parallel port no longer works in EMC 2.0.1 or later (hal_parport: Device or resource busy) 11. Parallel port no longer works error cannot in EMC 2.0.1 or later (emc starts but motors don't turn) 12. Stepper motors lose steps 13. Mesa 5i20 FPGA firmware and/or driver won't load 14. Printing to parallel-port printers does not work 15. Testing Parallel Port Outputs 16. USB thumb drive (flash drive) FAT corrupted 17. Dedicating a CPU Core via the isolcpus Boot parameter 18. Other tricks to improve Real Time performance documented elsewhere in this wiki 1. LinuxCNC doesn't run error cannot load - wrong kernel Error messages like this: .... Realtime system did not load .... Debug file information: insmod: can't read '/usr/realtime-2.6.24-19-generic/modules/rtai_hal.ko': No such file or directory This error means the wrong kernel has been booted (in this case 2.6.24-19-generic). Always make sure you have a rtai patched kernel selected at boot time (2.6.32-122-rtai for Lucid/10.04, 2.6.24-16-rtai for Hardy/8.04, 2.6.15-magma for Dapper/6.06). 2. LinuxCNC doesn't run - missing lapic This happens most usually on Ubuntu Lucid/10.04. Error messages like this: .... Realtime system did not load .... Debug file information: insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 Operation not permitted Additionally the following lines are found in dmesg: .... [ 0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic" .... [ 54.798391] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED. This means your computer has a Local APIC, but it is not enabled. RTAI expects it to be present and enabled to be able to work. You can force it to on by editing: in /etc/default/grub, change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash lapic" afterwards run "sudo update-grub" and restart. 3. Checking the RealTime subsystem LinuxCNC uses a RealTime operating system in order to ensure precise timing of i/o signals and trajectory calculations. Error messages like one of the following may indicate that the realtime oper
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse LinuxCNC Mailing Lists LinuxCNC Brought to you by: alex_joni, cradek, jepler, jmelson, and 7 others Summary Files Reviews Support Mailing Lists Tickets ▾ Archived Feature Requests Archived Bugs News emc-commit emc-developers emc-users [Emc-developers] RTAI modules [Emc-developers] RTAI modules From: Joel C. Salomon