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

Samuel Flory
2003-07-14T17:25:35Z

Ruth Ivimey-Cook wrote:

>On Saturday 12 Jul 2003 5:14 pm, Bartlomiej Zolnierkiewicz wrote:
>
>
>>I think you just need "pdc_ide=0,force" and "pdc_ide=0,noforce".
>>No need to complicate things.
>>Remember that ataraid is only software RAID driver and pdc202xx_new
>>is a chipset driver.
>>

Doesn't the following already work "ide2=0 ide3=0 ...." for the
promise binary driver?

>
>I am not forgetting, but I don't like this idea of 'force' -- it instantly
>raises the question 'force what' and then you're in the quagmire again.
>
>Better to tell the kernel what you want and let the kernel worry about how to
>make it happen.
>
>So the "pdc_ide2=jbod" would be scanned and interpreted as a request to
>activate ('force') the drive into IDE mode and not enable any ataraid (jbod
>==> just disks),
>
>while "pdc_ide3=promise" would let the drive state be, and make the kernel do
>a "modprobe promise-ft" (or whatever it's called) to load the rest of the
>driver, as is done for 'scsi-hostadapter'. [Would you ever have to force a
>promise chip into promise-raid mode?].
>

This is getting really complex. Weren't we trying to make things
simple? The simple solution is to have the single option, and let user
space (initrd) determine if you want to load the pdcraid driver.

>
>Do you see what I mean?
>
>If you prefer, the string could be "pdc=ide2:ide, ide3:ataraid".
>
>
>
>>jbod/raid should be managed by ataraid driver not ide or pdc202xx_new.
>>
>>
>
>I was using jbod as just that, not as meaning raid-0 or similar. Perhaps I
>should have been clearer. So you've a choice of (just IDE), (RAID via
>ataraid) and (RAID via Promise)
>
>
>

No you really have only 2 options.
1)Let linux see the ide controller.
2)Don't then linux see the ide controller.

#1 Will only see ataraid partitions if there exists a promise raid
configuration, and the pdcraid driver is loaded.

>
>
>
>>>Should I think about coding this?
>>>
>>>
>>No, think about porting ataraid and pdcraid to 2.5 first.
>>
>>
>
>pdcraid == ataraid module for PDC?? Haven't looked at the src yet.
>
>
Yes unless you insert the pdcraid module. Linux will only see the raw
drives. Once you insert pdcraid you can see the raid devices, and raw
disks. Which can cause major issues at times.

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