Highpoint IDE Raid Card
Mark McCulligh
mmcculli at visualtech.ca
Tue Feb 14 01:52:50 UTC 2006
Rick Stevens wrote:
>On Mon, 2006-02-13 at 18:36 -0500, Mark McCulligh wrote:
>
>
>>Hi Group,
>>
>>I have a Hightpoint RocketRAID 133 raid card that I am trying to
>>install. I downloaded the driver from their website and I have to
>>configure it with the kernel source.
>>
>>make KERNELDIR=/usr/src/linux-2.6.4-52-default [from their readme file]
>>
>>To get my kernel source as I know it is no longer part of the default
>>install I did the following commands.
>>up2date --get-source kernel
>>rpm -Uvh kernel-2.6.12-1-1381_FC3.src.rpm
>>cd /usr/src/redhat/SPECS
>>rpmbuild -bp --target=i586 kernel-2.6.spec
>>cd /usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12/configs
>>cp kernel-2.6.12-i586.config ./.config
>>cd ..
>>make oldconfig
>>
>>At this point I am lost. Where do I tell highpoint where my kernel
>>source is?
>>
>>I tried this:
>>make KERNELDIR=/usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12
>>but I just got a lot of errors.
>>
>>Has anyone used this card and can get me an idea on what I need to do.
>>
>>
>
>It'd help if we could see some of the errors you got. You probably need
>to actually build the kernel and modules...some 3rd party drivers need a
>real kernel and not just the configured source:
>
> # cd /usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12
> # make bzImage;make modules
>
>After that, your make command for the driver should work.
>
>
I ran the "make bzImage;make modules" commands then build the driver.
See below for the output. I then ran insmod to load the driver and got a
Invalid module format error. I see a couple warnings in building the
driver. Any ideas what to do next. First time building my own drivers.
Thanks for your help.
[root at calonweb003 drivers]# make KERNELDIR=/usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12 RR1520=0
cp -f raid.o raid.obj
make -C /usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12 SUBDIRS=`pwd`
modules
make[1]: Entering directory
`/usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12'
CC [M] /usr/local/src/highpoint/drivers/hpt.o
In file included from /usr/local/src/highpoint/drivers/hpt.c:49:
drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete, please
use <scsi/scsi_host.h> instead"
In file included from /usr/local/src/highpoint/drivers/hpt.c:129:
/usr/local/src/highpoint/drivers/entry.c: In function `fOsBuildSgl':
/usr/local/src/highpoint/drivers/entry.c:903: warning: implicit
declaration of function `scsi_to_pci_dma_dir'
In file included from /usr/local/src/highpoint/drivers/hpt.c:130:
/usr/local/src/highpoint/drivers/hptproc.c: In function `hpt_set_info':
/usr/local/src/highpoint/drivers/hptproc.c:230: warning: `verify_area' is
deprecated (declared at include/asm/uaccess.h:105)
/usr/local/src/highpoint/drivers/hptproc.c:236: warning: `verify_area' is
deprecated (declared at include/asm/uaccess.h:105)
/usr/local/src/highpoint/drivers/hptproc.c:242: warning: `verify_area' is
deprecated (declared at include/asm/uaccess.h:105)
In file included from /usr/local/src/highpoint/drivers/hpt.c:130:
/usr/local/src/highpoint/drivers/hptproc.c:260: warning: ignoring return
value of `copy_from_user', declared with attribute warn_unused_result
/usr/local/src/highpoint/drivers/hptproc.c:268: warning: ignoring return
value of `copy_to_user', declared with attribute warn_unused_result
/usr/local/src/highpoint/drivers/hptproc.c:272: warning: ignoring return
value of `copy_to_user', declared with attribute warn_unused_result
In file included from /usr/local/src/highpoint/drivers/ioctl.c:6,
from /usr/local/src/highpoint/drivers/hpt.c:131:
/usr/local/src/highpoint/drivers/gui_lib.c: In function `get_array_info':
/usr/local/src/highpoint/drivers/gui_lib.c:271: warning: ISO C90 forbids
mixed declarations and code
LD [M] /usr/local/src/highpoint/drivers/hpt37x2.o
Building modules, stage 2.
MODPOST
Warning: could not find /usr/local/src/highpoint/drivers/.raid.obj.cmd for
/usr/local/src/highpoint/drivers/raid.obj
*** Warning: "scsi_to_pci_dma_dir"
[/usr/local/src/highpoint/drivers/hpt37x2.ko] undefined!
CC /usr/local/src/highpoint/drivers/hpt37x2.mod.o
LD [M] /usr/local/src/highpoint/drivers/hpt37x2.ko
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12'
[root at calonweb003 drivers]# modprobe sd_mod
[root at calonweb003 drivers]# insmod ./hpt37x2.o
insmod: error inserting './hpt37x2.o': -1 Invalid module format
>----------------------------------------------------------------------
>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
>- VitalStream, Inc. http://www.vitalstream.com -
>- -
>- You know you've landed gear-up when it takes full power to taxi. -
>- -- Chuck Yeager -
>----------------------------------------------------------------------
>
>_______________________________________________
>Redhat-install-list mailing list
>Redhat-install-list at redhat.com
>https://www.redhat.com/mailman/listinfo/redhat-install-list
>To Unsubscribe Go To ABOVE URL or send a message to:
>redhat-install-list-request at redhat.com
>Subject: unsubscribe
>
>
More information about the Redhat-install-list
mailing list