Discussion:
error inserting '/usr/realtime/modules/rtai_hal.ko': -1
(too old to reply)
weiyun lv
2006-05-17 15:51:01 UTC
Permalink
Raw Message
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
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: Unknown symbol count2nano
latency_rt: Unknown symbol rt_set_periodic_mode
latency_rt: Unknown symbol rt_reset_irq_to_sym_mode
latency_rt: Unknown symbol rt_task_wait_period
RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED
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: Unknown symbol count2nano
latency_rt: Unknown symbol rt_set_periodic_mode
latency_rt: Unknown symbol rt_reset_irq_to_sym_mode
latency_rt: Unknown symbol rt_task_wait_period
RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED
hello: module license 'unspecified' taints kernel.
Hello, world - this is the kernel speaking
------------------------------------------
_________________________________________________________________
Be the first on your block to see the future of Hotmail: Try Windows Live Mail beta
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
Paolo Mantegazza
2006-05-18 07:07:17 UTC
Permalink
Raw Message
Post by weiyun lv
I am installing rtai-3.2 on linux-2.6.10, original linux: sarge(2.4.27)
-------------------------------
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".
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.
Post by weiyun lv
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: Unknown symbol count2nano
latency_rt: Unknown symbol rt_set_periodic_mode
latency_rt: Unknown symbol rt_reset_irq_to_sym_mode
latency_rt: Unknown symbol rt_task_wait_period
RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED
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: Unknown symbol count2nano
latency_rt: Unknown symbol rt_set_periodic_mode
latency_rt: Unknown symbol rt_reset_irq_to_sym_mode
latency_rt: Unknown symbol rt_task_wait_period
RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED
hello: module license 'unspecified' taints kernel.
Hello, world - this is the kernel speaking
------------------------------------------
_________________________________________________________________
Be the first on your block to see the future of Hotmail: Try Windows Live Mail beta
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
_______________________________________________
RTAI mailing list
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
Loading...