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

Re: Help!! with modules



On Wed, 20 Sep 2000 18:40:57 -0500, Pat Mahoney wrote:

>On Tue, Sep 19, 2000 at 05:32:58AM +0800, Cam Ellison wrote:
>> For some reason, I cannot get the modules loaded (or so it seems) with
>> kernel 2.2.17.  I go through all the steps: make menuconfig make dep
>> make bzImage make modules make modules_install make bzlilo. 
> (snip)
>>  "Can't open dependencies file: /lib/modules/2.2.17/modules.dep (no
>> such file or directory)
>
>Try running depmod.  Also check out kernel-package.  It contains make-kpgk
>that compiles a kernel and puts it into a deb package.

I will have a go at both.  Further analysis indicates that the modules
are simply not being copied/written to /lib/modules/2.2.17.  That is,
there are only three that are: ppp_deflate.o, bsd_comp.o (in
/lib/../net), and zft-compressor.o (in /lib/.../misc).  There are no
other subdirectories, and modules.dep contains only those three.

Interestingly, the kernel source (i.e. in /usr/src/linux shows exactly
those three modules in /usr/src/linux/drivers/modules, and no others). 
If I attempt to insmod rtl8139.o, for example (I'm trying to set up a
home network), using /usr/src/linux/drivers/net/rtl8139.o, I get the
error message:  "couldn't find the kernel version the module was
compiled for".

Would it suffice to simply copy all the drivers to /lib/modules/2.2.17?

TIA

Cam


Cam Ellison, Ph.D., R.Psych.

cam_ellison@uniserve.com  or cam@fleuryassociates.com

>From the lovely Sunshine Coast, where it only SEEMS to rain.



 



Reply to: