From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32124 invoked from network); 21 Apr 1998 01:04:57 -0000 Received: from slip-32-100-110-199.vt.us.ibm.net (HELO air.steve.net) (32.100.110.199) by mail2.redhat.com with SMTP; 21 Apr 1998 01:04:57 -0000 Received: from localhost (localhost [127.0.0.1]) by air.steve.net (8.6.12/8.6.9) with SMTP id VAA02216; Mon, 20 Apr 1998 21:06:30 -0400 Date: Mon, 20 Apr 1998 21:06:30 -0400 (EDT) From: "Steven N. Hirsch" X-Sender: hirsch@air.steve.net To: Greg Zornetzer cc: adam@yggdrasil.com, linux-kernel@vger.rutgers.edu, axp-list@redhat.com, Mikael.Pettersson@sophia.inria.fr Subject: Re: daemon-less kmod & Alpha no-go! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 20 Apr 1998, Greg Zornetzer wrote: > Hi Steven, > > Can you check if the waitpid() call in request_module is actually causing > a wait, or if it is just being ignored? Happened to some code that I was > writing very similar to the daemonless kmod patch. Ok, here's what I used for testing. echo "/root/kmod_test/kmod_test" > /proc/sys/kernel/modprobe where kmod_test is this little snippet of do-nothing code: -------------( cut here )------------------------------ #include #include #include #include int main ( int argc, char **argv ) { char msg[128]; int i; sprintf(msg, "kmod_test: Invoked as \"kmod_test"); for (i=1; iFrom my analysis, it looks like: a) The fake modprobe utility is getting called with the correct arguments and credentials. b) wait() is really, truly waiting. What to try next? Remember, this kernel works just fine with the stock 2.1.97 kmod. Steve