[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[rtl] patch 0.6-2.0.33
Hi,
I just installed RT-Linux on my computer using the latest 0.6 patch on a
brand new 2.0.33 kernel. The patch worked fine and I was able to compile
the kernel. I made a boot floppy with the kernel and rebooted. I did a
ksyms and got 7 rt_ symbols. So I proceeded to try out some of the
examples. I was following the documentation very carefully and insmod
rt_prio_sched.o and rt_fifo_new.o still no problems.
Then after compiling an example program, let's say example 2-tasks, I tried
to do an insmod on rtprocess.o and it failed with the following message:
[root@btwallac-home 2tasks]# /sbin/insmod rt_process.o
rt_task_wait undefined
rt_get_time undefined
rt_task_make_periodic undefined
rt_task_suspend undefined
rt_task_init undefined
rtf_create_handler undefined
rt_task_delete undefined
Failed to load module! The symbols from kernel 2.0.33 don't match 2.0.33
[root@btwallac-home 2tasks]#
However the first two RT modules loaded just fine:
[root@btwallac-home modules]# /sbin/insmod rt_prio_sched.o
[root@btwallac-home modules]# /sbin/insmod rt_fifo_new.o
[root@btwallac-home modules]# /sbin/lsmod
Module: #pages: Used by:
rt_fifo_new 2 0
rt_prio_sched 1 0
And ksyms shows that those missing symbols were there:
[root@btwallac-home 2tasks]# /sbin/ksyms -a | grep ' rt_'
04816004 rt_startup [rt_prio_sched]
04816418 rt_current [rt_prio_sched]
04816278 rt_task_delete [rt_prio_sched]
04816024 rt_task_init [rt_prio_sched]
0481641c rt_tasks [rt_prio_sched]
048160dc rt_schedule [rt_prio_sched]
04816420 rt_linux_task [rt_prio_sched]
048162f0 rt_task_suspend [rt_prio_sched]
04816304 rt_task_wakeup [rt_prio_sched]
04816318 rt_task_wait [rt_prio_sched]
04816340 rt_task_make_periodic [rt_prio_sched]
00112a14 rt_get_time_R062e513f
00112c28 rt_request_timer_Rb7c904e2
00112c54 rt_free_timer_R3ac33f94
00112bf0 rt_set_timer_R01bcb6f7
00112c0c rt_no_timer_R78d06fbb
0013473c rt_fifo_get_R5be8c660
001345d8 rt_fifo_put_Ra7242823
[root@btwallac-home 2tasks]#
Can anyone tell me where I went wrong?
Also when I run shutdown a get the following message about a thousand times
which made me concerned:
INIT: error reading initrequest
Here is a verbose insmod message when trying to load one of the testing
examples:
[root@btwallac-home 2tasks]# /sbin/insmod -v rt_process.o
Section 1: (.text) at 0x8013000
Section 2: (.rel.text) at 0x8016000
Section 3: (.data) at 0x8013170
Section 4: (.rel.data) at 0x8010ff0
Section 5: (.bss) at 0x80131a0
Section 7: (.rodata) at 0x8013180
Section 8: (.comment) at 0x801318e
Section 9: (.shstrtab) at 0x8011f80
Section 10: (.symtab) at 0x8017000
Section 11: (.strtab) at 0x8016f00
textseg = 0x8013000
bss_size = 88
last byte = 0x80131f8
module size = 504
versioned kernel: yes
versioned module: no
ELF kernel
ELF module
rt_task_wait undefined
rt_get_time undefined
rt_task_make_periodic undefined
rt_task_suspend undefined
rt_task_init undefined
rtf_create_handler undefined
rt_task_delete undefined
Failed to load module! The symbols from kernel 2.0.33 don't match 2.0.33
[root@btwallac-home 2tasks]#
Thanks a lot for any help in advanced.
-Brooke
(Publisher RTLManual)
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/