Comment 59 for bug 546091

Seth Galitzer (sgsax) wrote :

I've just spent the day fighting with this. I have a 9265-8i card, not a 9240, but it uses the same module version since at least March. I used the latest available 10.04.2 iso (server-amd64), dated 11-Feb-2011. The included driver is still 4.01, even with the latest kernel release (2.6.32-31).

I was able to work around it by downloading the source from LSI's website, building the module on another host using appropriate kernel labels and adding it in the middle of the install process. Then when the install was done, I chrooted to the new install and built the module again, ran depmod, and created a new initrd. Only then was I able to successfully boot into the new host. I also tried an older 10.04.1 iso image I was able to find and an alternative 10.04.2 image. Results were the same. If this bug is fixed, I'm not seeing it. I'd recommend opening it back up, unless "Fix Released" means we may see it resolved in a 10.04.3 release or an upcoming kernel release.

Output of modinfo in stock ubuntu kernel (2.6.32-31-server):
$ modinfo /lib/modules/2.6.32-31-server/kernel/drivers/scsi/megaraid/megaraid_sas.ko
filename: /lib/modules/2.6.32-31-server/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: LSI MegaRAID SAS Driver
author: <email address hidden>
version: 00.00.04.01
license: GPL
srcversion: 1AB2B4AC6534AB333DF4ACA
alias: pci:v00001028d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000413sv*sd*bc*sc*i*
alias: pci:v00001000d00000071sv*sd*bc*sc*i*
alias: pci:v00001000d00000073sv*sd*bc*sc*i*
alias: pci:v00001000d00000079sv*sd*bc*sc*i*
alias: pci:v00001000d00000078sv*sd*bc*sc*i*
alias: pci:v00001000d0000007Csv*sd*bc*sc*i*
alias: pci:v00001000d00000060sv*sd*bc*sc*i*
alias: pci:v00001000d00000411sv*sd*bc*sc*i*
depends:
vermagic: 2.6.32-31-server SMP mod_unload modversions
parm: poll_mode_io:Complete cmds from IO path, (default=0) (int)

Output of modinfo on custom-built module (rest of kernel is stock 2.6.32-31-server):
$ modinfo /lib/modules/2.6.32-31-server/kernel/drivers/scsi/megaraid/megaraid_sas.ko
filename: /lib/modules/2.6.32-31-server/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: LSI MegaRAID SAS Driver
author: <email address hidden>
version: 00.00.05.30
license: GPL
srcversion: 374D3479F2895D988397E92
alias: pci:v00001000d0000005Bsv*sd*bc*sc*i*
alias: pci:v00001028d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000413sv*sd*bc*sc*i*
alias: pci:v00001000d00000071sv*sd*bc*sc*i*
alias: pci:v00001000d00000073sv*sd*bc*sc*i*
alias: pci:v00001000d00000079sv*sd*bc*sc*i*
alias: pci:v00001000d00000078sv*sd*bc*sc*i*
alias: pci:v00001000d0000007Csv*sd*bc*sc*i*
alias: pci:v00001000d00000060sv*sd*bc*sc*i*
alias: pci:v00001000d00000411sv*sd*bc*sc*i*
depends:
vermagic: 2.6.32-31-server SMP mod_unload modversions
parm: poll_mode_io:Complete cmds from IO path, (default=0) (int)
parm: max_sectors:Maximum number of sectors per IO command (int)
parm: msix_disable:Disable MSI-X interrupt handling. Default: 0 (int)

Link to LSI code and prebuilt modules (which don't work because they were built against kernel 2.6.32-21-server):
http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/value_line/megaraid_sas_9265-8i/index.html