Skip to contentSkip to conversation

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

PATCH Steven Dake 3 participants 6 messages Jul 10, 2003 Documentation

lore
Share & tools
lore
#0 lore raw

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

drivers/ide/setup-pci.c +2 -1
@@ -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;
 			
#1 lore raw

Hi,

Do you have "Special FastTrak Feature" enabled?

--
Bartlomiej

Quoted 11 lines · Steven Dake

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

#2 lore raw

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

Quoted 29 lines · Bartlomiej Zolnierkiewicz

Hi,

Do you have "Special FastTrak Feature" enabled?

--
Bartlomiej

Quoted 13 lines · Steven Dake

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

#3 lore raw
In reply to Bartlomiej Zolnierkiewicz
Quoted 5 lines · Bartlomiej Zolnierkiewicz

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.

Quoted 28 lines

--
Bartlomiej

Quoted 9 lines · Steven Dake

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.

Quoted 4 lines

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/

Signature · 3 lines
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory  <[email protected]>
Documentation/Configure.help +5 -2
diff -ur linux-2.4.22-pre3-ac1-old/Documentation/Configure.help linux-2.4.22-pre3-ac1/Documentation/Configure.help
@@ -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
drivers/ide/Config.in +1 -1
diff -ur linux-2.4.22-pre3-ac1-old/drivers/ide/Config.in linux-2.4.22-pre3-ac1/drivers/ide/Config.in
@@ -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
#4 lore raw
Quoted 9 lines · Samuel Flory
Quoted 5 lines · Bartlomiej Zolnierkiewicz

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

Quoted 65 lines
Quoted 29 lines
Signature · 2 lines
-- 
Bartlomiej
Quoted 9 lines · Steven Dake

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.

Quoted 3 lines

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

Documentation/Configure.help +1 -1
@@ -1297,9 +1297,12 @@
 
  If unsure, say N.
 
-Special FastTrak Feature
+Ignore FastTrak Bios and configure drives as IDE disks

CONFIG_PDC202XX_FORCE

Documentation/Configure.help +4 -1
-  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

drivers/ide/Config.in +1 -1
@@ -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
#5 lore raw
In reply to Samuel Flory
Quoted 11 lines · Samuel Flory
Quoted 5 lines · Bartlomiej Zolnierkiewicz

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