Re: daemon-less kmod & Alpha no-go!

Adam J. Richter (adam@yggdrasil.com)
Mon, 20 Apr 1998 18:31:52 -0700


How about trying the following:

cat << DONE > /tmp/logging_modprobe
#!/bin/sh
echo logging_modprobe $* > /tmp/modprobe.log.$$
strace modprobe $* > /tmp/modprobe.log.$$
DONE

chmod a+x /tmp/logging_modprobe
echo /tmp/logging_modprobe > /proc/sys/kernel/modprobe

...and try loading a module. This will show you what system
calls modprobe executed.

You might also try modifying that shell script to echo something
to standard output, so that you can verify that modprobe has gotten
init's file descriptors.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu