Stock 2.6.4 with CONFIG_LBD=y and qla2xxx driver, reports wrong device size

Terrence Martin
2004-03-24T20:53:06Z

I have a stock 2.6.4 kernel with CONFIG_LBD=y turned on in my kernel
(confirmed via /proc/config.gz) but when the module is loaded I still get

SCSI device sdb: 191162368 512-byte hdwr sectors (97875 MB)
SCSI device sdb: drive cache: write through
sdb:

I expect to get 4,287,645MB as that is what my Infortrend RAID array is
set up for a partition size. Is there something, in addition to the LBD
support in 2.6 that I need to do with the SCSI driver itself, in the
case the qla2300 drivers that come with 2.6.4, to allow larger than 2TB
block devices?

Platform is Intel Xeon dual with 2GB of RAM. Base OS is fedora core 1
with changes to support 2.6 series kernels.

Smaller than 2TB file systems on the other hand work fine (aside from a
strange performance issue where reads are not as fast as writes under
both 2.4 and 2.6).

Thanks,

Terrence