Re: SCSI issue with 2.6.14-rc1

From: James Bottomley
Date: Tue Sep 13 2005 - 17:13:23 EST


On Wed, 2005-09-14 at 07:55 +1000, Peter Chubb wrote:
> Burton> Dell Poweredge 1300, MegaRAID SCSI with hardware RAID1. With
> Burton> 2.6.13, system was fine, but on 2.6.14-rc1, it sees the RAID
> Burton> array as a 0mb drive with 1 512-byte sector, and seems to have
> Burton> a bit of a problem mounting /
>
> This sounds like the same problem I saw with the IA64 simscsi driver
> --- the READ_CAPACITY scsi command now generates a scatterlist, and
> some drivers don't cope.
>
> I don't know whether the right fix is to change all the drivers to
> understand a scatterlist, or to change sd_read_capacity() to not use
> scsi_execute_command().

There's a fix for the megaraid issue floating around on this list.

The correct solution is for all drivers to understand scatterlists.
This is actually true of most of them; there are just a few scsi
emulators that didn't for certain commands. These emulators are already
broken, since if these commands came via SG_IO, they'd be scatterlist
based, so the correct fix is in the emulators.

James


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/