Yup, James hit the nail on the head... :-(

Sincerely -- Mark Salyzyn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James Bottomley
Sent: Wednesday, August 10, 2005 1:27 PM
To: Mark Haverkamp
Cc: linux-scsi
Subject: Re: aacraid probe breaks in scsi-block-2.6.git

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


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to