plustek: SMP module loading errors
Subject:
Re: SMP module loading errors
From:
"Jaeger, Gerhard" ####@####.####
Date:
16 Aug 2000 09:16:39 -0000
Message-Id: <00081611181102.01492@dagobert>
On Mit, 16 Aug 2000, you wrote:
> >Hi Vasileios,
> >
> >any success so far?
> >
> >I've currently tried to load the module on
> >one of our MP machines (SuSE 6.2 - Kernel 2.2.10smp)
> >and had no problems.
> >
> >I cannot figure out why there's a problem...
> >When you use the SMP switch, then you also should
> >get the correct version string out of the kernel header
> >files!
>
> Hmmm....that might be the problem....the version string.
> How do I do that???
>
Hi,
thought you already had commented out the SMP=1
switch in the makefile!
By uncommenting the switch, a -D__SMP__ will
be added to the CFLAGS and afer recompiling
you should have a driver, that contains the correct
string. Try
strings -a pt_drv.o | grep kernel_version
and you should receive something like:
kernel_version=2.2.16
__module_kernel_version
In your case this should be
kernel_version=2.2.5-22smp
You should also check the file /usr/include/linux/version.h.
Theres an entry like
#define UTS_RELEASE ...
and the file /usr/include/linux/autoconf.h
#define CONFIG_SMP
These files will be modified when configuring
the kernel via make menuconfig...
Check this please.
Gerhard