RE: aacraid probe breaks in scsi-block-2.6.git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Sincerely -- Mark Salyzyn

-----Original Message-----
From: linux-scsi-owner@xxxxxxxxxxxxxxx
[mailto:linux-scsi-owner@xxxxxxxxxxxxxxx] 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


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux