From: Eric Weigle <ehw@lanl.gov>
To: "Punj, Arun" <Arun.Punj@marconi.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: NEWBIE : can't find /lib/modules/2.4.17/modules.dep error
Date: Wed, 23 Jan 2002 17:15:52 -0700 [thread overview]
Message-ID: <20020124001552.GC12041@lanl.gov> (raw)
In-Reply-To: <313680C9A886D511A06000204840E1CF40B60A@whq-msgusr-02.pit.comms.marconi.com>
In-Reply-To: <313680C9A886D511A06000204840E1CF40B60A@whq-msgusr-02.pit.comms.marconi.com>
> 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/
--------------------------------------------
next prev parent reply other threads:[~2002-01-24 0:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-23 23:35 NEWBIE : can't find /lib/modules/2.4.17/modules.dep error Punj, Arun
2002-01-24 0:15 ` Eric Weigle [this message]
2002-01-24 3:16 ` Richard Massa
-- strict thread matches above, loose matches on Subject: below --
2002-01-24 0:55 Punj, Arun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020124001552.GC12041@lanl.gov \
--to=ehw@lanl.gov \
--cc=Arun.Punj@marconi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox