From owner-freebsd-bugs Sat Apr 15 21:20:24 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA17874 for bugs-outgoing; Sat, 15 Apr 1995 21:20:24 -0700 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA17868 for ; Sat, 15 Apr 1995 21:20:21 -0700 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id XAA00363 for bugs@freefall.cdrom.com; Sat, 15 Apr 1995 23:17:42 -0400 Date: Sat, 15 Apr 1995 23:17:42 -0400 From: "House of Debuggin'" Message-Id: <199504160317.XAA00363@skynet.ctr.columbia.edu> To: bugs@freefall.cdrom.com Subject: if_ppp, if_sl loadable module problems Sender: bugs-owner@FreeBSD.org Precedence: bulk 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 ~~~~~~~~~