All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Anderson <andmike@us.ibm.com>
To: jtholmes@jtholmes.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test8  scsi logging not working
Date: Thu, 23 Oct 2003 22:17:56 -0700	[thread overview]
Message-ID: <20031024051755.GD1133@beaverton.ibm.com> (raw)
In-Reply-To: <102420030310.18374.4e89@comcast.net>

jtholmesjr@comcast.net [jtholmesjr@comcast.net] wrote:
> The problem:
> 
> I thought
> echo "scsi log all" >/proc/scsi/scsi 
> with
> scsi_logging=y  in .config
> would turn on kernel scsi logging and put some notification line
> in /var/log/messages
> indicating scsi logging was now active at such and such a level
> 
> that is not happening and I have a external drive connected via
> usb talking scsi that cannot be unmounted and i need to trace
> scsi action so I can post here.
> 
> lsscsi output is
> [0:0:0:0]    disk    USB 2.0  Storage Device   0100  /dev/sda
> [1:0:0:0]    disk    Linux    scsi_debug       0004  /dev/sdb
> 

The scsi logging interface switched control from proc to sysctl. 

sysctl -w dev.scsi.logging_level=0xffffffff

Will result in a scsi log all. You need to use caution if syslogd is
running and you have other scsi devices.

-andmike
--
Michael Anderson
andmike@us.ibm.com


      parent reply	other threads:[~2003-10-24  5:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-24  3:10 2.6.0-test8 scsi logging not working jtholmesjr
2003-10-24  3:36 ` mmap to Access PCI space? Randall Hyde
2003-10-24  7:57   ` David S. Miller
2003-10-24  5:17 ` Mike Anderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031024051755.GD1133@beaverton.ibm.com \
    --to=andmike@us.ibm.com \
    --cc=jtholmes@jtholmes.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.