SuSE Linux: Version 8.0
The basic procedure is divided into three steps: First, a driver suitable for the kernel of SuSE Linux 8.0 has to be compiled on an installed SuSE Linux 8.0 system and subsequently copied to a floppy disk. Then, use this floppy for the installation on the target system. Finally, make sure that the new driver is automatically loaded by the installed system during the boot process via the corresponding initrd.
Extract the archive hpt3xx-opensource-v13.tgz with the command
tar xzvf hpt3xx-opensource-v13.tgz
Create the actual driver by executing the command make. To do so, both the kernel sources and the relevant developer tools such as gcc have to be installed.
This directory contains now the following files:
1163 Apr 1 18:06 Makefile 37777 Apr 5 22:34 hpt.c 1925 Feb 26 21:07 hpt.h 17120 Jun 25 09:36 hpt.o 78037 Jun 25 09:36 hpt37x2.o 63639 Apr 5 22:35 hpt37x2lib.o 55051 Apr 18 19:14 hpt3xx-opensource-v13.tgz 28789 Apr 3 22:46 hptglb.h 1765 Mär 28 17:52 hptkern.h 5402 Apr 5 22:38 readme.txt 841 Mär 2 00:15 rules.mak
Copy the file hpt37x2.o to an empty DOS-formatted floppy disk with:
mcopy hpt37x2.o a:
The hard disks should be visible as ataraid/xxx in YaST2's configuration suggestion. 1.NONE/xxxxataraidxx should be displayed in the field BOOT FROM.
Now select Abort installation to get to the text-based linuxrc.
Select the item Kernel modules (hardware driver) and then Remove loaded modules. Select Highpoint 370 Software Raid from the list of currently loaded modules - the driver will be subsequently unloaded.
Change to the previous menu with Back and select Load IDE/RAID/SCSI drivers first and then Further modules. The floppy disk you have previously created is now accessed and the driver hpt37x2.o is displayed as an option. The driver will be loaded by confirming the selection (the question regarding the module parameters can be ignored).
ATTENTION: Driver Activation: reject the modules ataraid and hptraid.
The hard disk should be now visible as /dev/sdx and Boot from should display the entry 1.SCSI xxxx.
Now you can partition your system and start the installation.
Once the installation is completed and before rebooting the computer, execute the commands:
mkdir /lib/modules/2.4.18-4GB/hpt mcopy a:hpt37x2.o /lib/modules/2.4.18-4GB/hpt depmod -a
Open the file /etc/sysconfig/kernel with an editor of your choice and search for the line
INITRD_MODULES="reiserfs"
(it is OK if this line already contains other modules). Simply add the hpt37x2 module to the existing definition:
INITRD_MODULES="reiserfs hpt37x2"
Finally, start mkinitrd and lilo.
We would like to thank Mr. Jürgen Schwengler, who tested this solution and who submitted us the draft for this SDB article.
Further advice: according to another customer, it might be neccessary to recompile the kernel as it is described in the file readme.txt that came with the downloaded Highpoint driver. One should also make sure that the Highpoint controller doesn't have to share its interrupt.