All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Justin T. Gibbs" <gibbs@scsiguy.com>
To: Mike Brown <mbrown@emc.com>, bferjul@emc.com, jkrasner@emc.com
Cc: conway_heather@emc.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] Ghost devices being reported with AIC7XXX version 6.2.6
Date: Thu, 31 Oct 2002 11:03:19 -0700	[thread overview]
Message-ID: <798370000.1036087399@aslan.btc.adaptec.com> (raw)
In-Reply-To: <20021031170337.GO574@lapi0061>

> Justin can you change AHC_NUM_LUNS to 32 or suggest an alternative fix?

The aic7xxx driver is not at fault and so should not be changed.
The aic7xxx driver really does support all 64 luns.  In my opinion,
there are three problems here:

1) The Symetrix should treat a non-zero LUNTAR bit as an invalid
   selection.  This would prevent these higher luns from showing up
   as valid devices.

2) Linux should never use more than 5 bits of lun for a device that
   reports itself as SCSI-2.  If the lun is larger than what will
   fit in 3 bits, byte 1 of the CDB should not be altered even if
   the device is SCSI2.

3) Linux should be using the Report Luns command to determine how
   many luns are on a device and at what locations.  This might
   even allow you to never probe more than 8 luns on a SCSI 2
   device unless they support this command.  Does the Symetrix support
   it?  Going beyond 8 luns on a SCSI2 device is really a hack
   otherwise.

--
Justin

  reply	other threads:[~2002-10-31 18:03 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-31 17:03 [PATCH] Ghost devices being reported with AIC7XXX version 6.2.6 Mike Brown
2002-10-31 18:03 ` Justin T. Gibbs [this message]
2002-10-31 18:28   ` Matthew Jacob
2002-10-31 19:21     ` Alan Cox
2002-10-31 19:30       ` Matthew Jacob
2002-10-31 20:03         ` Doug Ledford
2002-10-31 20:04           ` Matthew Jacob
2002-10-31 20:17             ` Doug Ledford
2002-10-31 20:27               ` Matthew Jacob
2002-10-31 20:40                 ` Matthew Jacob
2002-10-31 20:43                 ` Doug Ledford
2002-11-01 13:00               ` Alan Cox
2002-11-01  1:41       ` Patrick Mansfield
2002-10-31 20:07   ` Doug Ledford
2002-10-31 20:26     ` Matthew Jacob
2002-10-31 20:38       ` Doug Ledford
2002-10-31 20:39         ` Matthew Jacob
2002-10-31 20:40         ` Mike Brown
2002-10-31 20:41           ` Matthew Jacob
2002-10-31 21:00             ` Mike Brown
2002-10-31 21:14               ` James Bottomley
2002-10-31 20:38     ` Mike Brown
2002-10-31 21:25       ` Doug Ledford

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=798370000.1036087399@aslan.btc.adaptec.com \
    --to=gibbs@scsiguy.com \
    --cc=bferjul@emc.com \
    --cc=conway_heather@emc.com \
    --cc=jkrasner@emc.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mbrown@emc.com \
    /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.