RE: 2.5.44 compile problem: MegaRAID driver

Date: Mon Oct 21 2002 - 17:10:05 EST

> 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. has the right people subscribed (subscribe at - 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.


Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions
Linux on Dell mailing lists @

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:56 EST