LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HPT370 RAID 0 and kernel upgrade (http://www.linuxquestions.org/questions/linux-newbie-8/hpt370-raid-0-and-kernel-upgrade-221259/)

brianweber4 08-23-2004 07:41 AM

HPT370 RAID 0 and kernel upgrade
 
Hi,

I have installed Redhat 9.0 on an Abit VP6 motherboard using a HPT370 RAID controler with two 40GIG IBM harddrives striped as RAID 0.

To install Redhat 9.0, I used the Redhat 9.0 Highpiont drivers located on the Highpoint web site for the HPT370 chip.

I followed the instructions Highpoint supplied and the installation went perfectly.

The system has great stability and is fast, running two 1GHZ PIII processors! It's a perfect initial system. Hdparm reports RAID 0 harddrive internal transfer rates at about 200MB and overal output at about 47MB/sec.

Since this is an initial Redhat 9.0 installation, I'm running Linux Kernel 2.4.20-8smp.

Kernel 2.4.20-31.9 is available for upgrade via Redhat Network, but will my HPT370 driver still work?

How can I upgrade to Kernel 2.4.20-31.9???

brianweber4

arno 08-23-2004 08:50 AM

download vm.... and init.... file
cp the two files to the /boot map

if you are using grub

add a new start environment
title Red Hat Linux (2.4.20-31.9)
root (hd0,3)
kernel /boot/vmlinuz-2.4.20-31.9 ro root=/dev/hda4
initrd /boot/initrd-2.4.20-31.9.img

where (hd0,3) and dev/hda4 is my own setup
also add any disk io parameters from your initial start environment

The answer to the question if the HPT drivers still works depends if you had to do a kernel rebuild during the first installation ?

Because you only use the binary's of 31.9 be careful when you have to rebuild your kernel based on the sources this will not work anymore

brianweber4 09-09-2004 08:32 PM

I just got this thing to work and so I've made some basic notes:

Redhat 9.0 and HPT370

1)To install Redhat 9.0 use Highpoint's hpt370 RH 9.0 drivers to make a driver disk and install per Highpoints instructions using hde=noprobe, hdf=noprobe, etc.

2)At boot you have a basic Redhat 9.0 kernel 2.4.20-8 hpt370 Linux installation. Mine was a RAID 0 installation using two 40 GIG IBM hardrives each connected as a master on the Highpoint controller.

3)How do you upgrade to Redhat 9.0's newest kernel: 2.4.20-31.9???

4)Log in as root and edit with a # befor the highpoint entry in /etc/modules.config if you dont, Redhat's uptodate has problems loading the Redhat 2.4.20-31.9 kernel rpm and Grub won't have an entry for it!!! This is important.

5)Using uptodate install Redhat's kernel 2.4.20-31.9 and the 2.4.20-31.9 kernel source. Don't forget the source!

6)Remove the # in the /etc/modulec config entry for highpoint.

7)Download highpoints “OpenSource driver” hpt3xx-opensource-v1.35.tgz to a folder in home directory.

8)In a root terminal started in the folder type # tar xfz hpt3xx-opensource-v10.tgz
this extracts the file.

9)Then type # make KERNELDIR=/usr/src/linux-2.4.20-31.9

10)The driver hpt37x2.o is made for kernel 2.4.20-31.9!!

11)As Root, copy the driver to file:/lib/modules/2.4.20-31.9smp/kernel/drivers/scsi

12) As Root in file:/boot delete /initrd-2.4.20-31.9smp.img

13)As Root open a terminal in file:/boot/
and type /sbin/mkinitrd /boot/initrd-2.4.20-31.9smp 2.4.20-31smp

14)Use smp after 2.4.20-31.9 if you have a dual processor board, if not don't use it!

15)Done! Reboot and load kernel 2.4.20-31.9smp in Grub and the highpoint RAID driver will work!


All times are GMT -5. The time now is 03:48 AM.