[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Finding and installing lp.o from 2.2.15



(Please reply to gordon@visi.com in addition to debian-users.
Thanks.)

6 months ago I installed 2.2.15 potato and at the time did not
install the lp.o line printer module--big mistake, as it turns out.
(I was using a networked printer, had no local printer.)

Now I need to install the lp.o module and cannot find it.  All I
could find on debian site was one from 2.2.18pre21.  That doesn't
load with modprobe--complains like this:

/lib/modules/2.2.15-idepci/misc/lp.o: kernel-module version mismatch
        /lib/modules/2.2.15-idepci/misc/lp.o was compiled for kernel
version 2.2.18pre21
        while this kernel is version 2.2.15-idepci.
/lib/modules/2.2.15-idepci/misc/lp.o: insmod
/lib/modules/2.2.15-idepci/misc/lp.o failed
/lib/modules/2.2.15-idepci/misc/lp.o: insmod lp failed

I've looked all over debian.org and can't find the actual file that
I need in the version that I need.  I also could find no helpful
instructions for someone in the pickle I'm in.  I hope you can help.


What are my options?

Simply install some package?  Must I upgrade first?
-------------------------------------------------------
If so, what package gets me a slew of modules, or at least the lp.o
module?

Steal the module from the rescue or root or driver 'bin' floppies?
------------------------------------------------------------------
Does anyone know how to do this?  It seems to be the easiest
approach.  My floppies are labelled 2.2r0 which ended up with kernel
2.2.15 in June, 2000.

Compile from source?
-----------------------------------
I have the file kernel-source-2.2.15.tar.  I know that lp.c is in
there, but I wonder if all the header files, etc, that I need are
there.  (I don't often compile c programs, and don't undertand well
enough how debian divvies up the various files into packages.)  

I haven't found a document which describes how to proceed to locate
all the pieces and compile a module from source, but could probably
follow it if I had one.

Thanks in advance.  I will no doubt need this again for something
else. :-)

(Please reply to gordon@visi.com in addition to debian-users.
Thanks.)

-- 
Gordon Pedersen
gordon@visi.com



Reply to: