[7177] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: how to enable scsi logging?

daemon@ATHENA.MIT.EDU (Eric Youngdale)
Tue Sep 7 11:03:48 1999

From:   "Eric Youngdale" <eric@andante.org>
To:     "Raju K V" <rajukv@wipinfo.soft.net>,
        "Linux SCSI mailing list" <linux-scsi@vger.rutgers.edu>
Date:   Tue, 7 Sep 1999 11:02:06 -0400

    Pretty simple.  Assume that you build the kernel with logging enabled.
Then try something like:

    echo "scsi log all" > /proc/scsi/scsi

to turn on *everything*.   Try

    echo "scsi log none" > /proc/scsi/scsi

to turn it all off.   It is possible to get a fairly fine grained control
over logging - you can do something like:

    echo "scsi log llqueue 3" > /proc/scsi/scsi

to only turn on logging for low-level queueing, and set the log level to 3.

    There is more information on the page I had up when I originally redid
the error handling (as this is when it was introduced) - see
http://www.andante.org/scsi_error.html, and then check "description of
logging".

-Eric

----- Original Message -----
From: Raju K V <rajukv@wipinfo.soft.net>
To: Linux SCSI mailing list <linux-scsi@vger.rutgers.edu>
Sent: Monday, September 06, 1999 11:00 PM
Subject: how to enable scsi logging?


> hi all,
>
> how do I enable scsi logging? Do I have to set some flag and recompile
> the kernel or is there a /proc/scsi interface to it?
>
> Thanks in advance,
> Raju
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu
>


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

home help back first fref pref prev next nref lref last post