Hi Ivan!  The email that you sent me has an invalid return address
([EMAIL PROTECTED]) and therefore I am replying to you
directly through the rtlinux mailing list.

I am suspecting that you recently either upgraded from an older version
of rtlinux or you simply recompiled your kernel.

Actually, "rtlinux" is nothing more than a convenience script used to
insert your modules. That is, it does nothing special other than to
compile a list "modulelist" of rtlinux modules found under both the
/usr/rtlinux directory and whatever else is past the "start" moniker;
and from there simply run:

insmod modulelist

Therefore, the problem that you are having is that somehow you did not
configure your kernel correctly OR that you did not type:

make install

after compiling your newest rtlinux kernel and therefore the rtlinux
script is continuing to use your old rtlinux modules found under
/usr/rtlinux directory.  On the other hand, the scripts/insrtl script is
simply using the modules found locally in your rtlinux source code
directory and thus this is probably the reason why there exists said
discrepancy between the two.

You can actually take a look at the internals of the "rtlinux" script
being that it is nothing but a simple bash script. It relies on
"rtl-config" to obtain its list. 

Let me know if this fixes your problem.

-Edgar


On Tue, 2002-03-12 at 06:35, Ivan Martinez wrote:
"rtlinux start" fails with a lot of unresolved symbols:
> 
> [root@localhost scripts]# rtlinux start
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol init_mm_Rb824b2cc
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol kmalloc_R93d4cfe6
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol vfree_R2fd1d81c
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol 
> remove_proc_entry_R77d4c49b /usr/rtlinux-3.1/modules/mbuff.o: unresolved 
> symbol boot_cpu_data_R0657d037
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol 
> __generic_copy_to_user_Rd523fdd3
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol misc_register_R2b13106d
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol remap_page_range_R69d01e73
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol sprintf_R3c2c5af5
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol mem_map_Rcd41dad3
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol misc_deregister_R4ccb02ce
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol kfree_R037a0cba
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol printk_R1b7d4074
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol __vmalloc_R79995c5b
> /usr/rtlinux-3.1/modules/mbuff.o: unresolved symbol 
> create_proc_entry_R7e821a99 /usr/rtlinux-3.1/modules/mbuff.o: insmod 
> /usr/rtlinux-3.1/modules/mbuff.o failed/usr/rtlinux-3.1/modules/rtl.o: 
> unresolved symbol x86_apicid_to_cpu
> /usr/rtlinux-3.1/modules/rtl.o: unresolved symbol do_softirq_Rf0a529b7
> /usr/rtlinux-3.1/modules/rtl.o: unresolved symbol vsprintf_R954cbb26
> /usr/rtlinux-3.1/modules/rtl.o: unresolved symbol smp_call_function
> ...
> 
>       In the other hand, "sh scripts/insrtl" seems to succeed:
> 
> [root@localhost rtl]# sh scripts/insrtl
> [root@localhost rtl]# lsmod
> Module                  Size  Used by
> rtl_sched              42464   0  (unused)
> rtl_fifo                9856   0  (unused)
> rtl_posixio             7120   0  [rtl_fifo]
> rtl_time                9744   0  [rtl_sched rtl_posixio]
> rtl                    26528   0  [rtl_sched rtl_fifo rtl_posixio rtl_time]
> 
>       Could you tell me what's the problem with "rtlinux start"?.
>       Regards,
>       Ivan Martinez


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to