diff options
author | Laurence Oberman <loberman@redhat.com> | 2014-10-19 09:44:25 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 05:15:55 -0500 |
commit | 2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 (patch) | |
tree | 20eb3509ee246f92dc86fb2ddd9aa3ad08e93ef5 /Documentation/scsi/st.txt | |
parent | 26cf591e6dfc0d07495b7bcf20a557b316811f00 (diff) |
st: add a debug_flag module parameter request
This patch adds a debug_flag parameter that can be set on module load, and allows the DEBUG facility without a module recompile.
Note that now DEBUG 1 is the default with this patch.
Usage: modprobe st debug_flag=1
Signed-off-by: Laurence Oberman <loberman@redhat.com>
Acked-by: Kai M??kisara <kai.makisara@kolumbus.fi>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation/scsi/st.txt')
-rw-r--r-- | Documentation/scsi/st.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/scsi/st.txt b/Documentation/scsi/st.txt index f346abbdd6ff..0d5bdb153d3b 100644 --- a/Documentation/scsi/st.txt +++ b/Documentation/scsi/st.txt | |||
@@ -506,9 +506,11 @@ user does not request data that far.) | |||
506 | 506 | ||
507 | DEBUGGING HINTS | 507 | DEBUGGING HINTS |
508 | 508 | ||
509 | To enable debugging messages, edit st.c and #define DEBUG 1. As seen | 509 | Debugging code is now compiled in by default but debugging is turned off |
510 | above, debugging can be switched off with an ioctl if debugging is | 510 | with the kernel module parameter debug_flag defaulting to 0. Debugging |
511 | compiled into the driver. The debugging output is not voluminous. | 511 | can still be switched on and off with an ioctl. To enable debug at |
512 | module load time add debug_flag=1 to the module load options, the | ||
513 | debugging output is not voluminous. | ||
512 | 514 | ||
513 | If the tape seems to hang, I would be very interested to hear where | 515 | If the tape seems to hang, I would be very interested to hear where |
514 | the driver is waiting. With the command 'ps -l' you can see the state | 516 | the driver is waiting. With the command 'ps -l' you can see the state |