Linux on an IBM x206m with SAS (Serial Attached SCSI) Hard Drives

I had to install Linux (Gentoo) on an IBM x206m server. Remarkable in this box is the use of SATA / SAS (Serial Attached SCSI) hard drives. Only very recent kernels support this kind of storage, and even so they need a firmware blob to be appropiately loaded for the controller to work at all.

Some references can be found on the Internet (although not many). Here is a quick reference of the steps involved to make this box work.

  1. Install Gentoo on an external USB hard drive, or on a temporary IDE drive connected to server.
  1. Compile the kernel, not forgetting to add support for SAS drives in the "aic94xx" module.
  1. Load aic94xx with modprobe and verify that the SAS drives are properly detected.
  2. Proceed with normal Gentoo installation on the USB/IDE drive and later transfer the system to the SAS drives following the "custom stage4" from Gentoo

References: