howto use megaraid on kernel 2.6.11 ???

Eric Belhomme eric.belhomme at icsb.fr
Thu Mar 31 04:29:02 CST 2005


Hello,

I just upgraded my server to 2.6 kernel branch, and I get some troubles 
with the new megaraid design : raid volumes are not recognized !

here what I have :

hole:/usr/local/megaraid# cat /proc/devices |grep mega
253 megadev

So the raid controller is seen

hole:/# locate megaraid|grep lib
/lib/modules/2.4.29/kernel/drivers/scsi/megaraid2.o
/lib/modules/2.4.29/kernel/drivers/scsi/megaraid.o

modules from my old kernel

/lib/modules/2.6.11.6/kernel/drivers/scsi/megaraid
/lib/modules/2.6.11.6/kernel/drivers/scsi/megaraid/megaraid_mbox.ko
/lib/modules/2.6.11.6/kernel/drivers/scsi/megaraid/megaraid_mm.ko

and here modules compiled with my new kernel. Corresponding kernel 
option are :
[*] LSI Logic New Generation RAID Device Drivers 

<M>   LSI Logic Management Module (New Driver) 
                     <M>     LSI Logic MegaRAID Driver (New Driver)

I tried to manually load megaraid_mm and megaraid_mbox modules, hopping 
volumes would be automatically mounted by nothing appeared :
hole:/# lsmod|grep raid
megaraid_mbox          37776  0
megaraid_mm            12964  1 megaraid_mbox
scsi_mod              141000  4 megaraid_mbox,sr_mod,sd_mod,aic7xxx

hole:/usr/local/megaraid# tail -f -n 1000 /var/log/messages|grep mega
Mar 31 12:07:17 hole kernel: megaraid cmm: 2.20.2.5 (Release Date: Fri 
Jan 21 00:01:03 EST 2005)
Mar 31 12:09:52 hole kernel: megaraid: 2.20.4.5 (Release Date: Thu Feb 
03 12:27:22 EST 2005)

Even megamgr is unable to connect to controller :
./megamgr
   ┌────────────────────────┐
   │   No Adapters Found.   │
   │ Press any key to exit. │
   └────────────────────────┘

So waht should I do to get my volumes back ???

regards,

-- 
I C S B  - Eric BELHOMME
10 rue Mercoeur - 75011 PARIS
tel 01 40 09 68 96 - fax 01 40 09 23 62
eric.belhomme at icsb.fr




More information about the Linux-PowerEdge mailing list