[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#410817: linux-image-2.6.18-3-686: new megaraid driver fails to detect logical drive



Slávek Banko wrote:
Try to use module megaraid_mbox, instead of module megaraid.

Ok, I reboot with 2.6.18-3 and:

root@clap:~# rmmod megaraid
root@clap:~# rmmod megaraid_mbox
root@clap:~# rmmod megaraid_mm
root@clap:~# modprobe megaraid_mbox

root@clap:~# lsmod |grep megaraid
megaraid_mbox          29168  0
megaraid_mm            10560  1 megaraid_mbox
scsi_mod              124168  2 megaraid_mbox,sd_mod

dmesg says:

megaraid: detaching device 0x101e:0x1960:0x1028:0x0511
megaraid cmm: Unregistered one adapter:0x110
ACPI: PCI interrupt for device 0000:01:02.0 disabled
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.4.9 (Release Date: Sun Jul 16 12:27:22 EST 2006)
megaraid: probe new device 0x101e:0x1960:0x1028:0x0511: bus 1:slot 2:func 0
PCI: Enabling device 0000:01:02.0 (0110 -> 0112)
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 17 (level, low) -> IRQ 193
megaraid: fw version:[6.62] bios version:[1.03]
scsi1 : LSI Logic MegaRAID driver
scsi[1]: scanning scsi channel 0 [Phy 0] for non-raid devices
scsi[1]: scanning scsi channel 1 [Phy 1] for non-raid devices
scsi[1]: scanning scsi channel 2 [Phy 2] for non-raid devices
scsi[1]: scanning scsi channel 3 [Phy 3] for non-raid devices
scsi[1]: scanning scsi channel 4 [virtual] for logical drives

i.e. drive still missing.

Then:

rmmod megaraid_mbox
rmmod megaraid_mm
root@clap:/usr/src/linux-2.6.18.2/drivers/scsi# lsmod|grep megaraid
megaraid               35880  0
scsi_mod              124168  2 megaraid,sd_mod
megaraid: detaching device 0x101e:0x1960:0x1028:0x0511
megaraid cmm: Unregistered one adapter:0x110
ACPI: PCI interrupt for device 0000:01:02.0 disabled

i.e. the megaraid driver doesn't appear to find the hardware. The messages in dmesg appear to come from megaraid_mbox (have verified this by looking in the source).

Indeed this makes sense, my card has PCI ID 101e:1960, and the legacy megaraid driver lists:

alias:          pci:v0000101Ed00009010sv*sd*bc*sc*i*
alias:          pci:v0000101Ed00009060sv*sd*bc*sc*i*
alias:          pci:v00008086d00001960sv*sd*bc*sc*i*

but megaraid_mbox lists:

alias:          pci:v00001028d0000000Esv00001028sd00000123bc*sc*i*
alias:          pci:v00001000d00001960sv00001028sd00000520bc*sc*i*
alias:          pci:v00001000d00001960sv00001028sd00000518bc*sc*i*
alias:          pci:v00001000d00000407sv*sd*bc*sc*i*
alias:          pci:v00001028d0000000Fsv00001028sd0000014Abc*sc*i*
alias:          pci:v00001028d00000013sv00001028sd0000016Cbc*sc*i*
alias:          pci:v00001028d00000013sv00001028sd0000016Dbc*sc*i*
alias:          pci:v00001028d00000013sv00001028sd0000016Ebc*sc*i*
alias:          pci:v00001028d00000013sv00001028sd0000016Fbc*sc*i*
alias:          pci:v00001028d00000013sv00001028sd00000170bc*sc*i*
alias:          pci:v00001000d00000408sv*sd*bc*sc*i*
alias:          pci:v0000101Ed00001960sv*sd*bc*sc*i*
alias:          pci:v00001000d00001960sv*sd*bc*sc*i*
alias:          pci:v00001000d00000409sv*sd*bc*sc*i*

so my card will not be picked up by the legacy driver.

The (legacy) megaraid driver includes the 101e:1960 pci id, but this has been removed in the etch kernel. I will try hacking the pci id into the legacy megaraid driver.




Reply to: