EFW Support

Support => General Support => Topic started by: gerwin on Saturday 06 February 2010, 04:14:12 am



Title: [BUG] Hardware raid with 3ware 9000 fails + fix :)
Post by: gerwin on Saturday 06 February 2010, 04:14:12 am
Outline:

You can install EFW with no problems when using an 3ware HARDWARE raidcontroller (tested with 9 serie card). But the
setup doesn't add the 3w-9aaa module to the kernel ram images. As a result the server will panic after you booted the server
because it does not have access to the / partition because of missing raid support. 

Error looks like:
Code:
Mounting tmpfs on /dev
mounting root filesystem with flags noatime
mount: error 6 mounting ext3 flags noatime
well, retrying without the option flags
mount: error 6 mounting ext3
well, retrying read-only without any flag
mount: error 6 mounting ext3
Error opening /dev/console!!!! 2
switchroot: mount failed: 22
Kernel panic -not syncing attempting to kill init
Rebooting in 10 seconds



IMPORTANT: with 3w-9aaa I actually mean triple x (so replace every a with an x). Seems that the forum software removes the triple x  >:(


Sollution:


This is how I fixed it. I did ran the installer again and when the setup is ag for the network parameters (last step in setup) you do:
  • ALT + F3, you will see a prompt
  • chroot /harddisk (enter)
  • echo "alias scsi_hostadapter  3w-9aaa " >> /etc/modprobe.conf
  • echo 'INITRD_MODULES=3w-9aaa" > /etc/sysconfig/kernel
  • mkinitrd  -f /boot/initrd-`uname -r`.img `uname -r`
  • exit
  • ALT+F1 and finish setup

Well I hope it's useful because it took me some time to figure out :)