Linux Newbie in dear help! Problems compiling Highpoint RocketRaid OpenSource Driver

Phil

wipEout bastard
Veteran
I am using Fedora Core 4 and decided to buy the HighPoint RocketRaid 454 Controller over the weekend.

Problem is, I can't get the damn driver OpenSource Driver to install on my system - after compiling, it just ends with a lot of errors. :(

I followed all the instructions and it just doesn't seem to work. Here are how the errors look like:

Code:
[root@murielle ~]# cd /tmp/highpoint
[root@murielle highpoint]# make KERNELDIR=/usr/src/kernels/2.6.11-1.1369_FC4-i686                                                  cp -f raid.o raid.obj
make -C /usr/src/kernels/2.6.11-1.1369_FC4-i686 SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
  CC [M]  /tmp/highpoint/hpt.o
/tmp/highpoint/hpt.c: In function âget_bdevâ:
/tmp/highpoint/hpt.c:60: error: âSCSI_DISK0_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:60: error: (Each undeclared identifier is reported only once
/tmp/highpoint/hpt.c:60: error: for each function it appears in.)
/tmp/highpoint/hpt.c:60: error: âSCSI_DISK1_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:60: error: âSCSI_DISK2_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:60: error: âSCSI_DISK3_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:61: error: âSCSI_DISK4_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:61: error: âSCSI_DISK5_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:61: error: âSCSI_DISK6_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:61: error: âSCSI_DISK7_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:62: error: âSCSI_DISK8_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:62: error: âSCSI_DISK9_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:62: error: âSCSI_DISK10_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:62: error: âSCSI_DISK11_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:63: error: âSCSI_DISK12_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:63: error: âSCSI_DISK13_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:63: error: âSCSI_DISK14_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:63: error: âSCSI_DISK15_MAJORâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:64: error: âScsi_Deviceâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:64: error: âSDptrâ undeclared (first use in this function)
/tmp/highpoint/hpt.c:64: error: invalid operands to binary *
/tmp/highpoint/hpt.c:64: warning: statement with no effect
/tmp/highpoint/hpt.c:65: warning: implicit declaration of function âshost_for_each_deviceâ
/tmp/highpoint/hpt.c:65: error: syntax error before â{â token
/tmp/highpoint/hpt.c:68: error: break statement not within loop or switch
/tmp/highpoint/hpt.c:60: warning: unused variable âmajorâ
/tmp/highpoint/hpt.c:69: warning: control reaches end of non-void function
/tmp/highpoint/hpt.c: At top level:
/tmp/highpoint/hpt.c:70: error: syntax error before â}â token
/tmp/highpoint/hpt.c:73: error: âiâ undeclared here (not in a function)
/tmp/highpoint/hpt.c:73: warning: type defaults to âintâ in declaration of âmajorâ
/tmp/highpoint/hpt.c:73: warning: data definition has no type or storage class
/tmp/highpoint/hpt.c:73: error: syntax error before â++â token
/tmp/highpoint/hpt.c:80: warning: type defaults to âintâ in declaration of âblkdev_putâ
/tmp/highpoint/hpt.c:80: warning: parameter names (without types) in function declaration
/tmp/highpoint/hpt.c:80: warning: data definition has no type or storage class
/tmp/highpoint/hpt.c:81: error: syntax error before â}â token
In file included from /tmp/highpoint/entry.c:7,
                 from /tmp/highpoint/hpt.c:126:
/tmp/highpoint/oslinux.h:94: error: syntax error before âScsi_Cmndâ
/tmp/highpoint/oslinux.h:94: warning: no semicolon at end of struct or union
/tmp/highpoint/oslinux.h:96: warning: type defaults to âintâ in declaration of âcurrent_Qâ
/tmp/highpoint/oslinux.h:96: warning: data definition has no type or storage class
/tmp/highpoint/oslinux.h:104: error: syntax error before â}â token
In file included from /tmp/highpoint/hpt.c:126:
/tmp/highpoint/entry.c:110: error: syntax error before â*â token
/tmp/highpoint/entry.c:110: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âIrq_Handlerâ:
/tmp/highpoint/entry.c:181: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:181: error: request for member âirqâ in something not a structure or union
/tmp/highpoint/entry.c:187: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:187: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:196: error: syntax error before â*â token
/tmp/highpoint/entry.c:196: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âCheck_Idle_Callâ:
/tmp/highpoint/entry.c:219: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:219: error: request for member âpending_Qâ in something not a structure or union
/tmp/highpoint/entry.c:221: error: âScsi_Cmndâ undeclared (first use in this function)
/tmp/highpoint/entry.c:221: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:221: error: invalid operands to binary *
/tmp/highpoint/entry.c:221: error: syntax error before â)â token
/tmp/highpoint/entry.c:221: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:221: error: request for member âpending_Qâ in something not a structure or union
/tmp/highpoint/entry.c:221: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:221: error: called object â&<erroneous-expression>â is not a function
/tmp/highpoint/entry.c:221: error: request for member âptrâ in something not a structure or union
/tmp/highpoint/entry.c:221: warning: statement with no effect
/tmp/highpoint/entry.c:222: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:222: error: request for member âpending_Qâ in something not a structure or union
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:227: error: syntax error before â*â token
/tmp/highpoint/entry.c:228: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âQueue_SCâ:
/tmp/highpoint/entry.c:229: error: âSC_Qâ undeclared (first use in this function)
/tmp/highpoint/entry.c:229: warning: comparison between pointer and integer
/tmp/highpoint/entry.c:230: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:230: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:230: warning: statement with no effect
/tmp/highpoint/entry.c:233: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:233: error: invalid type argument of â->â
/tmp/highpoint/entry.c:233: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:234: error: invalid type argument of â->â
/tmp/highpoint/entry.c:234: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:234: warning: statement with no effect
/tmp/highpoint/entry.c:236: warning: statement with no effect
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:239: error: syntax error before â*â token
/tmp/highpoint/entry.c:240: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âRelease_SCâ:
/tmp/highpoint/entry.c:241: error: âScsi_Cmndâ undeclared (first use in this function)
/tmp/highpoint/entry.c:241: error: âTmpSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:241: error: invalid operands to binary *
/tmp/highpoint/entry.c:241: warning: statement with no effect
/tmp/highpoint/entry.c:242: error: âSC_Qâ undeclared (first use in this function)
/tmp/highpoint/entry.c:242: warning: statement with no effect
/tmp/highpoint/entry.c:244: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:244: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:244: warning: comparison of distinct pointer types lacks a cast
/tmp/highpoint/entry.c:245: warning: assignment makes integer from pointer without a cast
/tmp/highpoint/entry.c:248: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:248: warning: comparison of distinct pointer types lacks a cast
/tmp/highpoint/entry.c:249: error: syntax error before â)â token
/tmp/highpoint/entry.c:249: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:249: error: called object â&<erroneous-expression>â is not a function
/tmp/highpoint/entry.c:249: error: request for member âptrâ in something not a structure or union
/tmp/highpoint/entry.c:249: warning: statement with no effect
/tmp/highpoint/entry.c:251: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:251: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:252: warning: comparison between pointer and integer
/tmp/highpoint/entry.c:253: warning: statement with no effect
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:256: error: syntax error before â*â token
/tmp/highpoint/entry.c:257: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âScsiDoneâ:
/tmp/highpoint/entry.c:258: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:258: error: request for member âscsi_doneâ in something not a structure or union
/tmp/highpoint/entry.c:258: error: called object â&<erroneous-expression>â is not a function
/tmp/highpoint/entry.c:258: warning: statement with no effect
/tmp/highpoint/entry.c:259: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:259: error: request for member âcurrent_Qâ in something not a structure or union
/tmp/highpoint/entry.c:260: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:260: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/entry.c:260: error: wrong type argument to decrement
/tmp/highpoint/entry.c:260: warning: statement with no effect
/tmp/highpoint/entry.c:262: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:262: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:269: error: syntax error before â*â token
/tmp/highpoint/entry.c:270: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âscsicmd_buf_getâ:
/tmp/highpoint/entry.c:273: error: âcmdâ undeclared (first use in this function)
/tmp/highpoint/entry.c:273: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:274: error: request for member ârequest_bufferâ in something not a structure or union
/tmp/highpoint/entry.c:276: error: âpbufâ undeclared (first use in this function)
/tmp/highpoint/entry.c:276: warning: implicit declaration of function âkmap_atomicâ
/tmp/highpoint/entry.c:286: error: request for member ârequest_bufferâ in something not a structure or union
/tmp/highpoint/entry.c:286: warning: statement with no effect
/tmp/highpoint/entry.c:287: error: request for member ârequest_bufflenâ in something not a structure or union
/tmp/highpoint/entry.c:287: warning: statement with no effect
/tmp/highpoint/entry.c: In function âscsicmd_buf_putâ:
/tmp/highpoint/entry.c:295: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:295: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:297: warning: implicit declaration of function âkunmap_atomicâ
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:313: error: syntax error before â*â token
/tmp/highpoint/entry.c:314: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âOsSendCommandâ:
/tmp/highpoint/entry.c:316: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:316: error: request for member âdeviceâ in something not a structure or union
/tmp/highpoint/entry.c:316: error: request for member âchannelâ in something not a structure or union
/tmp/highpoint/entry.c:316: error: array subscript is not an integer
/tmp/highpoint/entry.c:316: error: request for member âpVDeviceâ in something not a structure or union
/tmp/highpoint/entry.c:316: error: request for member âdeviceâ in something not a structure or union
/tmp/highpoint/entry.c:316: error: request for member âidâ in something not a structure or union
/tmp/highpoint/entry.c:316: error: array subscript is not an integer
/tmp/highpoint/entry.c:318: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:318: error: request for member âcurrent_Qâ in something not a structure or union
/tmp/highpoint/entry.c:319: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:319: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/entry.c:319: error: wrong type argument to increment
/tmp/highpoint/entry.c:319: warning: statement with no effect
/tmp/highpoint/entry.c:321: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:323: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:323: warning: statement with no effect
/tmp/highpoint/entry.c:330: warning: passing argument 1 of âscsicmd_buf_putâ from incompatible pointer type
/tmp/highpoint/entry.c:331: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:331: warning: statement with no effect
/tmp/highpoint/entry.c:336: warning: passing argument 1 of âscsicmd_buf_putâ from incompatible pointer type
/tmp/highpoint/entry.c:337: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:337: warning: statement with no effect
/tmp/highpoint/entry.c:346: warning: passing argument 1 of âscsicmd_buf_putâ from incompatible pointer type
/tmp/highpoint/entry.c:347: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:347: warning: statement with no effect
/tmp/highpoint/entry.c:360: warning: passing argument 1 of âscsicmd_buf_putâ from incompatible pointer type
/tmp/highpoint/entry.c:361: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:361: warning: statement with no effect
/tmp/highpoint/entry.c:375: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:379: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:379: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:379: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:380: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:383: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:383: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:384: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:384: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:385: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:385: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:388: error: request for member âcmndâ in something not a structure or union
/tmp/highpoint/entry.c:405: warning: statement with no effect
/tmp/highpoint/entry.c:409: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:415: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:415: warning: statement with no effect
/tmp/highpoint/entry.c:419: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:419: warning: statement with no effect
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:434: error: syntax error before â*â token
/tmp/highpoint/entry.c:434: error: syntax error before â*â token
/tmp/highpoint/entry.c:442: error: syntax error before â->â token
/tmp/highpoint/entry.c:448: error: syntax error before string constant
/tmp/highpoint/entry.c:467: warning: type defaults to âintâ in declaration of âOsSendCommandâ
/tmp/highpoint/entry.c:467: warning: parameter names (without types) in function declaration
/tmp/highpoint/entry.c:467: error: conflicting types for âOsSendCommandâ
/tmp/highpoint/entry.c:314: error: previous definition of âOsSendCommandâ was here
/tmp/highpoint/entry.c:467: warning: data definition has no type or storage class
/tmp/highpoint/entry.c:468: error: syntax error before â:â token
/tmp/highpoint/entry.c:469: error: syntax error before string constant
/tmp/highpoint/entry.c:469: error: âflagsâ undeclared here (not in a function)
/tmp/highpoint/entry.c:469: error: syntax error before âvoidâ
/tmp/highpoint/entry.c:480: error: syntax error before â*â token
/tmp/highpoint/entry.c:481: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âinternal_doneâ:
/tmp/highpoint/entry.c:482: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:482: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:491: error: syntax error before â*â token
/tmp/highpoint/entry.c:492: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âhpt3xx_Commandâ:
/tmp/highpoint/entry.c:495: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:495: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:496: warning: implicit declaration of function âhpt3xx_QueueCommandâ
/tmp/highpoint/entry.c:499: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:501: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:501: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:501: warning: statement with no effect
/tmp/highpoint/entry.c:502: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:502: warning: return makes integer from pointer without a cast
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:519: error: syntax error before â*â token
/tmp/highpoint/entry.c:520: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âhpt3xx_Detectâ:
/tmp/highpoint/entry.c:581: error: âtpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:581: error: invalid application of âsizeofâ to incomplete type âstruct hpt3xx_HOSTDATAâ
/tmp/highpoint/entry.c:581: warning: passing argument 1 of âscsi_registerâ from incompatible pointer type
/tmp/highpoint/entry.c:588: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:588: error: request for member âpending_Qâ in something not a structure or union
/tmp/highpoint/entry.c:588: warning: statement with no effect
/tmp/highpoint/entry.c:589: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:589: error: request for member âcurrent_Qâ in something not a structure or union
/tmp/highpoint/entry.c:589: warning: statement with no effect
/tmp/highpoint/entry.c:590: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:590: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/entry.c:590: warning: statement with no effect
/tmp/highpoint/entry.c:591: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:591: error: request for member âstatusâ in something not a structure or union
/tmp/highpoint/entry.c:591: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/entry.c:591: warning: statement with no effect
/tmp/highpoint/entry.c:605: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:605: error: request for member âirqâ in something not a structure or union
/tmp/highpoint/entry.c:606: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:606: error: request for member âpci_devâ in something not a structure or union
/tmp/highpoint/entry.c:606: warning: statement with no effect
/tmp/highpoint/entry.c:638: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:638: error: request for member âirqâ in something not a structure or union
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:698: error: syntax error before â*â token
/tmp/highpoint/entry.c:699: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âhpt3xx_Resetâ:
/tmp/highpoint/entry.c:706: error: âScsi_Cmndâ undeclared (first use in this function)
/tmp/highpoint/entry.c:706: error: âSCtmpâ undeclared (first use in this function)
/tmp/highpoint/entry.c:706: error: invalid operands to binary *
/tmp/highpoint/entry.c:706: warning: statement with no effect
/tmp/highpoint/entry.c:707: warning: ISO C90 forbids mixed declarations and code
/tmp/highpoint/entry.c:709: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:715: error: request for member âpidâ in something not a structure or union
/tmp/highpoint/entry.c:715: error: request for member âdeviceâ in something not a structure or union
/tmp/highpoint/entry.c:715: error: request for member âidâ in something not a structure or union
/tmp/highpoint/entry.c:715: error: request for member âdeviceâ in something not a structure or union
/tmp/highpoint/entry.c:715: error: request for member âlunâ in something not a structure or union
/tmp/highpoint/entry.c:715: error: request for member âeh_eflagsâ in something not a structure or union
/tmp/highpoint/entry.c:715: warning: format â%ldâ expects type âlong intâ, but argument 2 has type âint *â
/tmp/highpoint/entry.c:715: warning: format â%xâ expects type âunsigned intâ, but argument 3 has type âint *â
/tmp/highpoint/entry.c:715: warning: format â%xâ expects type âunsigned intâ, but argument 4 has type âint *â
/tmp/highpoint/entry.c:715: warning: format â%xâ expects type âunsigned intâ, but argument 5 has type âint *â
/tmp/highpoint/entry.c:721: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:721: error: request for member âstatusâ in something not a structure or union
/tmp/highpoint/entry.c:721: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/entry.c:728: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:728: error: request for member âstatusâ in something not a structure or union
/tmp/highpoint/entry.c:728: warning: statement with no effect
/tmp/highpoint/entry.c:737: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:737: error: request for member âpending_Qâ in something not a structure or union
/tmp/highpoint/entry.c:739: error: syntax error before â)â token
/tmp/highpoint/entry.c:739: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:739: error: request for member âpending_Qâ in something not a structure or union
/tmp/highpoint/entry.c:739: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:739: error: called object â&<erroneous-expression>â is not a function
/tmp/highpoint/entry.c:739: error: request for member âptrâ in something not a structure or union
/tmp/highpoint/entry.c:739: warning: statement with no effect
/tmp/highpoint/entry.c:740: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:740: error: request for member âpending_Qâ in something not a structure or union
/tmp/highpoint/entry.c:741: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:741: warning: statement with no effect
/tmp/highpoint/entry.c:742: error: request for member âscsi_doneâ in something not a structure or union
/tmp/highpoint/entry.c:742: error: called object â&<erroneous-expression>â is not a function
/tmp/highpoint/entry.c:742: warning: statement with no effect
/tmp/highpoint/entry.c:750: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:750: error: request for member âstatusâ in something not a structure or union
/tmp/highpoint/entry.c:750: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/entry.c:750: warning: statement with no effect
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:762: error: syntax error before â*â token
/tmp/highpoint/entry.c:763: warning: function declaration isnât a prototype
/tmp/highpoint/entry.c: In function âhpt3xx_Abortâ:
/tmp/highpoint/entry.c:764: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:764: error: request for member âpidâ in something not a structure or union
/tmp/highpoint/entry.c:764: error: request for member âdeviceâ in something not a structure or union
/tmp/highpoint/entry.c:764: error: request for member âidâ in something not a structure or union
/tmp/highpoint/entry.c:764: error: request for member âdeviceâ in something not a structure or union
/tmp/highpoint/entry.c:764: error: request for member âlunâ in something not a structure or union
/tmp/highpoint/entry.c:764: error: request for member âeh_eflagsâ in something not a structure or union
/tmp/highpoint/entry.c:764: error: request for member âabort_reasonâ in something not a structure or union
/tmp/highpoint/entry.c:764: warning: format â%ldâ expects type âlong intâ, but argument 2 has type âint *â
/tmp/highpoint/entry.c:764: warning: format â%xâ expects type âunsigned intâ, but argument 3 has type âint *â
/tmp/highpoint/entry.c:764: warning: format â%xâ expects type âunsigned intâ, but argument 4 has type âint *â
/tmp/highpoint/entry.c:764: warning: format â%xâ expects type âunsigned intâ, but argument 5 has type âint *â
/tmp/highpoint/entry.c:764: warning: format â%xâ expects type âunsigned intâ, but argument 6 has type âint *â
/tmp/highpoint/entry.c: In function âfOsBuildSglâ:
/tmp/highpoint/entry.c:886: error: âScsi_Cmndâ undeclared (first use in this function)
/tmp/highpoint/entry.c:886: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:886: error: invalid operands to binary *
/tmp/highpoint/entry.c:886: error: syntax error before â)â token
/tmp/highpoint/entry.c:888: error: request for member ârequest_bufferâ in something not a structure or union
/tmp/highpoint/entry.c:891: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:893: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:893: warning: comparison between pointer and integer
/tmp/highpoint/entry.c:914: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:914: warning: comparison between pointer and integer
/tmp/highpoint/entry.c:933: error: request for member ârequest_bufferâ in something not a structure or union
/tmp/highpoint/entry.c:933: warning: statement with no effect
/tmp/highpoint/entry.c:934: error: request for member ârequest_bufflenâ in something not a structure or union
/tmp/highpoint/entry.c:934: warning: statement with no effect
/tmp/highpoint/entry.c:939: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:940: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:941: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:941: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:941: error: request for member âpci_devâ in something not a structure or union
/tmp/highpoint/entry.c:942: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:942: warning: implicit declaration of function âscsi_to_pci_dma_dirâ
/tmp/highpoint/entry.c:942: error: request for member âsc_data_directionâ in something not a structure or union
/tmp/highpoint/entry.c:942: warning: passing argument 1 of âpci_map_sgâ from incompatible pointer type
/tmp/highpoint/entry.c:942: warning: passing argument 3 of âpci_map_sgâ makes integer from pointer without a cast
/tmp/highpoint/entry.c:944: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:946: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:948: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/entry.c:948: warning: return makes integer from pointer without a cast
/tmp/highpoint/entry.c:950: warning: return makes integer from pointer without a cast
/tmp/highpoint/entry.c:951: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:955: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:956: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:956: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:956: error: request for member âpci_devâ in something not a structure or union
/tmp/highpoint/entry.c:956: error: request for member ârequest_bufferâ in something not a structure or union
/tmp/highpoint/entry.c:957: error: request for member ârequest_bufflenâ in something not a structure or union
/tmp/highpoint/entry.c:957: error: request for member âsc_data_directionâ in something not a structure or union
/tmp/highpoint/entry.c:957: warning: passing argument 1 of âpci_map_singleâ from incompatible pointer type
/tmp/highpoint/entry.c:957: warning: passing argument 3 of âpci_map_singleâ makes integer from pointer without a cast
/tmp/highpoint/entry.c:958: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:960: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:961: warning: return makes integer from pointer without a cast
/tmp/highpoint/entry.c:962: error: request for member ârequest_bufflenâ in something not a structure or union
/tmp/highpoint/entry.c:962: warning: statement with no effect
/tmp/highpoint/entry.c:963: warning: return makes integer from pointer without a cast
/tmp/highpoint/entry.c:967: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/entry.c:967: warning: return makes integer from pointer without a cast
/tmp/highpoint/entry.c: In function âfOsCommandDoneâ:
/tmp/highpoint/entry.c:972: error: âScsi_Cmndâ undeclared (first use in this function)
/tmp/highpoint/entry.c:972: error: âSCpntâ undeclared (first use in this function)
/tmp/highpoint/entry.c:972: error: invalid operands to binary *
/tmp/highpoint/entry.c:972: error: syntax error before â)â token
/tmp/highpoint/entry.c:974: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:975: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:977: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:977: error: request for member âpci_devâ in something not a structure or union
/tmp/highpoint/entry.c:978: error: request for member ârequest_bufferâ in something not a structure or union
/tmp/highpoint/entry.c:979: error: request for member âuse_sgâ in something not a structure or union
/tmp/highpoint/entry.c:980: error: request for member âsc_data_directionâ in something not a structure or union
/tmp/highpoint/entry.c:981: warning: passing argument 1 of âpci_unmap_sgâ from incompatible pointer type
/tmp/highpoint/entry.c:981: warning: passing argument 2 of âpci_unmap_sgâ from incompatible pointer type
/tmp/highpoint/entry.c:981: warning: passing argument 3 of âpci_unmap_sgâ makes integer from pointer without a cast
/tmp/highpoint/entry.c:984: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:984: error: request for member âpci_devâ in something not a structure or union
/tmp/highpoint/entry.c:985: error: request for member âSCpâ in something not a structure or union
/tmp/highpoint/entry.c:986: error: request for member ârequest_bufflenâ in something not a structure or union
/tmp/highpoint/entry.c:987: error: request for member âsc_data_directionâ in something not a structure or union
/tmp/highpoint/entry.c:988: warning: passing argument 1 of âpci_unmap_singleâ from incompatible pointer type
/tmp/highpoint/entry.c:988: warning: passing argument 3 of âpci_unmap_singleâ makes integer from pointer without a cast
/tmp/highpoint/entry.c:994: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:994: warning: statement with no effect
/tmp/highpoint/entry.c:998: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:998: warning: statement with no effect
/tmp/highpoint/entry.c:1002: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:1002: warning: statement with no effect
/tmp/highpoint/entry.c:1006: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:1006: warning: statement with no effect
/tmp/highpoint/entry.c:1010: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:1010: warning: statement with no effect
/tmp/highpoint/entry.c:1014: error: request for member âresultâ in something not a structure or union
/tmp/highpoint/entry.c:1014: warning: statement with no effect
/tmp/highpoint/entry.c: In function âhpt_worker_threadâ:
/tmp/highpoint/entry.c:1167: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:1167: error: request for member âstatusâ in something not a structure or union
/tmp/highpoint/entry.c:1167: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/entry.c:1183: error: dereferencing pointer to incomplete type
/tmp/highpoint/entry.c:1183: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/entry.c: At top level:
/tmp/highpoint/entry.c:1257: error: syntax error before âdriver_templateâ
/tmp/highpoint/entry.c:1257: warning: type defaults to âintâ in declaration of âdriver_templateâ
/tmp/highpoint/entry.c:1258: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1258: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1258: warning: initialization makes integer from pointer without a cast
/tmp/highpoint/entry.c:1259: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1259: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1259: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1259: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1260: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1260: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1260: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1260: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1261: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1261: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1261: error: âhpt3xx_QueueCommandâ undeclared here (not in a function)
/tmp/highpoint/entry.c:1261: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1261: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1262: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1262: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1262: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1262: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1263: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1263: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1263: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1263: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1264: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1264: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1264: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1264: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1265: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1265: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1265: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1265: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1266: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1266: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1266: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1266: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1268: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1268: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1268: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1268: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1269: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1269: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1269: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1269: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1270: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1270: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1270: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1270: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1287: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1287: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1287: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1287: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1288: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1288: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1288: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1288: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1289: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1289: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1289: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1289: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1290: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1290: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1290: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1290: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1292: error: field name not in record or union initializer
/tmp/highpoint/entry.c:1292: error: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1293: warning: excess elements in scalar initializer
/tmp/highpoint/entry.c:1293: warning: (near initialization for âdriver_templateâ)
/tmp/highpoint/entry.c:1293: warning: data definition has no type or storage class
In file included from /tmp/highpoint/hpt.c:126:
/tmp/highpoint/entry.c:1353:25: error: scsi_module.c: No such file or directory
In file included from /tmp/highpoint/hpt.c:127:
/tmp/highpoint/hptproc.c: In function âhpt_set_infoâ:
/tmp/highpoint/hptproc.c:230: warning: âverify_areaâ is deprecated (declared at include/asm/uaccess.h:105)
/tmp/highpoint/hptproc.c:236: warning: âverify_areaâ is deprecated (declared at include/asm/uaccess.h:105)
/tmp/highpoint/hptproc.c:242: warning: âverify_areaâ is deprecated (declared at include/asm/uaccess.h:105)
/tmp/highpoint/hptproc.c:260: warning: ignoring return value of âcopy_from_userâ, declared with attribute warn_unused_result
/tmp/highpoint/hptproc.c:268: warning: ignoring return value of âcopy_to_userâ, declared with attribute warn_unused_result
/tmp/highpoint/hptproc.c:272: warning: ignoring return value of âcopy_to_userâ, declared with attribute warn_unused_result
/tmp/highpoint/hptproc.c: In function âget_sd_nameâ:
/tmp/highpoint/hptproc.c:474: error: dereferencing pointer to incomplete type
/tmp/highpoint/hptproc.c:474: error: request for member âdisk_nameâ in something not a structure or union
/tmp/highpoint/hptproc.c:474: warning: format â%sâ expects type âchar *â, but argument 3 has type âint *â
In file included from /tmp/highpoint/hpt.c:128:
/tmp/highpoint/ioctl.c: In function âhpt_rescan_allâ:
/tmp/highpoint/ioctl.c:508: error: dereferencing pointer to incomplete type
/tmp/highpoint/ioctl.c:508: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/ioctl.c:514: error: dereferencing pointer to incomplete type
/tmp/highpoint/ioctl.c:514: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/ioctl.c: In function âhpt_rebuild_data_blockâ:
/tmp/highpoint/ioctl.c:814: error: dereferencing pointer to incomplete type
/tmp/highpoint/ioctl.c:814: error: request for member âcommandsâ in something not a structure or union
/tmp/highpoint/ioctl.c:825: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/ioctl.c:825: warning: passing argument 2 of âfDeleteArrayâ makes integer from pointer without a cast
In file included from /tmp/highpoint/hpt.c:130:
/tmp/highpoint/channel.c: In function âfChannelSendCommandâ:
/tmp/highpoint/channel.c:170: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/channel.c:170: warning: passing argument 3 of âpChan->pChipInstance->ftbl.pfnWaitOnBusyâ makes integer from pointer without a cast
/tmp/highpoint/channel.c: In function âfPioInterruptâ:
/tmp/highpoint/channel.c:493: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/channel.c:493: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c:495: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/channel.c:495: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c: In function âfChannelInterruptâ:
/tmp/highpoint/channel.c:520: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/channel.c:520: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c:525: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/channel.c:525: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c:559: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c:567: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c:577: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c:629: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c:654: warning: return makes integer from pointer without a cast
/tmp/highpoint/channel.c: In function âfChipInterruptâ:
/tmp/highpoint/channel.c:671: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/channel.c:671: warning: statement with no effect
In file included from /tmp/highpoint/hpt.c:131:
/tmp/highpoint/device.c: In function âIdeHardResetâ:
/tmp/highpoint/device.c:76: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/device.c:76: warning: return makes integer from pointer without a cast
/tmp/highpoint/device.c: In function âfDeReadWriteâ:
/tmp/highpoint/device.c:294: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/device.c:294: warning: return makes integer from pointer without a cast
/tmp/highpoint/device.c:314: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/device.c:314: warning: return makes integer from pointer without a cast
/tmp/highpoint/device.c: In function âfRescanAllDeviceâ:
/tmp/highpoint/device.c:371: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/device.c:371: warning: passing argument 3 of âpChip->ftbl.pfnWaitOnBusyâ makes integer from pointer without a cast
In file included from /tmp/highpoint/hpt.c:132:
/tmp/highpoint/hpt3xx.c: In function âfHpt3xxFinishIntrâ:
/tmp/highpoint/hpt3xx.c:112: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/hpt3xx.c:112: warning: return makes integer from pointer without a cast
/tmp/highpoint/hpt3xx.c:118: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/hpt3xx.c:118: warning: return makes integer from pointer without a cast
In file included from /tmp/highpoint/hpt.c:133:
/tmp/highpoint/idevice.c: In function âfDeIssueIdentifyâ:
/tmp/highpoint/idevice.c:46: error: âTRUEâ undeclared (first use in this function)
/tmp/highpoint/idevice.c:46: warning: return makes integer from pointer without a cast
/tmp/highpoint/idevice.c:51: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/idevice.c:51: warning: return makes integer from pointer without a cast
/tmp/highpoint/idevice.c: In function âfDeScanDeviceâ:
/tmp/highpoint/idevice.c:128: error: âFALSEâ undeclared (first use in this function)
/tmp/highpoint/idevice.c:128: warning: comparison between pointer and integer
make[2]: *** [/tmp/highpoint/hpt.o] Error 1
make[1]: *** [_module_/tmp/highpoint] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [default] Error 2

Seems to me that the Open Source driver is trying to access variables within the scsi.h that aren't there?

I have installed the Kernel Source as well as the Kernel Devils Packages from the FC4 site.. is there something I'm missing?

Here's the short extract from the readme.txt supplied with the driver:

Code:
2. Build the driver
---------------------
  1) Install kernel source package and building tools. 
  
     You shall use same configuration for the kernel and the driver.
     Otherwise the driver may be unable to load or work abnormally.
     
     If you are using stock kernel, obtain the configuration in your Linux
     distribution (e.g. the kernel configuration file for Red Hat stock kernel
     can be found under "configs" directory in kernel source tree). Copy the
     configuration file to <your-kernel-source-dir>/.config and setup the
     kernel headers using "make oldconfig" and "make dep"(not necessary in the 
     2.6 kernel) commands before you build the driver.
     
     Please refer to the documents in your Linux distribution for kernel
     configuration.
  
     If the kernel contains built-in IDE support for HPT374 controller,
     you must disable the kernel support before using this driver. You can
     either rebuild a kernel without HPT374 support, or use boot parameters
     like "hdx=noprobe" to disable the built-in driver.

  2) Extract the driver files to somewhere.

  3) Build the driver (example):

        # make KERNELDIR=/usr/src/linux-2.6.9-5
        
     Available make options:
     
        RR154X=0
           Build driver for HPT374 PATA controller instead of SATA controller.
     
        NON_RAID=1
           Build driver without RAID support.
           
        CROSS_CTRL=1
           Enable cross-controller RAID (need controller BIOS support).

Help! :cry:
 
Just to make sure, did you go through this before starting 'make' (as it's not shown on your code)?

Code:
If you are using stock kernel, obtain the configuration
in your Linux distribution (e.g. the kernel configuration file for
Red Hat stock kernel can be found under "configs" directory in
kernel source tree). Copy the configuration file to 
<your-kernel-source-dir>/.config and setup the kernel headers
 using "make oldconfig" and "make dep"(not necessary in the 2.6 kernel)
 commands before you build the driver.
You could always try contacting their support, according to their README:

2) For technical support, send e-mail to support@highpoint-tech.com

I'm sure someone with linux knowledge can help you out better than them thow.
 
Yeah - my friend gave me a hand yesterday - I'd say he's fairly good at Linux stuff and I bought the card on his recommendation.

Unfortunately we didn't get very far:

- re-installed the kernel sources from the fedora package
- setup the kernel headers (make mrproper, make bzImage)

and then tried the compiling process - unfortunately with no luck. At some point, the above SCSI errors were gone, but after re-setting up the kernel headers, they appeared again.

We also tried the last version of the OpenSource driver (v.2.12), the one my friend got working on his Suse Linux (I think he's got the Kernel 2.6.4 or something) - unfortunately, only with a little more luck:

Kernel had some (other) errors, but at least built the driver hpt374.ko, but when I tried to insmod it - it refused because of unresolved symbol or something.


I searched Google and didn't find much, expect for this other forum where a member had the exact same errors that I have now. One of the members there actually got it to work with the above mentioned steps (get kernel headers, make mrproper, make bzImage etc).

I also found out that Fedora 4 apparently has a few differences with the kernel sources - something as to why the configure directory is missing and how to get it. I tried solving that accoarding to the Fedora 4 Release Notes page. Not sure if it helped or changed anything though.

After all this hassle, I'm actually considering changing my Linux distribution. I think the problem either lies withing that Kernel version (2.6.11) or because of some Fedora specific things with the kernel sources that are different.

Hmm... but I'll definately try to contact Highpoint on this issue and see what they reply (if they do)... :cry:
 
I typically just install a new kernel from kernel.org on my Fedora Core distribution. If you are comfortable with recompiling the kernel yourself from RedHat's RPM's, it's not very hard to do it from the kernel.org download. The only extra step that you need to do is to copy the config-<latest Fedora kernel version> file from your /boot directory to the kernel souce directory, naming it .config (or just opening the config-<whatever> from within the kernel configuration before making any changes you may want to make).
 
I suggest heeding Linus' advice (2.6 onward), distro vendors should be relied upon to stablise kernels. That is to say, kernel.org isn't the place where you should be getting a stable kernel.

The problem is that you can't really compare fedora 2.6.x kernels with a suse 2.6.y kernel, really x and y mean nothing against each other. Both of them are heavily patched, this includes a lot of back porting of features.

Check out Open/SUSE 10, they might even have the highpoint driver rolled in. Another option is gentoo, which might just have a handy feature to have it compiler in during kernel configuration -- might even be in the generic kernel.
 
I can see that, but I've always had issues compiling Fedora's kernel sources. Maybe one of these days I'll just switch distributions.
 
Fedora isn't very "compatible" with most stuff. They don't seem to spend much time in making sure all parts work together. Compared to SuSe and Debian derivates, it's a patchwork.

As for the RAID: most cheaper ones use drivers instead of hardware to do it. And Linux has very excellent software RAID support natively. I agree with ChryZ: see if you can do it in software instead. It will most likely be faster and more stable as well. If you can mount the drives individually through the card, do that. Otherwise, see if you can connect them to the MB. And build a software RAID.
 
DiGuru said:
Fedora isn't very "compatible" with most stuff. They don't seem to spend much time in making sure all parts work together. Compared to SuSe and Debian derivates, it's a patchwork.
Only problem is, SuSe appears to only offer their x86_64 version in DVD ISO format (I have no DVD writer), and Debian doesn't appear to support x86_64 yet (at least, not that I could find).
 
Chalnoth said:
Only problem is, SuSe appears to only offer their x86_64 version in DVD ISO format (I have no DVD writer), and Debian doesn't appear to support x86_64 yet (at least, not that I could find).

Here they are.
 
If you have two computers, just setup an ftp/nfs or whatever with the dvd iso virtually mounted/contents copied onto disk and then use the mini-iso to do a ftp/nfs based install. One CD-RW and you can keep on updating the mini-iso for the install.
 
Saem said:
If you have two computers, just setup an ftp/nfs or whatever with the dvd iso virtually mounted/contents copied onto disk and then use the mini-iso to do a ftp/nfs based install. One CD-RW and you can keep on updating the mini-iso for the install.
Yeah, well, I don't have two computers, and I really have no idea how to do that.
 
Well the way I did it was have my windows machine setup with an simple ftp server, created a user, then used daemon tools to mount the image, pointed the user' home directory to the virtual dvd drive and then the rest was upto the installer, worked with SUSE and FreeBSD.
 
Saem said:
Well the way I did it was have my windows machine setup with an simple ftp server, created a user, then used daemon tools to mount the image, pointed the user' home directory to the virtual dvd drive and then the rest was upto the installer, worked with SUSE and FreeBSD.
Well, if I try it, I think I'll just try the network install from the CD image here:
http://cdimage.debian.org/cdimage/unofficial/sarge-amd64/iso-cd/
...since I can now download at up to 500kb/s.
 
DiGuru said:
As for the RAID: most cheaper ones use drivers instead of hardware to do it. And Linux has very excellent software RAID support natively. I agree with ChryZ: see if you can do it in software instead. It will most likely be faster and more stable as well. If you can mount the drives individually through the card, do that. Otherwise, see if you can connect them to the MB. And build a software RAID.

Admittedly, I was going to go software RAID last night, but to be honest (and probably due to my lack of experience with RAIDs), I'm rather paranoid that my Raid5 will be too much to be handled by the server (a P4, 2.6GHz, 512MB RAM etc). I guess I just feel more secure when a piece of hardware like the highpoint controller takes care of it, even if it isn't a full hardware solution. Afterall the data I'll be securing over the 3 disks (3 WDs 250GB drives) will cover data very important to me. I heard that a nasty crash could destroy your array fairly quick - so I'm hoping going with the highpoint controller my music array will have a better survival chance.

Because of this, I decided to scrap Fedora 4 last night and installed SuSE Linux 9.1 via FTP. It's already up and working and while the compiling of the highpoint driver didn't work last night, it seems to look far better now -> No SCSI errors, just an error because one file within the kernel sources weren't found and I take it shouldn't be too difficult finding that last error to successfully compile the driver.

Did I do the right thing? :???:
 
Whenever you add a drive you actually increase the chance of failure. Because it's RAID 5, you'll greatly mitigate the the chance of catostrophic effects.

Honestly, a good file system such as JFS, EXT3 or ReiserFS (in that order IMO) with regular backups -- CD/DVD/Tapes in a safe -- is something that I'd feel better with, but it really depends on the situation.

If that's not good enough, I would stick with software RAID it's actually used a lot, heavily tested and you're not at the mercy of drivers and/or hardware bugs -- yes there are software bugs but I think software RAID has a larger effort behind it.

BTW, why 9.1 instead of at least 9.3?
 
Saem said:
Whenever you add a drive you actually increase the chance of failure. Because it's RAID 5, you'll greatly mitigate the the chance of catostrophic effects.

Honestly, a good file system such as JFS, EXT3 or ReiserFS (in that order IMO) with regular backups -- CD/DVD/Tapes in a safe -- is something that I'd feel better with, but it really depends on the situation.

I would if I could - but the collection I'm securing just wouldn't fit on CD/DVD/Tapes anymore. We're talking about half a tera of data - so RAID is the only option I see left. I'd prefer a RAIDx (the one where you completely mirror the drives), but I would need another drive for that and that doesn't quite work out at the moment 'cause I've more or less maxed out my system with the 8 drives running on it....

Saem said:
If that's not good enough, I would stick with software RAID it's actually used a lot, heavily tested and you're not at the mercy of drivers and/or hardware bugs -- yes there are software bugs but I think software RAID has a larger effort behind it.

I get that, but what would happen when the server crashes or the system disk where linux is running on? Would the raid array be corrupt or could you still save it?

Saem said:
BTW, why 9.1 instead of at least 9.3?

Hmm... heh, 'cause I found that one ready to download via FTP-install and my friend is using that one and therefore 99% certain that the highpoint driver will run on it. I guess after using FC4, I just thought going with a slightly older build might prove to be more consistent and less bugs.

I guess when the time comes, I can always upgrade my 9.1 and work my way up...
 
I get that, but what would happen when the server crashes or the system disk where linux is running on? Would the raid array be corrupt or could you still save it?

From my understanding you'd lose data but things shouldn't be corrupt. Even with a hardware solution, you'd basically be asking yourself the same questions. I would google a bit here to make sure you're not missing any information.

Hmm... heh, 'cause I found that one ready to download via FTP-install and my friend is using that one and therefore 99% certain that the highpoint driver will run on it. I guess after using FC4, I just thought going with a slightly older build might prove to be more consistent and less bugs.

I guess when the time comes, I can always upgrade my 9.1 and work my way up...

Not a bad idea, eliminate variables and as far as my experience goes, FC has always been garbage. I used SuSE 9.1 Personal, by adding additional YaST sources, I basically had a full fledged SuSE 9.1 system, worked great, best of all the install disk was a single CD. Currently I'm on 9.2.
 
I'm having major issues trying to get Debian working, unfortunately :( X11 is refusing to load the nvidia kernel module (which loads fine through modprobe, but still X doesn't see it)
 
Back
Top