hpt37x2 oss driver install on Fedora Core 3
Having had a problem with the later fedora stock kernel and my RocketRaid 1520 card not booting due to timing issues (bugzilla) I decided to install Highpoint's own OSS kernel.
After a lot of reading and learning:
- Download and install the relevant kernel source rpm. You can find this at http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/SRPMS/ or rpmfind.
cd /usr/src/redhat/SPECS
rpmbuild -bp --target=i686 kernel-2.6.spec
make xconfig
- Deselect the High Point modules and save:
- ATA/ATAPI/MFM/RLL support
- PCI IDE chipset support
- Generic PCI bus-master DMA support
- HPT34X chipset support
- HPT36X/37X chipset support
- Edit the Make file and change EXTRAVERSION to be something sensible - making it the same as the kernel you are using (-1.770_FC3) will mean you won't need to install the modules again and there may be less problems with version mismatches.
make all
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.10-1.770_FC3-hpt
cp System.map /boot/System.map-2.6.10-1.770_FC3-hpt
- Download the highpoint driver, I got mine from here.
- Untar and edit the Makefile - edit the RR1520 and KERNELDIR variables.
make
- copy the hpt37x2.ko (or .o if you are using a 2.4 kernel) to /lib/modules/2.6.10-1.770/kernel/drivers/scsi/
- /sbin/depmod -ae -F System.map 2.6.10-1.770_FC3
mkinitrd -v --with=sg --with=sd_mod --with=hpt37x2 /boot/initrd-2.6.10-1.770_FC3-hpt.img 2.6.10-1.770_FC3
- add a block like this to /boot/grub/menu.lst
title Fedora Core (2.6.10-1.770_FC3) - hpt
root (hd0,0)
kernel /vmlinuz-2.6.10-1.770_FC3-hpt ro root=/dev/sda3 noapic rhgb quiet initrd /initrd-2.6.10-1.770_FC3-hpt.img
Labels: Linux


0 Comments:
Post a Comment
<< Home