2003-07-10 19:35:51

by Steven Dake

[permalink] [raw]
Subject: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix

--- linux-2.4.21/drivers/ide/setup-pci.c Fri Jun 13 07:51:34 2003
+++ linux-2.4.21-work/drivers/ide/setup-pci.c Thu Jul 10 12:02:45 2003
@@ -640,7 +640,8 @@
*/
if (((d->vendor == PCI_VENDOR_ID_PROMISE) &&
((d->device == PCI_DEVICE_ID_PROMISE_20262) ||
- (d->device == PCI_DEVICE_ID_PROMISE_20265))) &&
+ (d->device == PCI_DEVICE_ID_PROMISE_20265) ||
+ (d->device == PCI_DEVICE_ID_PROMISE_20276))) &&
(secondpdc++==1) && (port==1))
goto controller_ok;


Attachments:
pdc20276fix.patch (503.00 B)

Subject: Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix


Hi,

Do you have "Special FastTrak Feature" enabled?

--
Bartlomiej

On Thu, 10 Jul 2003, Steven Dake wrote:

> Folks,
>
> After I upgraded to 2.4.21, I noticed my Gigabyte motherboard with
> onboard IDE Promise 20276 FastTrack RAID no longer works. The following
> patch fixes the problem, which appears to be an incomplete list of
> devices in the ide setup code. There are probably other fasttrack RAID
> adaptors that should be added to the setup code, but I don't know what
> they are.
>
> Thanks
> -steve

2003-07-10 20:31:20

by Steven Dake

[permalink] [raw]
Subject: Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix

I tried the kernel with the special fasttrak feature enabled, and it
didn't work. There are special cases in the pci-setup.c code for other
promise adaptors, so adding one more seems to make sense.

Thanks
-steve

Bartlomiej Zolnierkiewicz wrote:

>Hi,
>
>Do you have "Special FastTrak Feature" enabled?
>
>--
>Bartlomiej
>
>On Thu, 10 Jul 2003, Steven Dake wrote:
>
>
>
>>Folks,
>>
>>After I upgraded to 2.4.21, I noticed my Gigabyte motherboard with
>>onboard IDE Promise 20276 FastTrack RAID no longer works. The following
>>patch fixes the problem, which appears to be an incomplete list of
>>devices in the ide setup code. There are probably other fasttrack RAID
>>adaptors that should be added to the setup code, but I don't know what
>>they are.
>>
>>Thanks
>>-steve
>>
>>
>
>
>
>
>

2003-07-10 21:01:26

by Samuel Flory

[permalink] [raw]
Subject: Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix

diff -ur linux-2.4.22-pre3-ac1-old/Documentation/Configure.help linux-2.4.22-pre3-ac1/Documentation/Configure.help
--- linux-2.4.22-pre3-ac1-old/Documentation/Configure.help 2003-07-07 04:23:56.000000000 -0700
+++ linux-2.4.22-pre3-ac1/Documentation/Configure.help 2003-07-10 05:53:27.000000000 -0700
@@ -1297,9 +1297,12 @@

If unsure, say N.

-Special FastTrak Feature
+Ignore FastTrak Bios and configure drives as IDE disks
CONFIG_PDC202XX_FORCE
- For FastTrak enable overriding BIOS.
+ Enable overriding BIOS RAID configuration. Without this option the
+ kernel may refuse to see your drives. Do not enable if you are
+ using Promise's binary module. This option is compatible with the
+ GPL ataraid driver.

SiS5513 chipset support
CONFIG_BLK_DEV_SIS5513
diff -ur linux-2.4.22-pre3-ac1-old/drivers/ide/Config.in linux-2.4.22-pre3-ac1/drivers/ide/Config.in
--- linux-2.4.22-pre3-ac1-old/drivers/ide/Config.in 2003-07-07 04:18:53.000000000 -0700
+++ linux-2.4.22-pre3-ac1/drivers/ide/Config.in 2003-07-10 05:51:22.000000000 -0700
@@ -66,7 +66,7 @@
dep_mbool ' Special UDMA Feature' CONFIG_PDC202XX_BURST $CONFIG_BLK_DEV_PDC202XX_OLD $CONFIG_BLK_DEV_IDEDMA_PCI
dep_tristate ' PROMISE PDC202{68|69|70|71|75|76|77} support' CONFIG_BLK_DEV_PDC202XX_NEW $CONFIG_BLK_DEV_IDEDMA_PCI
if [ "$CONFIG_BLK_DEV_PDC202XX_OLD" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_OLD" = "m" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "m" ]; then
- bool ' Special FastTrak Feature' CONFIG_PDC202XX_FORCE
+ bool ' Ignore FastTrak Bios and configure drives as IDE disks' CONFIG_PDC202XX_FORCE
fi
dep_tristate ' RZ1000 chipset bugfix/support' CONFIG_BLK_DEV_RZ1000 $CONFIG_X86
dep_tristate ' SCx200 chipset support' CONFIG_BLK_DEV_SC1200 $CONFIG_BLK_DEV_IDEDMA_PCI


Attachments:
ftdoc.diff (1.82 kB)

2003-07-10 21:15:42

by Steven Dake

[permalink] [raw]
Subject: Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix



Samuel Flory wrote:

> Bartlomiej Zolnierkiewicz wrote:
>
>> Hi,
>>
>> Do you have "Special FastTrak Feature" enabled?
>>
>>
>
> Can we change the option to something that makes sense. I get the
> feeling no one understands what it does at 1st glance. This is the
> 2nd time I've seen a patch like this.

I tried the kernel with fasttrack enabled because I saw something about
forcing the bios, but either it doesn't work or it doesn't work with my
adaptor. The patch does work, though.

But I definately agree, special fasttrack feature should atleast have
some useful help information for how it is used (if anyone knows?)

-steve

>
>> --
>> Bartlomiej
>>
>> On Thu, 10 Jul 2003, Steven Dake wrote:
>>
>>
>>
>>> Folks,
>>>
>>> After I upgraded to 2.4.21, I noticed my Gigabyte motherboard with
>>> onboard IDE Promise 20276 FastTrack RAID no longer works. The
>>> following
>>> patch fixes the problem, which appears to be an incomplete list of
>>> devices in the ide setup code. There are probably other fasttrack RAID
>>> adaptors that should be added to the setup code, but I don't know what
>>> they are.
>>>
>>> Thanks
>>> -steve
>>>
>>
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-kernel" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
>>
>>
>
>
>------------------------------------------------------------------------
>
>diff -ur linux-2.4.22-pre3-ac1-old/Documentation/Configure.help linux-2.4.22-pre3-ac1/Documentation/Configure.help
>--- linux-2.4.22-pre3-ac1-old/Documentation/Configure.help 2003-07-07 04:23:56.000000000 -0700
>+++ linux-2.4.22-pre3-ac1/Documentation/Configure.help 2003-07-10 05:53:27.000000000 -0700
>@@ -1297,9 +1297,12 @@
>
> If unsure, say N.
>
>-Special FastTrak Feature
>+Ignore FastTrak Bios and configure drives as IDE disks
> CONFIG_PDC202XX_FORCE
>- For FastTrak enable overriding BIOS.
>+ Enable overriding BIOS RAID configuration. Without this option the
>+ kernel may refuse to see your drives. Do not enable if you are
>+ using Promise's binary module. This option is compatible with the
>+ GPL ataraid driver.
>
> SiS5513 chipset support
> CONFIG_BLK_DEV_SIS5513
>diff -ur linux-2.4.22-pre3-ac1-old/drivers/ide/Config.in linux-2.4.22-pre3-ac1/drivers/ide/Config.in
>--- linux-2.4.22-pre3-ac1-old/drivers/ide/Config.in 2003-07-07 04:18:53.000000000 -0700
>+++ linux-2.4.22-pre3-ac1/drivers/ide/Config.in 2003-07-10 05:51:22.000000000 -0700
>@@ -66,7 +66,7 @@
> dep_mbool ' Special UDMA Feature' CONFIG_PDC202XX_BURST $CONFIG_BLK_DEV_PDC202XX_OLD $CONFIG_BLK_DEV_IDEDMA_PCI
> dep_tristate ' PROMISE PDC202{68|69|70|71|75|76|77} support' CONFIG_BLK_DEV_PDC202XX_NEW $CONFIG_BLK_DEV_IDEDMA_PCI
> if [ "$CONFIG_BLK_DEV_PDC202XX_OLD" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_OLD" = "m" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "m" ]; then
>- bool ' Special FastTrak Feature' CONFIG_PDC202XX_FORCE
>+ bool ' Ignore FastTrak Bios and configure drives as IDE disks' CONFIG_PDC202XX_FORCE
> fi
> dep_tristate ' RZ1000 chipset bugfix/support' CONFIG_BLK_DEV_RZ1000 $CONFIG_X86
> dep_tristate ' SCx200 chipset support' CONFIG_BLK_DEV_SC1200 $CONFIG_BLK_DEV_IDEDMA_PCI
>
>

Subject: Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix


On Thu, 10 Jul 2003, Samuel Flory wrote:

> Bartlomiej Zolnierkiewicz wrote:
>
> >Hi,
> >
> >Do you have "Special FastTrak Feature" enabled?
> >
> >
>
> Can we change the option to something that makes sense. I get the
> feeling no one understands what it does at 1st glance. This is the 2nd
> time I've seen a patch like this.

Yes, thanks for patch.
--
Bartlomiej