Unsolved
This post is more than 5 years old
1 Message
0
32254
November 17th, 2009 07:00
Perc 6/e, megacli and new linux kernels
Greetings.
I have a problem with megacli and newer kernels with raid controller PERC 6/e.
I use megacli for monitoring raid and disk status. After upgrading linux kernel
to version >= 2.6.28 (currently i used 2.6.31-11, but i've the same situation
under 2.6.28), megacli can't find any adapters. As far as no sources of megacli
available, it's very hard to track where the problem is. I suppose that megacli
fails to find any adapters because of restructuring sysfs in newer kernels, but
it's just a guess, which i can't surely approve.
I've tried different versions of megacli 1.01.24 and 2.0.15, neither of it can't
find perc controller.
Raid array by it self works fine with all kernels i've tested.
Here some usefull information:
with kernel 2.6.24-23 (custom builded from ubuntu repository) everything works fine
# modinfo megaraid_sas
filename: /lib/modules/2.6.24-23-yandex/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: LSI Logic MegaRAID SAS Driver
author:
version: 00.00.03.10-rc5
license: GPL
srcversion: 134488BAF94ABCC2CC734BC
alias: pci:v00001028d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000413sv*sd*bc*sc*i*
alias: pci:v00001000d00000060sv*sd*bc*sc*i*
alias: pci:v00001000d00000411sv*sd*bc*sc*i*
depends: scsi_mod
vermagic: 2.6.24-23-yandex SMP mod_unload
#lspci -v
05:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04)
Subsystem: Dell PERC 6/E Adapter RAID Controller
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fafc0000 (64-bit, non-prefetchable)
I/O ports at e000 [size=256]
Memory at faf80000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at faf70000 [disabled] [size=32K]
Capabilities: [b0] Express Endpoint IRQ 0
Capabilities: [c4] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2 Enable-
Capabilities: [d4] MSI-X: Enable- Mask- TabSize=4
Capabilities: [e0] Power Management version 2
Capabilities: [ec] Vital Product Data
# megacli -AdpAllInfo -aALL -NoLog
Adapter #0
==============================================================================
Versions
================
Product Name : PERC 6/E Adapter
Serial No : 1122334455667788
FW Package Build: 6.1.1-0047
Mfg. Data
================
Mfg. Date : 06/24/08
Rework Date : 06/24/08
Revision No :
Image Versions In Flash:
================
FW Version : 1.21.02-0528
BIOS Version : 2.01.00
WebBIOS Version : 1.1-46-e_15-Rel
Ctrl-R Version : 1.02-014B
Boot Block Version : 1.00.00.01-0011
with kernel 2.6.31-server (builded from ubuntu-karmic git repo) megacli can't find adapter:
# modinfo megaraid_sas
filename: /lib/modules/2.6.31-11-server/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: LSI MegaRAID SAS Driver
author:
version: 00.00.04.01
license: GPL
srcversion: 08B2702E1E1F9FF944BE397
alias: pci:v00001028d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000413sv*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.31-11-server SMP mod_unload modversions
megacli 1.01.24
# megacli -AdpAllInfo -aALL -NoLog
ERROR:Could not detect controller.
megacli 2.0.15
# ./MegaCli64 -AdpAllInfo -aALL -NoLog
Exit Code: 0x00
Any help would be appreciated.
<ADMIN NOTE: Email removed per privacy policy>


Dev Mgr
6 Operator
•
9.3K Posts
•
3 Points
0
November 17th, 2009 10:00
I see 2 options:
- downgrade to a kernel version that does work
- wait for LSI to come out with a newer megacli that works with your kernel