Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Highpoint IDE Raid Card

Highpoint IDE Raid Card

2006-02-13       - By Mark McCulligh

 Back
Reply:     1     2     3     4     5     6  

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 (See http://nux-2.ora-code.com).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 (See http://nel-2.ora-code.com).6.12-1-1381_FC3.src.rpm
>>cd /usr/src/redhat/SPECS
>>rpmbuild -bp --target=i586 kernel-2 (See http://nel-2.ora-code.com).6.spec
>>cd /usr/src/redhat/BUILD/kernel-2 (See http://nel-2.ora-code.com).6.12/linux-2 (See http://nux-2.ora-code.com).6.12/configs
>>cp kernel-2 (See http://nel-2.ora-code.com).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 (See http://nel-2.ora-code.com).6.12/linux-2 (See http://nux-2.ora-code.com).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 (See http://nel-2.ora-code.com).6.12/linux-2 (See http://nux-2.ora-code.com).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@(protected) drivers]# make KERNELDIR=/usr/src/redhat/BUILD/kernel-2 (See http://nel-2.ora-code.com).6.12
/linux-2 (See http://nux-2.ora-code.com).6.12 RR1520=0
cp -f raid.o raid.obj
make -C /usr/src/redhat/BUILD/kernel-2 (See http://nel-2.ora-code.com).6.12/linux-2 (See http://nux-2.ora-code.com).6.12 SUBDIRS=`pwd`
modules
make[1]: Entering directory
`/usr/src/redhat/BUILD/kernel-2 (See http://nel-2.ora-code.com).6.12/linux-2 (See http://nux-2.ora-code.com).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 (See http://nel-2.ora-code.com).6.12/linux-2 (See http://nux-2.ora-code.com).6.12'
[root@(protected) drivers]# modprobe sd_mod
[root@(protected) drivers]# insmod ./hpt37x2.o
insmod: error inserting './hpt37x2.o': -1 Invalid module format



>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
>- 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@(protected)
>https://www.redhat.com/mailman/listinfo/redhat-install-list
>To Unsubscribe Go To ABOVE URL or send a message to:
>redhat-install-list-request@(protected)
>Subject: unsubscribe
>  
>

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe