RE: 2.5.44 compile problem: MegaRAID driver

Matt_Domsch@Dell.com
Mon, 21 Oct 2002 17:10:05 -0500


> The scsi host interface change in 2.5.44. The megaraid driver wanted
> direct access to this list to reorder it. This cannot be done
> anymore as we try get list coherence under control.
> The patch below removes the reorder as I could not see why reorder the
> list. It also replaces some other traverse loops with a
> direct access to the host pointer copy.

The host reordering is to solve the same problem that EDD helps us solve now
- it makes sure that in systems with megaraid adapters that also have BIOS
enabled (thus have the bootable logical drive on that card) that it shows up
first (/dev/sda) on the host list instead of later. Fortunately, newer
megaraid cards support EDD properly, some older ones don't :-( All that
code is a figment of the need to know where the boot disk is, and to project
it first in the order.

For now, yes, the right thing is to delete those routines and get the
megaraid driver functional again sans adapter reordering. In megaraid2 for
2.5.x we'll need to figure out a better way to handle this - maybe we won't
have to if EDD works as advertised. :-)

> The maintainer of the driver will need to ok and comment on any side
> effects. I will look at the driver some more to see if I
> understand the reorder.

linux-megaraid-devel@dell.com has the right people subscribed (subscribe at
http://lists.us.dell.com) - it's really LSI's driver and I want them to be
the folks maintaining it. I've just helped out now and again... LSI hasn't
had time to look at 2.5.x at all.

Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com

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