Re: smdromod errors
Hello list,
Here is my .02 worth of this topic ......
Try a grep on these kernel symbols in /proc/ksyms, either you find them or your
kernel is missing them (==compiled without them). If you find them in
/proc/ksyms your machine is not configured properly.
$ egrep 'get_pte_slow|__bad_pte|__bad_pte_kernel|__this_fixmap_does_not_exist'
/proc/ksyms
(my mailer puts that on two lines, it should be one)
Max
> > I am trying to use the smdromod.o module
> > and it isn't working.
> >
> > When I go to the console I see this:
> > ----------------------------------------------
> > starting EMC MOTION PROGRAM -- smdromod.o ...
> > plat/rtlinux_3_0/lib/smdromod.o : unresolved
> > symbol get_pte_kernel_slow
> >
> > unresolved symbol get_pte_slow
> > unresolved symbol __bad_pte
> > unresolved symbol __bad_pte_kernel
> > unresolved symbol __this_fixmap_does_not_exist
> >
> > can't install it
> > ----------------------------------------------
> >
> > I have a BDI install on an AMD K6-2 550mhz
> >
> > Is there a setting I need to set somewhere?
> > Is this a problem with the program code?
> >
> > Any help will be greatly appreciated.
> >
> > Thanks,
> > Allen F
> >
> >
> >
> >
>
> My guess is that it is a mismatch between the kernel configuration used
> when the kernel was configured and the one used when the module was built.
>
> For example if the kernel was built to support SMP then the module needs
> to be compiled to only use the set of functions available in SMP
> kernels. One way to cause this mismatch is to build the module and then
> reconfigure the kernel. If this were the case just recompiling the
> module should fix the problem. Another way this could happen would be to
> have two sets of kernel sources. The makefiles generally look in
> /usr/src/linux for the kernel configuration stuff. If you built a kernel
> in /usr/src/mylinux but had some older or differently configured kernel
> under /usr/src/linux then the modules would be built to match
> /usr/src/linux and not match your kernel. In which case you need to
> rename the directories or set up some symbolic links so the module uses
> the correct configuration and then rebuild the module.
>
--
Max Heise <max.heise-at-gmx.net>
Student Mechatronik/Automatisierungstechnik
PGP public key from:
http://www.fht-esslingen.de/~mahemt01/pgp50i.pub or any keyserver
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact