Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 1995 23:17:42 -0400
From:      "House of Debuggin'" <wpaul@skynet.ctr.columbia.edu>
To:        bugs@freefall.cdrom.com
Subject:   if_ppp, if_sl loadable module problems
Message-ID:  <199504160317.XAA00363@skynet.ctr.columbia.edu>

next in thread | raw e-mail | index | archive | help

Tonight I discovered that if you load either the if_ppp_mod or
if_sl_mod loadable kernel modules, then try to do a 'modstat,' the
system panics inside lkmexists() in kern_lkm.c. (I think. This is
a close approximation.) I think this has to do with the fact that
it's trying to do a strcmp() on the module name, but there may not
a name associated with either of these modules because they aren't
put together like any of the others.

I might just be installing them wrong. Unfortunately, I have no way to
tell for sure because these bloody modules appear to be completely
undocumented, so there's no way to know what the right way is. I've
been doing it like this:

# modload -e pppattach if_ppp_mod.o

This works, and I can ifconfig the ppp0 and ppp1 interfaces with no
trouble. Unfortunately, modstat causes a panic and modunload -i 0
hangs the machine hard (unfortunately, the machine is at work, and I'm
at home, so I can't do any more testing until I go in tomorrow and
reset it :(  ).  I have a feeling this is also caused by the same
lkmexists() lossage.

I'm going to do more hacking on this tomorrow, though if someone can
spot the bug before I do, I'd love to hear from you.

-Bill

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Møøse Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~~~ FreeBSD 2.1.0-Development #0: Tue Mar 14 11:11:25 EST 1995 ~~~~~~~~~



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504160317.XAA00363>