When the megaraid_mbox driver was added, it looks like someone just
did s/megaraid/megaraid_mbox/ in the pcitable. That is not correct
though, as megaraid_mbox only works with some cards. This is causing
extra confusion with the new driver, as it is being loaded for cards
it doesn't recognize (and people aren't seeing that it doesn't
recognize the card, they are just seeing that no drives appeared).
Here is a patch that fixes that. I did:
- took all the PCI IDs at the top of
drivers/scsi/megaraid/megaraid_mbox.c in the kernel source and
switched or added (some of them were not in the pcitable at all) those
entries to megaraid_mbox
Dave Jones said that he is going to re-enable the old megaraid driver
in future kernel builds (at least for now), so the PCI ID table should
be updated as well.
Created attachment 107951 [details]
Patch to pcitable to switch most MegaRAID entries back to old driver
Also it iterates devices in different order than old megaraid driver - for example under
driver I had sda, sdb, sdc and now the same raid arrays are seen as sdc, sda, sdb, sdd -
completly different order.
Changes committed to CVS for mapping those cards whose ids are only
supported by 'megaraid' to it... megaraid_mbox is still preferred for
cards it supports.
Will be in 0.151-1.