mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Herrmann <AHERRMAN@de.ibm.com>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
	linux-scsi-owner@vger.kernel.org, Matthew Wilcox <matthew@wil.cx>,
	Michael Tokarev <mjt@tls.msk.ru>
Subject: Re: Random scsi disk disappearing
Date: Thu, 17 Aug 2006 18:48:50 +0200	[thread overview]
Message-ID: <OF23DA8DB2.DFFECE8E-ON422571CD.005B6F56-422571CD.005BA03C@de.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0608171541260.24557@yvahk01.tjqt.qr>

On 17.08.2006 15:41 Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:

> >> It should be the same as
> >>    echo $((7<<6)) > 
/sys/module/scsi_mod/parameters/scsi_logging_level
> >> (which indeed is 448) at runtime, right?  (And yes, 
CONFIG_SCSI_LOGGING
> >> is set to y).
> >
> >> Heh oh those magic numbers!.. ;)
> >

   ...

> Since 7<<6 seems to indicate a flag, it would be best to have some sysfs 

> variable that you can flip using 0 and 1.

It's not a flag. This one sets loglevel 7 for SCSI_LOG_SCAN.
So all SCSI_LOG_SCAN messages might show up.
The loglevel can also be set using sysctl dev.scsi.logging_level.

Anyone interested in a script to conveniently interpret or change the
SCSI logging level? Such a script (scsi_logging_level) exists in the
s390-tools package (version 1.5.3).

If others show interest for this script, maybe a better place can be
found than s390-tools (because it is not really s390-specific).


Regards,

Andreas

  reply	other threads:[~2006-08-17 16:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-17 10:55 Michael Tokarev
2006-08-17 11:35 ` Matthew Wilcox
2006-08-17 11:43   ` Michael Tokarev
2006-08-17 11:53     ` Matthew Wilcox
2006-08-17 13:41       ` Jan Engelhardt
2006-08-17 16:48         ` Andreas Herrmann [this message]
2006-08-17 22:33           ` Stefan Richter
2006-08-30 19:40     ` Michael Tokarev
2006-08-18  9:11 Andreas Herrmann

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=OF23DA8DB2.DFFECE8E-ON422571CD.005B6F56-422571CD.005BA03C@de.ibm.com \
    --to=aherrman@de.ibm.com \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi-owner@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=mjt@tls.msk.ru \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®