Thanks to those who offered help, Here's a reply to my own problem:
In a nutshell, I believe I hadn't allowed make to prepare the kernel
sources for a RTL compile. Though I'm unclear as to the mechanics of it,
The RTL symbols weren't compiled into the kernel as they should be
(though I did see "D_RT_" during the compile).
I had manually typed "CONFIG_RTL=y" in to an preexisting .config file in
the linux directory _after_ my make menuconfig. This is bad - I've
found that one must run, say, make menuconfig and "save changes to
config" after modifying a .config file in order to propagate the
changes.
So to fix this I did: make distclean, copied my preferrred .config to
.../linux, make menuconfig, make dep, make zImage, make modules, make
modules_install, make install
I found that the kernel compiled yesterday was not the same size as the
one compiled today, and cat /proc/ksyms shows that the new kernel has
the symbols I was loooking for yesterday.
steve rosenbluth wrote:
>
> Help !
> After compiling RTL2.0 with kernel 2.2.13 "depmod -a" finds unresolved
> symbols.
> "depmod -ae" tells me that all the problem modules are looking for these
> symbols (and no others):
> __sti
> __cli
> __restore_flags
> __return_flags
>
> the modules were compiled right after the kernel
> (make zImage; make modules; make install; make modules_install)
>
> the kernel was configured for modversions, but I don't think that's the
> problem.
>
> the paths are correct, the modules were installed to
> /lib/modules/2.2.13-rtl2.0 and the modules.dep file generated by depmod
> contains this path too
>
> running the RT kernel, "uname -r" gives: 2.2.13-rtl2.0
>
> In /boot, I have a valid System.map -> System.map-2.2.13-rtl2.0
> which was created when I installed the RT kernel (make install)
>
> "depmod -am /boot/System.map" also finds the same unresolved symbols
>
> running my RT kernel, I search "cat /proc/ksyms" and find that the
> symbols in question aren't there, but I do find these:
>
> __sti_R__ver__sti
> __cli_R__ver__cli
> __restore_flags_R__ver__restore_flags
> __return_flags_R__ver__return_flags
>
> modprobe gives the same unresolved symbols errors when I try to load one
> of my modules.
>
> Why is this happening ?
>
> --
> Steve Rosenbluth
> Jim Henson's Creature Shop
> 2821 Burton St, Burbank CA 91505
>
> --- [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/~rtlinux/
--
Steve Rosenbluth
Jim Henson's Creature Shop
2821 Burton St, Burbank CA 91505
(818) 953-3030
--- [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/~rtlinux/