Bug#678110: [squeeze] LSI 926x w/ CacheCade 2.0 Pro feature activated requires updated megaraid_sas driver module
Thomas Baetzler wrote:
> We've recently decided to try LSI's CacheCade Pro 2.0 software
> feature package on some systems utilizing their Megaraid 9260
> controller. This feature package implements tiered storage that
> utilizes SSD drives as additional non-volatile cache. It has been my
> experience that enabling this feature with the standard Debian
> kernel leads to filesystem corruption and data loss. A kernel log
> that demonstrates this happening is attached to this bug report. It
> was created by booting from an older GRML live cd but I can vouch
> for the same thing happening with a plain Squeeze install.
>
> I have since built a new kernel module using dkms from LSI's own
> updated driver for Ubuntu "Lucid Lynx" available at
> http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/Ubuntu_10.04_LTS_05.30.zip.
More details:
The module version was updated from 05.29-rc1 to 05.34-rc1 in mainline
in v2.6.39-rc1~440^2~19.
3.0.y has 05.38-rc1.
2.6.34.y has 04.17.1-rc1.
2.6.32.y has 04.01.
Debian squeeze has 04.01 + some, but not all, changes up to 04.12.
I assume 3.0.y works fine. I suppose what would be most interesting
is to try 2.6.34.y; if that doesn't work, we can work with upstream to
get it working (and if it does work, we have a much narrower range to
search for the fix).
Instructions:
0. prerequisites:
apt-get install git build-essential
1. get the kernel history if you do not already have it:
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2. add point releases:
cd linux
git remote add stable \
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch stable
3. configure, build, test:
git checkout stable/linux-2.6.34.y
cp /boot/config-$(uname -r) .config; # current configuration
scripts/config --disable DEBUG_INFO
make localmodconfig; # optional: minimize configuration
make deb-pkg; # optionally with -j<num> for parallel build
dpkg -i ../<name of package>; # as root
reboot
... test test test ...
Sorry for the slow start, and hope that helps,
Jonathan
Reply to: