diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-02-03 08:27:38 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2008-02-03 08:27:38 -0500 |
commit | 0cadfc09534033e2b9694bd2d226b5dcfebd6704 (patch) | |
tree | a814ba91815f46d6d89c341b5f09ef5bfb366477 | |
parent | 3239c49cf14f866c0465eb88649c8bfdeba165be (diff) |
Documentation: Clarify when module debugging actually works.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
-rw-r--r-- | Documentation/debugging-modules.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/debugging-modules.txt b/Documentation/debugging-modules.txt index 24029f65fc94..172ad4aec493 100644 --- a/Documentation/debugging-modules.txt +++ b/Documentation/debugging-modules.txt | |||
@@ -16,3 +16,7 @@ echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe | |||
16 | echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe | 16 | echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe |
17 | chmod a+x /tmp/modprobe | 17 | chmod a+x /tmp/modprobe |
18 | echo /tmp/modprobe > /proc/sys/kernel/modprobe | 18 | echo /tmp/modprobe > /proc/sys/kernel/modprobe |
19 | |||
20 | Note that the above applies only when the *kernel* is requesting | ||
21 | that the module be loaded -- it won't have any effect if that module | ||
22 | is being loaded explicitly using "modprobe" from userspace. | ||