All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Mansfield <patmans@us.ibm.com>
To: Guido Guenther <agx@sigxcpu.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] REPORT LUN scan even if no storage is available on LUN 0
Date: Tue, 11 Jan 2005 10:15:00 -0800	[thread overview]
Message-ID: <20050111181500.GA9046@us.ibm.com> (raw)
In-Reply-To: <20050110164200.GA8655@bogon.ms20.nix>

On Mon, Jan 10, 2005 at 05:42:00PM +0100, Guido Guenther wrote:
> Sorry it took me so long to test this, first time I'm near this hardware
> again.
> On Mon, Dec 13, 2004 at 02:22:06PM -0800, Patrick Mansfield wrote:
> > Patch looks okay, but we should always be trying the report lun scan, and
> > then failing back to the sequential scan even if there is no storage on
> > LUN 0.
> 
> > Can you test this? I don't have hardware readily available that supports
> > sparse luns and report lun. Patch is against current bk. I built and
> > ran with regular disks (lun 0 only).
> Doesn't work here. I doen't see any devices in /proc/scsi/scsi now.
>  -- Guido

So it worked some without the patch (I think you only saw some of the LUNs
before)?

What is output during the scan?

Can you turn on some scsi logging, and send that?

If you have root on scsi, you should shutdown syslogd (though this should
not generate lots of logging for small amounts of IO it generates some,
and if you screw up you'll be able to disable the logging), and then 
capture the console/serial output.

If root on ide, just leave syslog on and get /var/log/messages output.

Turn on per-command and scan logging (0x2400 | 0x01c0):

	sysctl -w dev.scsi.logging_level=0x25c0

Set back off afterwards with:

	sysctl -w dev.scsi.logging_level=0

-- Patrick Mansfield

  reply	other threads:[~2005-01-11 18:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-10 12:33 RFC/patch: bflags not applied in case of SCSI_SCAN_TARGET_PRESENT Guido Guenther
2004-12-13 22:22 ` [PATCH] REPORT LUN scan even if no storage is available on LUN 0 Patrick Mansfield
2005-01-10 16:42   ` Guido Guenther
2005-01-11 18:15     ` Patrick Mansfield [this message]
2005-01-13 12:40       ` Guido Guenther
2005-01-14  0:01         ` Patrick Mansfield
2005-01-14  9:32           ` Guido Guenther
2005-01-14 16:28             ` Patrick Mansfield
2005-01-14  0:21         ` Patrick Mansfield
2005-01-14 13:26           ` Guido Guenther
2005-01-14 16:51             ` Patrick Mansfield

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=20050111181500.GA9046@us.ibm.com \
    --to=patmans@us.ibm.com \
    --cc=agx@sigxcpu.org \
    --cc=linux-scsi@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.