[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systalk
Subject:    [Systalk]Fwd: pt_drv on 2.2.18
From:       David McGlone <dmcglone () ameritech ! net>
Date:       2001-12-13 4:55:12
[Download RAW message or body]

Hello everyone, I forgot I was on this list.....oops......anyway......I have 
spent all day trying to get my scanner working with
sane, but I keep running into a small problem that I cannot seem to figure
out, here is the problem I am having, I cannot load the pt_drv module and I
keep getting this error:

buddy:~/scanner/sane-backends-1.0.6/backend/plustek_driver # modprobe pt_drv
/lib/modules/2.2.18/misc/pt_drv.o: kernel-module version mismatch
/lib/modules/2.2.18/misc/pt_drv.o was compiled for kernel version 2.4.0
while this kernel is version 2.2.18.
/lib/modules/2.2.18/misc/pt_drv.o: insmod /lib/modules/2.2.18/misc/pt_drv.o
failed
/lib/modules/2.2.18/misc/pt_drv.o: insmod pt_drv failed

Ok, I searched and searched for a solution to this problem and a workaround
and this is what I have come up with:

SYMPTOM: "kernel-module version mismatch"
--------
"When I try to "make load" I get an error"

/sbin/modprobe pt_drv || exit 1
/lib/modules/2.2.14-6.0.6/misc/pt_drv.o: kernel-module version mismatch
/lib/modules/2.2.14-6.0.1/misc/pt_drv.o was compiled
for kernel version 2.2.14-5.0
while this kernel is version 2.2.14-6.0.1.

PROBLEM:
--------
You're using the wrong Kernel-header files.

The path
/usr/include/linux is a link to
/usr/src/linux/include/linux and
/usr/src/linux is normally a link to your current
kernel, i.e:
/usr/src/linux-2.2.14

If you now upgrade your kernel and you have
forgotten to correct the link /usr/src/linux, then
every kernel-module you build outside the
kernelsource structure will include the wrong
version information.

SOLUTION:
---------
Set the link /usr/src/linux
to your current kernel-source tree before recompiling
kernel-modules like pt_drv, then your version mismatch
problem should be solved.


I don't completly understand what he means in the solution by "Set the link
/usr/src/linux to your current kernel-source tree"

can anyone help me

Thanks in advance
--
David M.
AIM: dmcglone27
ICQ:96210352
==========Registered linux user 226218===========

-------------------------------------------------------

-- 
David M.
AIM: dmcglone27
ICQ:96210352
==========Registered linux user 226218===========

_______________________________________________
DHS Systalk Discussion List Systalk@dhs.org
To manage your subscription, please goto:
http://www.dhs.org/mailman/listinfo/systalk
To search the archive: http://www.dhs.org/search
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic