On 29-11-07 10:15, Robert P. J. Day wrote:

  from Documentation/debugging-modules.txt:

The correct way of debugging module problems is something like this:

echo '#! /bin/sh' > /tmp/modprobe
echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe
echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe
chmod a+x /tmp/modprobe
echo /tmp/modprobe > /proc/sys/kernel/modprobe

  i just tried that, and it seemed to have no effect.  is there
something i might have overlooked?  can someone else try that and see
if they get a different outcome?  thanks.

Yes, works for me. Exactly the above (ofcourse, make sure you're root for the final line) and after that kmod calls on /tmp/modprobe. Ie, when mounting a vfat partition after that (which autoloads a few modules):

[EMAIL PROTECTED]:/home/rene# mount /mnt/windows/
[EMAIL PROTECTED]:/home/rene# cat /tmp/modprobe.log
-q -- vfat
-q -- nls_cp437
-q -- nls_iso8859-1

Rene.


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to