linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix
@ 2003-07-10 19:49 Steven Dake
  2003-07-10 20:04 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 6+ messages in thread
From: Steven Dake @ 2003-07-10 19:49 UTC (permalink / raw)
  To: linux-kernel, andre, frankt

[-- Attachment #1: Type: text/plain, Size: 388 bytes --]

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

[-- Attachment #2: pdc20276fix.patch --]
[-- Type: text/plain, Size: 503 bytes --]

--- 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;
 			

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix
  2003-07-10 19:49 IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix Steven Dake
@ 2003-07-10 20:04 ` Bartlomiej Zolnierkiewicz
  2003-07-10 20:45   ` Steven Dake
  2003-07-10 21:11   ` Samuel Flory
  0 siblings, 2 replies; 6+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-07-10 20:04 UTC (permalink / raw)
  To: Steven Dake; +Cc: linux-kernel, andre, frankt


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix
  2003-07-10 20:04 ` Bartlomiej Zolnierkiewicz
@ 2003-07-10 20:45   ` Steven Dake
  2003-07-10 21:11   ` Samuel Flory
  1 sibling, 0 replies; 6+ messages in thread
From: Steven Dake @ 2003-07-10 20:45 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-kernel, andre, frankt

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
>>    
>>
>
>
>
>  
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix
  2003-07-10 20:04 ` Bartlomiej Zolnierkiewicz
  2003-07-10 20:45   ` Steven Dake
@ 2003-07-10 21:11   ` Samuel Flory
  2003-07-10 21:29     ` Steven Dake
  2003-07-10 22:10     ` Bartlomiej Zolnierkiewicz
  1 sibling, 2 replies; 6+ messages in thread
From: Samuel Flory @ 2003-07-10 21:11 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: Steven Dake, linux-kernel, andre, frankt

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

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. 

>--
>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 majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>  
>


-- 
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory  <sflory@rackable.com>


[-- Attachment #2: ftdoc.diff --]
[-- Type: text/plain, Size: 1867 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix
  2003-07-10 21:11   ` Samuel Flory
@ 2003-07-10 21:29     ` Steven Dake
  2003-07-10 22:10     ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 6+ messages in thread
From: Steven Dake @ 2003-07-10 21:29 UTC (permalink / raw)
  To: Samuel Flory; +Cc: Bartlomiej Zolnierkiewicz, linux-kernel, andre, frankt



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 majordomo@vger.kernel.org
>> 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
>  
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix
  2003-07-10 21:11   ` Samuel Flory
  2003-07-10 21:29     ` Steven Dake
@ 2003-07-10 22:10     ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 6+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-07-10 22:10 UTC (permalink / raw)
  To: Samuel Flory; +Cc: Steven Dake, linux-kernel


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-10 21:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 19:49 IDE/Promise 20276 FastTrack RAID Doesn't work in 2.4.21, patch attached to fix Steven Dake
2003-07-10 20:04 ` Bartlomiej Zolnierkiewicz
2003-07-10 20:45   ` Steven Dake
2003-07-10 21:11   ` Samuel Flory
2003-07-10 21:29     ` Steven Dake
2003-07-10 22:10     ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).