Kernel Configuration
3ware controllers use the 3w-xxxx SCSI driver. If you installed Linux directly onto a 3ware controller, 3w-xxxx support is already enabled (although it is likely a loadable kernel module). Follow the steps in this section if you are installing a 3ware controller into an existing Linux system or want to compile a kernel without the 3w-xxxx driver as a module. Although I have used the 2.4.18 kernel throughout most of this book, I recommend using a later kernel (2.4.19 became available in August 2002) for this process because the 3ware driver code has been significantly updated. It’s likely that the 2.4.19 kernel will not make it into any distributions for quite some time, so I recommend manually upgrading after the initial installation when possible. Readers who are already using a 2.5 development kernel should already have the most recent code.
Support for 3ware ATA RAID controllers is found in the SCSI support section of the Linux kernel.
SCSI support ---> ... SCSI low-level drivers ---> <*> 3ware Hardware ATA-RAID support ...
Enable support statically (as I have shown above) or as a loadable kernel module. Next, execute make and copy the new kernel into your /boot directory:
#make dep && make bzImage#make modules && make modules_install#cp arch/i386/boot/bzImage /boot/bzImage.3ware#cp System.map /boot
Now add an entry for the new kernel to /etc/lilo.conf, updating global parameters as needed, and execute /sbin/lilo to rewrite the boot sector. When the system ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access