[SCSI] SCSI block devices larger then 2TB

From: Michal Feix
Date: Wed Dec 07 2005 - 05:20:42 EST


Greetings!

Current aic79xxx driver doesn't see SCSI devices larger, then 2TB. It fails with READ CAPACITY(16) command. As far as I can understand, we already have LBD support in kernel for some time now. So it's only the drivers, that need to be fixed? LSI driver is the only one I found working with devices over 2TB; I couldn't test any other driver, as I don't have the hardware. Is it really so bad, that only LSI chipset and maybe few others are capable of seeng such devices?

My kernel output with aic79xxx follows:

scsi1 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11
heracles kernel: <Adaptec AIC7902 Ultra320 SCSI adapter>
heracles kernel: aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
scsi1:A:0:0: Tagged Queuing enabled. Depth 64
target1:0:0: Beginning Domain Validation
target1:0:0: wide asynchronous.
target1:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127)
target1:0:0: Ending Domain Validation
sde : very big device. try to use READ CAPACITY(16).
sde : READ CAPACITY(16) failed.
sde : status=0, message=00, host=5, driver=00
sde : use 0xffffffff as device size
SCSI device sde: 4294967296 512-byte hdwr sectors (2199023 MB)
SCSI device sde: drive cache: write back
sde : very big device. try to use READ CAPACITY(16).
sde : READ CAPACITY(16) failed.
sde : status=0, message=00, host=5, driver=00
sde : use 0xffffffff as device size
SCSI device sde: 4294967296 512-byte hdwr sectors (2199023 MB)
SCSI device sde: drive cache: write back
sde: unknown partition table
Attached scsi disk sde at scsi1, channel 0, id 0, lun 0

--
Michal Feix
-
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/