public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Mark Haverkamp <markh@osdl.org>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: aacraid probe breaks in scsi-block-2.6.git
Date: Wed, 10 Aug 2005 12:27:16 -0500	[thread overview]
Message-ID: <1123694836.5134.14.camel@mulgrave> (raw)
In-Reply-To: <1123694406.30596.10.camel@markh1.pdx.osdl.net>

On Wed, 2005-08-10 at 10:20 -0700, Mark Haverkamp wrote:
> While trying out a recent mm kernel I noticed that when I loaded the
> aacraid  driver I saw errors probing the disks:
> 
> sdc : sector size 0 reported, assuming 512.
> SCSI device sdc: 1 512-byte hdwr sectors (0 MB)

Sigh, I guess this is because aacraid is making illegal assumptions
about the format of certain commands it emulates?

We had a similar issue with 3w-xxxx which assumed commands like INQUIRY,
READ_CAPACITY and MODE_SENSE only came from the kernel, so would never
have use_sg != 0.  This is, of course, wrong, since such commands can
and do come from SG_IO.

The fix is probably similar to the 3w-xxxx one.

James



  reply	other threads:[~2005-08-10 17:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10 17:20 aacraid probe breaks in scsi-block-2.6.git Mark Haverkamp
2005-08-10 17:27 ` James Bottomley [this message]
2005-08-15 16:53   ` [PATCH] aacraid 2.6: Fix aacraid probe breakage " Mark Haverkamp
2005-08-15 17:01     ` James Bottomley
  -- strict thread matches above, loose matches on Subject: below --
2005-08-10 17:28 aacraid probe breaks " Salyzyn, Mark

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=1123694836.5134.14.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=markh@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox