PDC 20276 RAID support in 2.4.18
Arjan and others,
I have added support for the PDC 20276 used on Gigabyte GA-8IHXP (and possibly other motherboards) to the ATARAID feature of the linux 2.4.18 kernel. I have tested that the pdcraid.c code works with this device.
I suspect you can drive this patch into the mainline kernel, but if you know of a better person, please advise.
Thanks!
-steve
Binary files linux/arch/i386/boot/vmlinuz-pdc and linux-pdc20276/arch/i386/boot/vmlinuz-pdc differ
drivers/ide/ide-pci.c +2 -0
@@ -47,6 +47,7 @@#define DEVID_PDC20267 ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20267})#define DEVID_PDC20268 ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20268})#define DEVID_PDC20268R ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20268R}) +#define DEVID_PDC20276 ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20276})#define DEVID_RZ1000 ((ide_pci_devid_t){PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_RZ1000})#define DEVID_RZ1001 ((ide_pci_devid_t){PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_RZ1001})#define DEVID_SAMURAI ((ide_pci_devid_t){PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_SAMURAI_IDE})
@@ -406,6 +407,7 @@prevent Linux detecting it and using our own raid code. We want to detect it for the ataraid drivers, so we have to list both here.. */ {DEVID_PDC20268R,"PDC20268", PCI_PDC202XX, ATA66_PDC202XX, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 16 }, + {DEVID_PDC20276,"PDC20276", PCI_PDC202XX, ATA66_PDC202XX, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 16 }, {DEVID_RZ1000, "RZ1000", NULL, NULL, INIT_RZ1000, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 }, {DEVID_RZ1001, "RZ1001", NULL, NULL, INIT_RZ1000, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 }, {DEVID_SAMURAI, "SAMURAI", NULL, NULL, INIT_SAMURAI, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
include/linux/pci_ids.h +1 -0
@@ -606,6 +606,7 @@#define PCI_DEVICE_ID_PROMISE_20268R 0x6268#define PCI_DEVICE_ID_PROMISE_20269 0x4d69#define PCI_DEVICE_ID_PROMISE_20275 0x1275 +#define PCI_DEVICE_ID_PROMISE_20276 0x5275#define PCI_DEVICE_ID_PROMISE_5300 0x5300#define PCI_VENDOR_ID_N9 0x105d
Quoted 3 lines · Steven Dake
Arjan and others,
I have added support for the PDC 20276 used on Gigabyte GA-8IHXP (and possibly other motherboards) to the ATARAID feature of the linux 2.4.18 kernel. I have tested that the
pdcraid.ccode works with this device.
What's wrong with the PDC 20276 support in the 2.4.19preX and rc kernels?
Best regards,
Mads Bach
hi ya steve
how was the system tested ???
-- my simple raid-compatibility test is:
( assuming raid1 or raid5 setup on ide disks )
- pull out /dev/hda
- see if it boots
- pull out /dev/hdc ( the other boot disk )
- see if it boots
- plug a virgin ( unformatted/unpartitioned disk ) into either /dev/hda or /dev/hdc
- see if it boots and resyncs itself
if the system doesnt boot or doesnt resync ( all by itself ) than i'd see its a problem and need more fixing... and tweeking
- i disable all onboard ( motherboard/firmware based raid )
have fun
alvin
the pdc 202xx series chips are great for sw raid5...
( inexpensive, functional and works in the promise/maxtor pci cards )
Quoted 12 lines · Steven Dake
Arjan and others,
I have added support for the PDC 20276 used on Gigabyte GA-8IHXP (and possibly other motherboards) to the ATARAID feature of the linux 2.4.18 kernel. I have tested that the
pdcraid.ccode works with this device.I suspect you can drive this patch into the mainline kernel, but if you know of a better person, please advise.
Thanks!
-steve