modules

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



((Some information about debugging module problems, with
emphasis on ppp.))

Subject: Re: Missing modules
From: Rob Napier <rnapier@employees.org>
Date: Thu, 11 Mar 1999 17:51:58 -0500


I'm sorry. I think I was getting confused by the binfmt-0. That's the
kernel trying to autoload a executable type. Maybe you're trying to
execute a datafile? Either way, that's not the problem (took a little
digging to figure that out properly).

OK, you want to take a look at your /etc/conf.modules and make sure
that nothing weird is in there related to ppp. In particular, you're
looking for 'alias' lines.

Then I might try 'modprobe' by hand. Try "modprobe -c| grep ppp" and
look for:

   alias ppp0 ppp
   alias ppp1 ppp
   alias tty-ldisc-3 ppp

This tells the system to use the ppp module.

Then you can try "modprobe --debug -a -v ppp". That will try to load
the ppp module and spit some debugging info if available (and look in
/var/log/messages, too). See if that's what's kicking off the "can't
locate module binfmt-0".

The last thing I can suggest is taking ppp out (rpm -e ppp) and
reinstalling it from CD (.../Redhat/RPMS/i386/ppp-2.3.5-1.rpm I
think).

And of course take a look at /usr/doc/HOWTO/PPP-HOWTO (though that's
probably not your problem, it's always good to know what it's supposed
to look like).

Hope it helps. Sorry it's been so confusing...

Rob


On Tue, Mar 09, 1999 at 01:53:32PM -0500, Rob Napier wrote:
> If you believe that you've deleted something, try "rpm -Va". This is
> verify all your rpms are complete and correct.  If any of them fail,
> reinstall them (rpm -i --force <rpm>). You'll need the --force because
> the rpm is already installed and you want to install over it. If that
> doesn't work, binfmt itself is part of the kernel modules, so if you
> have a kernel that you've built, you should be able to just do "make
> modules_install" to get it back. If neither of these solve it, I would
> try rebuilding the kernel to get it back (I've never seen reference to
> binfmt-0, so I'm somewhat inclined to think this is a problem with the
> ppp package rather than with your kernel modules).
> 
> Rob
> 
> On Fri, Mar 05, 1999 at 09:25:33AM -0500, Steve.Murphy@bull.com wrote:
> > Help - I'm a newbie.
> > 
> > I previously sent this message out with a different subject title but
> > received no bites.
> > I believe I accidently deleted or overlayed some modules while under root;
> > Prior to knowing how to copy/paste I pasted a hi-lited "ls -l" listing
> > while sitting at some root directory. I don't know how to get the modules
> > back or where they should be located.
> > 
> > When I attempt to use pppd the modem no longer dials out and I see the
> > following messages in the
> > logs I set up:
> > 
> > Feb 26 11:10:49 swmhome1 kernel: Swansea University Computer Society IPX
> > 0.34 for NET3.035
> > Feb 26 11:10:49 swmhome1 kernel: IPX Portions Copyright (c) 1995 Caldera,
> > Inc.
> > Feb 26 11:10:50 swmhome1 kernel: Appletalk 0.17 for Linux NET3.035
> > Feb 26 11:10:58 swmhome1 modprobe: can't locate module binfmt-0
> > Feb 26 11:11:29 swmhome1 last message repeated 2 times
> > Feb 26 11:11:29 swmhome1 modprobe: can't locate module binfmt-0
> > 
> > I see the same "modprobe" errors displayed when booting into linux and
> > shutting down.
> > Can I re-install Linux (if that's necessary) without re-creating all the
> > configurations for partitions, printer, monitor, modem, etc.
> > 
> > Thanks in advance for any help you can give.
> > 
> > Steve

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu