Before 5 days ago, I knew nothing about linux, much less gentoo. But on that day, rather than doing my periodical reformatting of WinXP, I decided to install gentoo. Boy did I dig myself deep. I was swamped with "complex" guides and articles. So in effort to help out the fellow newbs, I will try to explain how I got my Raid0 (hpt372) working in lay man's terms.
The Facts:
-My previous WinXP setup included two 200gig Wd's hooked up via my onboard HPT372 Raid into a Raid 0 config on my Soyo P4I-Fire Dragon motherboard to be used as data storage (not my boot drive). I thought once I got gentoo installed, I could just access this like windows. Obviously it doesn't.
-Installed gentoo 2.4.25-f1 with Live Cd and using gentoo-sources. (I did use 'doataraid' but it did not do anything for the livecd boot). Running KDE.
The Process:
First off I searched the forums to install my HPT, as I was and still am clueless to linux. I lot of people said RAID doesn't work on gentoo-sources, but I got it working. I will proceed to 'explain' how to install it in such a way as I wish I had found from the other guides: EXTREME easiness with complete examples.
Enabling HPT support in kernel.
Code: Select all
#cd /usr/src/linux
#make menuconfig
(blue screen of death, i mean kernel config should load)
Proceed to 'ATA/IDE/MFM/RLL support'
Followed by 'IDE. ATA and ATAPI Block devices'
Scroll down until you highlight "HPT36X/37X chipset support"
Enable it by pressing the 'y' button; an asterik should appear next to it.
Code: Select all
ATA/IDE/MFM/RLL support --->
IDE, ATA and ATAPI Block devices --->
[*] HPT36X/37X chipset support
Compile the kernel, and make sure you mount your boot! (took me awhile to figure out what that meant) when you copy it over to it. You gotta reboot too.
Code: Select all
#mount /dev/hda1 /boot (do note that '/dev/hda1' should be whatever disk & partition you have as boot)
#make dep && make bzImage modules modules_install
#cp arch/i386/boot/bzImage /boot/kernel-2.4.25-gentoo-r1
#cp System.map /boot/System.map-2.4.25-gentoo-r1
#reboot
Now that we're back and booted, we now need to download the drivers/source for the HPT. I found them on http://www.highpoint-tech.com/372drivers_down.htm . Scroll to the very bottom to find "Linux open source release for HPT372". Download the corresponding file for v1.31, titled "hpt3xx-opensource-v131.tgz".
Save it somewhere, and extract it. In KDE I can just right click on it and 'extract here'. Run the make file.
Code: Select all
#(somehow extract the tar, Im too newb to know how to do it from prompt)
#cd /where/did/you/save/thefile
#make
Run insmod on that important file. I have no f'in clue what insmod does...
Code: Select all
#insmod hpt37x2.o
Code: Select all
#mkdir /home/HPTDRIVE (make a folder, anywhere)
#mount /dev/sda1 /home/HPTDRIVE (note the '1' after 'sda1', you need that, it represents the partition index)
Now getting it to load at boot is a totally whole other issue that me, the linux novice, will have to learn from your expert complex guides. ;]
Oh and one small note, non relevant to your HPT endeavours: turns out linux doesn't like NTFS, the files system of my Raid. Thanks for telling me that AFTER i installed linux. Now Im trying to figure out 'captive ntfs', which is proving quite bothersome, or just replacing my linux drive with a spare drive and install winxp JUST to run Partition Magic and convert my RAID from NTFS to FAT32. Why is this so bothersome?
I hope i helped some newbs trying to untangle this complex hoola.
-Bryan[/code]


