There is a "sort -u" when pulling the SCSI host adapter list from
/etc/modules.conf. This means that the order the SCSI modules are loaded (if
you have more than one type of SCSI HA) is forced to be alphabetical, with no
way to override.
The "sort -u" is not needed to remove duplicate entries, as the findmodule()
function won't add a dupe.
This probably should only be changed in the next release, as it could affect
working setups that depend on the sort. Or maybe, updating from a version that
doesn't sort to a version that does could sort the entries in /etc/modules.conf
and then leave them alone.
Anyway, suggested patch will be attached.
Created attachment 90881 [details]
patch to /sbin/mkinitrd to remove alpha sorting of SCSI host adapters
Look a little closer... it sorts so that you get
or something like that. ie, the sort is on the whole string not the module name.
Yeah, sorry; I saw "grep scsi_hostadapter ..." and my mind saw
grep "scsi_hostadapter " ...