RevoDrive3 X2 on Ubuntu? Oh Yeah!
We successfully got Ubuntu 12.04 Server working using Ubuntu Server 12.04 64-bit enterprise driver on the RevoDrive3 X2 BOOTABLE! That’s a 200,000 iop card with 1.5GB/sec Writes! Check out how Peter pulled it off.
http://www.oczenterprise.com/drivers.html
Specifically : http://www.oczenterprise.com/files/drivers/OCZ%20Ubuntu_Server_12.04_64-Bit_3.3.4.0_DS.tar.gz
Copy the driver to a USB Stick NTFS will do , extract with winrar in windows.
Using ubuntu-12.04-server-amd64.iso from any Ubuntu Mirror and burn it.
Start installer and run it untill you get to configuration of Eth0 and then STOP!
Press CTRL + ALT + F2 to get access to console.
modprobe -r mvsas
parted_devices <- This should list partitions and you should only see the USB Stick /dev/sda
mkdir /usb
mount.ntfs /dev/sda1 /usb
cd /usb
insmod ocz10xx.ko
parted_devices <- it should now list the new RD3 drive /dev/sdb
Pressing CTRL + ALT + F1 will get you back to the installer which you now can continue through the install, though when finished, do NOT reboot.
Now press CTRL + ALT + F2 to get access to console again.
**Mount RD3…in my case, the install drive was “sdb”
mount /dev/sdb1 /mnt
# Copy the kernel module into target system’s kernel module tree.
cd /usb
cp ocz10xx.ko /mnt/lib/modules/3.2.0-23-generic/kernel/drivers/scsi/mvsas/.
**You will also need to blacklist the mvsas driver from booting ever again
nano /mnt/etc/modprobe.d/blacklist
Add this file in:
blacklist mvsas
Save & Exit
Now need to “chroot” into the new OS on the RD3 and add “ocz10xx” kernel module to “initrd” so drive is detected during boot
# do the chroot
mount -bind /proc /mnt/proc
mount -bind /dev /mnt/dev
mount -bind /sys /mnt/sys
chroot /mnt
# build the deps list…dunno why this is needed
depmod -a
# confirm ocz module is was read correctly
grep ocz /lib/modules/3.2.0-23-generic/modules.dep
# should see this in output: kernel/drivers/scsi/mvsas/ocz10xx.ko:
# tell ubuntu to add the ocz module whenever it rebuilds initramfs
nano /etc/initramfs-tools/modules
# append a line, “ocz10xx”, no quotes
#rebuild initramfs
update-initramfs -u -k all -v > /tmp/output.txt
# should see this in output: Adding module /lib/modules/3.2.0-23-generic/kernel/drivers/scsi/mvsas/ocz10xx.ko
grep ocz /tmp/output.txt
#Exit chroot
exit
#Unmount and reboot!
umount /mnt/dev/
umount /mnt/proc
umount /mnt/sys
umount /mnt
Reboot
And there you have it. Easy stuff.
Dedicated Servers Specialists - About Us



