Re: smdromod errors



AllenF wrote:

> 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.





-- 
---------------------------------------------------------------
William Penn Shackleford III			shackle-at-nist.gov
National Institute of Standards & Technology	Tel:	(301) 975-4286
100 Bureau Drive Stop 8230  			FAX:	(301) 990-9688
Gaithersburg MD  20899  USA
http://www.isd.mel.nist.gov/personnel/shackleford/
Office Location: Bldg. 220 Rm A253




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact