Just managed to make it work on the LSI MegaRAID SAS 8208ELP/8204ELP ( rev 08 ) with the followings:
MegaRAID BIOS Configuration Utility:
- Intel Embedded MegaRAID Software
Debian megasr Resources:
- http://csa.pp.ru/megasr/ (seems newer)
- http://mentors.debian.net/debian/poo...free/m/megasr/ (seems older)
Tool Resources:
- http://hwraid.le-vert.net/wiki/DebianPackages
Driver & Tool Guides:
- http://sa-chernomor.livejournal.com/6255.html
- http://nyalb.wordpress.com/2008/07/2...ch-megasrko-2/
- http://hwraid.le-vert.net/wiki
*** Important *** last steps after the above guides:
(1) Add 'megasr' (without quote) line to /etc/initramfs-tools/modules if this SAS drive is boot drive (Working on Ubuntu Jaunty, shall work on later)
(2) If the SAS drive is not boot drive, add 'megasr' (without quote) line to /etc/modules and add 'GRUB_CMDLINE_LINUX="rootdelay=<sec>"' (without quote) to /etc/default/grub (Working on Ubuntu Jaunty, shall work on later)
(3) update-initramfs -k all -u
(4) update-grub
Important Notes:
- Working on 2.6.28-15 and 2.6.28-19 (both generic and server), future upgrading seems possible...
- You may use the following cmds to build the upgraded kernels on above guides:
Code:
m-a -t -k /usr/src/linux-headers-<new kernel version>/ -l linux-headers-<new kernel version> build megasr
m-a -t -k /usr/src/linux-headers-<new kernel version>/ -l linux-headers-<new kernel version> install megasr
- If get the initramfs console on bootup (cannot mount the root due to timeout), pls repeat using the 'cat /proc/modules' (without quote) to check whether the megasr is loaded. It seems always needs few mins to be loaded (Guess this is what happens to FAKE RAID card ). As my trials told me, 2.6.28-15-generic took 3mins+ to load whereas 2.6.28-19-server took 6mins+ to load the megasr. The results show that megasr boot-time is depending on the kernel version.
- If happen that you can't add megasr to /etc/initramfs-tools/modules, you may try manually add the "rootdelay=<sec>" to kernel line in the /boot/grub/grub.cfg (GRUB 2) or /boot/grub/menu.lst (Legacy GRUB), eg:
Code:
menuentry "Ubuntu, linux 2.6.28-19-server" {
linux /vmlinuz-2.6.28-19-server root=UUID=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeeee ro doscsi quiet splash rootdelay=360
initrd /initrd.img-2.6.28-19-server
}
- If you think you need doscsi, added it as well. Not sure it work on the kernel or not. I just added it to prevent some issues.
- Having GPG signature issue for 2nd guide link on Icabrera hints), replace "debuild -sa" with "dch -i ; dpkg-buildpackage" (without double quotes) to resolve it.
- Remember to run the last steps (3 & 4) to apply the changes to the kernel(s).
Benchmark results seems fine with the compiled megasr module:
hdparm -Tt /dev/sd*1
/dev/sda1:
Timing cached reads: 8086 MB in 2.00 seconds = 4051.86 MB/sec
Timing buffered disk reads: 466 MB in 3.00 seconds = 155.08 MB/sec
/dev/sdb1:
Timing cached reads: 7988 MB in 2.00 seconds = 4002.37 MB/sec
Timing buffered disk reads: 466 MB in 3.00 seconds = 155.30 MB/sec
......
Remark: You may try the HWRAID's MegaRAID SAS tools to benchmark, manage or monitor the hard discs. If happens that you can do all 3 activities with the tools, you are a lucky guy It seems that i can only use:
megaclisas-status
-- Controller informations --
-- ID | Model
c0 | LSI MegaRAID SAS 8208ELP and 8204ELP
-- Arrays informations --
-- ID | Type | Size | Status | InProgress
c0u0 | RAID1 | 1G | Optimal | None
c0u1 | RAID1 | 15G | Optimal | None
c0u2 | RAID1 | 29G | Optimal | None
c0u3 | RAID1 | 29G | Optimal | None
c0u4 | RAID1 | 49G | Optimal | None
c0u5 | RAID1 | 12G | Optimal | None
......
And most of the megacli cmd parameters Refers here for more details.
Sorry for the unorganized info, i'm still busy with real-life stuffs. Hope these info will help, try it at your own risk... Will return when my stuffs are settled.
Bookmarks