If it helps any here's the steps I've been following and the error message I receive.
install debian from testing amd64 disk on an ide drive that is on the same amd64 board that the raid 5 array is connected to.
boot off the ide drive and run the following commands
Code:
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
cd/usr/src
wget the httppart I'm not allowed to post.kernel.org/pub/linux/kernel/v2.6/linux-2.6.x.x.tar.bz2
tar xjf linux-2.6.x.x.tar.bz2
cd linux-2.6.x.x
make menuconfig
in menuconfig I just make sure that amd64 athlon cpu is specified (as mentioned before) (I have also tried loading the config file from the ide drive install of debian and the compiled drivers still didn't work but I may have been using the wrong version of the kernel I'll try that again)
next I type the following commands and let the kernel compile and then reboot the machine off the ide drive.(agian I'm loading the newly compiled kernel onto the ide drive)
Code:
make-kpkg clean
fakeroot make-kpkg --initrd --revision=custom1.x kernel_image
cd ../
dpkg -i kernel-image-2.6.x.x_custom.1.x_amd64.deb
next I download the opensource highpoint rocketraid 1820a drivers and use the following command to compile the driver. Once the driver is compiled I burn it to cd. The driver file is hptmv.ko
Code:
make KERNELDIR=/usr/src/linux-2.6.x.x
now I boot off the installation CD and after the detect network hardware step I jumpt to tty 2 and do the following.
eject the install cd and put in the cd with the drivers
Code:
mount /dev/cdroms/cdrom0 /cdrom
cp /cdrom/hptmv.ko /lib/modules/2.6.15-1-amd64-generic/kernel/drivers/scsi
depmod -a
modprobe hptmv
after which point I get the following error.
Code:
FATAL: Error inserting hptmv (/lib/modules/2.6.15-1-amd64-generic/kernel/drivers/scsi/hptmv.ko):
Invalid module format