Re: aic7xxx support for >2TB volumes?

Kilian CAVALOTTI
2005-11-18T12:55:30Z

First of all, thanks for highlighting this.

On Friday 18 November 2005 09:59, Douglas Gilbert wrote:
> From the log output above, /dev/sdb seems to reject
> the READ CAPACITY (16) command. I think that it is
> unlikely that the aic7xxx driver is filtering out that
> particular command (why should it?) and a simple grep
> in that driver for READ_CAP finds no matches.
>
> As an extra check of the linux sd driver you could fetch
> sg3_utils, build it and try:
> sg_readcap -16 /dev/sdb

As expected:
# sg_readcap -v -16 /dev/sdb
read capacity (16) cdb: 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
READ CAPACITY 16 command error: Host_status=0x05 [DID_ABORT]

Moreover, I omitted to mention that point earlier, but the HBA BIOS does not
correctly detect the volume size. It reports a "Capacity: 0MB"

> If that fails than I think you need to speak to the vendor
> of /dev/sdb . Perhaps there is newer firmware.

Sure, I contacted them, and they told me that currently, the only
known-to-work-over-2TB HBA vendor was LSI Logic.
So I tried to plug the same external array on a U320 LSI Logic adapter (using
the Fusion MPT kernel module), and it actually worked:

ioc0: 53C1030: Capabilities={Initiator,Target}
scsi1 : ioc0: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=23
ACPI: PCI Interrupt 0000:02:05.1[B] -> GSI 33 (level, low) -> IRQ 24
mptbase: Initiating ioc1 bringup
ioc1: 53C1030: Capabilities={Initiator,Target}
scsi2 : ioc1: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=24
PCI: Enabling device 0000:06:02.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 96 (level, low) -> IRQ 25
mptbase: Initiating ioc2 bringup
ioc2: 53C1030: Capabilities={Initiator}
mptbase: Initiating ioc2 recovery
scsi3 : ioc2: LSI53C1030, FwRev=01011800h, Ports=1, MaxQ=222, IRQ=25
Vendor: IFT Model: A16U-G1410 Rev: 342J
Type: Direct-Access ANSI SCSI revision: 05
sdb : very big device. try to use READ CAPACITY(16).
SCSI device sdb: 12494209024 512-byte hdwr sectors (6397035 MB)
SCSI device sdb: drive cache: write back
sdb : very big device. try to use READ CAPACITY(16).
SCSI device sdb: 12494209024 512-byte hdwr sectors (6397035 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1
Attached scsi disk sdb at scsi3, channel 0, id 3, lun 0
Attached scsi generic sg2 at scsi3, channel 0, id 3, lun 0, type 0
ACPI: PCI Interrupt 0000:06:02.1[B] -> GSI 97 (level, low) -> IRQ 26
mptbase: Initiating ioc3 bringup
ioc3: 53C1030: Capabilities={Initiator}
mptbase: Initiating ioc3 recovery

What I can't really understand is how a device could fail on a READ CAPACITY
16 if plugged on an HBA, but work if plugged on another one...

Best regards,

--
Kilian CAVALOTTI Administrateur réseaux et systèmes
UPMC / CNRS - LIP6 (C870)
8, rue du Capitaine Scott Tel. : 01 44 27 88 54
75015 Paris - France Fax. : 01 44 27 70 00
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html