[<<] [<] Page 1 of 2 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
SMP module loading errors
From: Vasileios Zografos ####@####.#### Date: 7 Aug 2000 19:23:43 -0000 Message-Id: <00080721251600.12918@Lava.Gamerz> Hi people....okokook I have installed and compiled all the necessary files for my Plustek Optic pro 4831P scanner. When at the last steps in the directory: /temp/sane-1.0.2/backend/plustek_driver/make -f Makefile load it says: /sbin/modprobe pt_drv || exit 1 /lib/modules/2.2.5-22smp/misc/pt_drv.o: kernel module version mismatch lib/modules/2.2.5-22smp/misc/pt_drv.o was compiled for kernel version 2.2.5-22 while this kernel is version 2.2.5-22smp make:*** [load] Error 1 heeeeelllpp I uncommented the SMP=1 line in Makefile but no luck. Can anyone help please Vas | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: "Jaeger, Gerhard" ####@####.#### Date: 16 Aug 2000 06:04:24 -0000 Message-Id: <00081608054201.00327@dagobert> 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! If you have managed to solve the problem, please let me know. Gerhard | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: "Vasileios Zografos" ####@####.#### Date: 16 Aug 2000 08:43:26 -0000 Message-Id: <F50bNDN4CxpAOAkK5Lq00001a13@hotmail.com> >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??? > >If you have managed to solve the problem, please >let me know. > >Gerhard ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: Vasileios Zografos ####@####.#### Date: 20 Aug 2000 23:16:23 -0000 Message-Id: <00082100155400.01014@Lava.Gamerz> >>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??? .... .... .... Ok Ok I think I managed to solve about 90% of this problem. What I did I I copied the contents ( /2.2.5-22smp) of the directory /lib/modules to the directory /lib/oldmodules. So the /lib/modules is empty. Then I recompile my kernel with parallel port support as a module (make clean; make dep; make bzImage; make modules, make modules_install) and the directory /lib/modules is reconstructed but with its contents as /2.2.5-22. So when I now type make load for the plustek scanner it all works and the light turns on. Success.... But then when I type scanimage i get this message: [root@Lava /root]# scanimage scanimage: error in loading shared libraries: libsane.so.1: cannot open shared object file: No such file or directory What is this library I am missing? Anyway....I guess if I find this library it should work fine I hope it helps someone Vasileios | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: "Jaeger, Gerhard" ####@####.#### Date: 21 Aug 2000 07:25:06 -0000 Message-Id: <00082109264505.32571@dagobert> On Mon, 21 Aug 2000, you wrote: > > What is this library I am missing? > Anyway....I guess if I find this library it should work fine > Hi Vasileios, it seems, that you first have installed the binary version of SANE. Then you recompiled the stuff and installed it to a wrong place. When using SuSE, you should configure the sane stuff as follows: (in the sane source directory) ./configue --prefix=/usr --sysconfdir=/etc Then recompile and reinstall sane. This should solve your with the libs... Gerhard | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: "Vasileios Zografos" ####@####.#### Date: 21 Aug 2000 10:01:19 -0000 Message-Id: <F232GhAj5p1Fjxe0ymQ00001345@hotmail.com> >Hi Vasileios, > >it seems, that you first have installed the binary version >of SANE. Then you recompiled the stuff and installed it >to a wrong place. Well all I did really is downloaded the tar.gz files (the sane and the plustek) and followed the instructions. Unzipped the sane in a temp and unzipped the plustek in the temp as well. Overwritting the /backend. Anyway...I haven't installed an rpm (if such a thing exists) and I am sure i didn't select a directory when compiling or make install. I just did the defaults. >When using SuSE, you should >configure the sane stuff as follows: >(in the sane source directory) >./configue --prefix=/usr --sysconfdir=/etc >Then recompile and reinstall sane. This should solve >your with the libs... I have RH 6.0 actually. Do the same settings apply? I think I am getting really close to making my scanner work Thanks for the help Vasileios ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: "Jaeger, Gerhard" ####@####.#### Date: 21 Aug 2000 10:08:55 -0000 Message-Id: <00082112102900.20436@dagobert> On Mon, 21 Aug 2000, you wrote: > I have RH 6.0 actually. Do the same settings apply? > I think I am getting really close to making my scanner work > Thanks for the help > Vasileios > No! Have a look at the INSTALL file there's a detailed description how to find the correct --prefix and --sysconfdir settings.... Gerhard | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: Vasileios Zografos ####@####.#### Date: 21 Aug 2000 18:00:37 -0000 Message-Id: <00082119014000.11856@Lava.Gamerz> >No! >Have a look at the INSTALL file there's a detailed >description how to find the correct --prefix and --sysconfdir >settings.... > >Gerhard Hi it is me again....ok sorry for being such a pain but this motherf***** still doesn't work. I compiled everything with the correct --prefix and --sysconfdir (I have RH 6.0 but I even tried the settings for SuSE) but no luck. The same crap about libsane.so.1 Has anyone had the same problem??? One thing I do not understand in the INSTALL document. It says : "Now find out where a previous installation is placed." ... ... "We now call the configure script in the sane source directory (depending on" "the info we already got (I assume a previous installation at /usr and /etc" "which is usual for a SuSE distribution, RedHat uses /usr/local and" "/usr/local/etc)" My question is: -What previous installation???? Are we supposed to have some sane directories allready existent???? Or does it assume an upgrade. Thanx for your time Vas | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: SMP module loading errors
From: "Jaeger, Gerhard" ####@####.#### Date: 22 Aug 2000 08:12:13 -0000 Message-Id: <00082209185505.18947@dagobert> On Mon, 21 Aug 2000, you wrote: Hi, "Try to find a previous installation" means, that if you have installed a binary version (i.e. during installation of your system, or so) you have to find the lib directory of this installation! You have to do this to make sure that your newly build libraries were copied into the same path like the old ones. If you never had installed a SANE version before, there's no need to use another "prefix" of "sysconfdir", simply do a "configure". You might add the library path (/usr/lib/sane) to your /etc/ld.so.conf file. Gerhard | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 2 [>] [>>] |