[CentOS] Hardware raid LSI Megaraid not working since Centos 6.6

Wed Jan 14 13:42:25 UTC 2015
Sorin Srbu <Sorin.Srbu at orgfarm.uu.se>

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Philippe BOURDEU d'AGUERRE
> Sent: den 14 januari 2015 14:16
> To: centos at centos.org
> Subject: Re: [CentOS] Hardware raid LSI Megaraid not working since Centos
> 6.6
> 
> Le 05/01/2015 16:14, Philippe BOURDEU d'AGUERRE a écrit :
> >
> > We have a SuperMicro server with a LSI MegaRAID 9260-4i controller.
> >
> > Since Centos 6.6 update (kernel 2.6.32-504), the controller doesn't
> > initialize at boot. Reverting to kernel 2.6.32-431 allows server to boot
> > fine.
> >
> > The server can't boot due to a bug in LSI megaraid module. Boot log ends
> > by a lot of lines:
> >
> > RESET_GEN2: retry=xxx, hostdiag=a4
> >
> > I tried Centos 6.6 install disk and it also fails to find disks but
> > Centos 7 install disk boot fine.
> >
> > It's annoying to be stuck at 2.6.32-431 kernel and I have no idea how to
> > solve this issue :-(
> >
> 
> My workaround is to install kernel-lt from elrepo repository. It seems
> to work well.
> 
> # uname -rv
> 3.10.64-1.el6.elrepo.x86_64 #1 SMP Fri Jan 9 10:40:17 EST 2015

When I tinkered with CentOS and one of those LSI-cards a while ago, CentOS couldn't find the card until the card's BIOS was flashed with the latest firmware available at the time. 
After the flash, the CentOS stock-kernel found the card out-of-the-box.

YMMV though.
--
//Sorin