Re: NEWBIE : can't find /lib/modules/2.4.17/modules.dep error

Eric Weigle (ehw@lanl.gov)
Wed, 23 Jan 2002 17:15:52 -0700


> I upgraded the 2.4.7-10 kernel that comes with RH7.2 to 2.4.17.
> [ I could compile it fine and grub is able to load it too...]
>
> However, I see the error : can't find /lib/modules/2.4.17/modules.dep
> multiple times.
Sounds like you didn't make or install modules. Most kernels these days
are best built using modules for device drivers and such that are loaded
on-demand during runtime, instead of being part of a big 'monolithic'
kernel. This saves space in memory and has some other benefits (although
this is open to debate).

`make bzImage` makes just the 'monolithic' part of the kernel, while `make
modules` and `make modules_install` handle building and installing modules,
and should create the proper directories and put in the appropriate files.

If you did execute the modules commands (as root, of course), the problem
might be in your module loader program suite (insmod, lsmod, etc.). Old
versions of the program don't work with newer kernels. I'm not a RedHat user
so I wouldn't know about that, but you could check their site and download
the latest RPM if that seems to be the problem.

-Eric

-- 
--------------------------------------------
 Eric H. Weigle   CCS-1, RADIANT team
 ehw@lanl.gov     Los Alamos National Lab
 (505) 665-4937   http://home.lanl.gov/ehw/
--------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/