[PATCH] Promise FastTrack metadata detection

Matthias Koenig mkoenig at suse.de
Wed Sep 12 13:27:20 UTC 2007


we noticed that dmraid has not been able to detect the metadata for the
following card:
  Model: "Promise FastTrak100 TX2"
  Vendor: pci 0x105a "Promise Technology, Inc."
  Device: pci 0x6268 "PDC20270 (FastTrak100 LP/TX2/TX4)"
  SubVendor: pci 0x105a "Promise Technology, Inc."
  SubDevice: pci 0x4d68 "FastTrak100 TX2"

with a disk size > 128 GB.

The reason is that the BIOS setup tool only detects up to 268435377 sectors
(while the actual size of the tested device is 488397168 sectors).
So the metadata is written at sector 268435377, where it is not detected
by dmraid, because it has a list of offsets from the end of the device.

I am not sure if this limitation applies to more Promise cards. A patch which
works with our test machine is below. Of course it does not allow to use more
than the limit, but at least the metadata is detected and the device can be set


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmraid-pdc_max_sectors.patch
Type: text/x-patch
Size: 1300 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20070912/9387f3c2/attachment.bin>

More information about the Ataraid-list mailing list