modules.dep

R. David Whitlock ryandav at u.washington.edu
Tue Jun 20 17:30:45 PDT 2000


Hmmm, lots of questions, so let me take this slow... (I'm also not on my
box, so I can't check this stuff for exact syntax)

First off, you should always do a quick scan of the web archives for this
list before you ask something, just to see if it has come up before.  We
have lots of good advice, although unfortunately there are less people
around during the summer.  (shrug)

The modules.dep file is generated by you.  You need to run something like
"depmod -a > modules.dep" or something to that effect.  Run it first
without the redirect, and if it spits out a bunch of stuff that looks like
a file, you're in business.

Anyway, on the website at http://students.washington.edu/linuxug/archive/ 
there are lots of questions that involve modules, so this may help
further...  

I may be wrong, but I believe the APM daemon is installed by default, so
look in your /etc/rc.d directory and remove the reference to starting it
and you may stop seeing that at bootup.

I'm not really sure off the top of my head about those other service
errors.  Best I can do is point you towards that rc.d directory, in there
is where RH puts all of it's startup and shutdown configuration stuff.  If
you don't want something to happen then, like attempting to start the NFS
daemon, you remove the file with that service name.  "man rc.d" may be of
use.  you may also add things you want to happen after startup to the end
of the rc.local file, which is kind of like the "autoexec.bat" of the
Windows world...

Let us know what you find...

-David


	      "All of a sudden, I found myself in love with the world
   		          So there was only one thing that I could do
 		        Was ding a ding-dang my dang a long ling-long..."
 		         	     -Ministry, Jesus Built My Hotrod

On Tue, 20 Jun 2000, Charles F. Munat wrote:

> Hello,
> 
> I'm new to the LUG, having just installed Linux a couple days ago and
> decided that it was the best thing since sex. I'm already deeply involved in
> reading up, experimenting, and trying to get a grip on how it works.
> 
> I installed RH 6.0 (kernel 2.2.5-15) because that's the disk I had.
> Everything went smoothly. I managed to get networking set up and connected
> to my home network (all Windows machines, I'm afraid) and DSL line. I
> downloaded the source for kernel 2.2.16 and recompiled the kernel. It's a
> lot smaller now, and everything seems to work fine EXCEPT:
> 
> When I boot I get this error message:
> 
> Can't open lib/modules/2.2.16/modules.dep.
> 
> Which doesn't suprise me, because although 2.2.5-15/modules.dep exists,
> there is no 2.2.16/modules.dep. I've recompiled 10 or 12 times now, trying
> different things, but I can't seem to get a new modules.dep. Once I tried
> just substituting the old version. Oops. We won't talk about that.
> 
> Any ideas?
> 
> I also get warnings about the following:
> 
> On shutdown:
> 
> Shutting down NFS daemon: FAILED
> Shutting down APM daemon: FAILED
> 
> 
> On startup:
> 
> mount: fs type devpts not supported by kernel
> nfssvc function not supported
> 
> 
> OK, this isn't a laptop, so I didn't install APM. Why do I continue to get
> warnings about it? Where is it telling the system that APM should be there?
> Ditto for NFS. I didn't install it because I didn't think I needed it. Do I?
> Why does it keep trying to start it up and shut it down? And which file
> system is devpts? Why does the startup routine care that it's not supported
> in the kernel?
> 
> As I said, everything seems to work fine. Should I just ignore these
> messages, or can I do something about them?
> 
> Thanks in advance for any help.
> 
> Charles Munat
> 
> 



More information about the Linux mailing list