Hello.

  I developed a network loadable kernel module for Linux. I'm able to
compile and load it without any problems on single processor boxes. 

  The problem arrives when I try to compile it on a SMP box. I did the
following:

  1 - Activate the SMP support on kernel using "make menuconfig"
  2 - Define __SMP__ when compiling the module
  
  The module compiles OK, however when I try to load it, I receive a lot of
error messages, like the ones below:

  mod.o: unresolved symbol do_gettimeofday_R72270e35
  mod.o: unresolved symbol interruptible_sleep_on_R7e2d94a8
  mod.o: unresolved symbol kmalloc_R93d4cfe6

  I realized the symbols names are wrong (by looking /proc/ksyms), since
they should be:

  do_gettimeofday_Rsmp_72270e35
  kmalloc_Rsmp_93d4cfe6

  Does anybody can point me what should I do in order to have the LKM
module compiled with the correct symbol names ?

  Thanks in advance,

  Rodrigo Ormonde

--
Rodrigo de La Rocque Ormonde
e-mail: [EMAIL PROTECTED]
Aker Security Solutions - http://www.aker.com.br

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to