Gentoo Forums
Gentoo Forums
Quick Search: in
Highpoint ata 133 driver (HPT302) problems
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
TheJester
n00b
n00b


Joined: 08 Dec 2002
Posts: 9

PostPosted: Wed Feb 01, 2006 10:58 am    Post subject: Highpoint ata 133 driver (HPT302) problems Reply with quote

Hi all,

im trying to get my system back alive.
I was using a raid 1 system with 2 hd's attached to this ata 133 card.
I now need to compile the driver but this is being a pain in the ass.

This is the error i get. Ive tried it against a vanilla and a gentoo kernel that was installed with the system.


datasvr hpt302 # make clean
datasvr hpt302 # make KERNELDIR=/usr/src/linux
linux/ linux-2.6.15-gentoo-r1/ linux-2.6.15.2/ linux-2.6.15.2.tar.gz
datasvr hpt302 # make KERNELDIR=/usr/src/linux
linux/ linux-2.6.15-gentoo-r1/ linux-2.6.15.2/ linux-2.6.15.2.tar.gz
datasvr hpt302 # make KERNELDIR=/usr/src/linux-2.6.15.2/
make -C /usr/src/linux-2.6.15.2/ SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.15.2'
CC [M] /root/hpt302/hpt.o
In file included from /root/hpt302/hpt.c:48:
drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
In file included from /root/hpt302/global.h:16,
from /root/hpt302/entry.c:5,
from /root/hpt302/hpt.c:54:
/root/hpt302/osheader.h:96:5: warning: "DBG" is not defined
In file included from /root/hpt302/hpt.c:54:
/root/hpt302/entry.c:8:5: warning: "DBG" is not defined
In file included from /root/hpt302/hpt.c:54:
/root/hpt302/entry.c:376: error: syntax error before '*' token
/root/hpt302/entry.c:377: warning: function declaration isn't a prototype
/root/hpt302/entry.c: In function `hpt3xx_Detect':
/root/hpt302/entry.c:427: error: `tpnt' undeclared (first use in this function)
/root/hpt302/entry.c:427: error: (Each undeclared identifier is reported only once
/root/hpt302/entry.c:427: error: for each function it appears in.)
/root/hpt302/entry.c: In function `hpt3xx_Abort':
/root/hpt302/entry.c:500: error: structure has no member named `abort_reason'
/root/hpt302/entry.c: In function `fOsBuildSgl':
/root/hpt302/entry.c:681: warning: implicit declaration of function `scsi_to_pci_dma_dir'
/root/hpt302/entry.c: At top level:
/root/hpt302/entry.c:828: error: syntax error before "driver_template"
/root/hpt302/entry.c:828: warning: type defaults to `int' in declaration of `driver_template'
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: initialization makes integer from pointer without a cast
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: error: field name not in record or union initializer
/root/hpt302/entry.c:828: error: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: excess elements in scalar initializer
/root/hpt302/entry.c:828: warning: (near initialization for `driver_template')
/root/hpt302/entry.c:828: warning: data definition has no type or storage class
In file included from /root/hpt302/entry.c:829,
from /root/hpt302/hpt.c:54:
drivers/scsi/scsi_module.c: In function `init_this_scsi_driver':
drivers/scsi/scsi_module.c:19: warning: initialization from incompatible pointer type
drivers/scsi/scsi_module.c: In function `exit_this_scsi_driver':
drivers/scsi/scsi_module.c:54: warning: initialization from incompatible pointer type
make[2]: *** [/root/hpt302/hpt.o] Error 1
make[1]: *** [_module_/root/hpt302] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15.2'
make: *** [default] Error 2
datasvr hpt302 #




datasvr src # ls -all
total 48808
drwxr-xr-x 4 root root 4096 Feb 1 16:23 .
drwxr-xr-x 13 root root 4096 Feb 1 12:49 ..
-rw-r--r-- 1 root root 0 Jul 30 2005 .keep
lrwxrwxrwx 1 root root 23 Feb 1 16:23 linux -> /usr/src/linux-2.6.15.2
drwxr-xr-x 20 root root 4096 Feb 1 15:38 linux-2.6.15-gentoo-r1
drwxrwxrwx 20 root root 4096 Feb 1 16:38 linux-2.6.15.2
-rw-r--r-- 1 root root 49907596 Jan 31 07:28 linux-2.6.15.2.tar.gz
datasvr src #



really desperate in getting the thing to work.

Any help is much appreciated.

regards
Thejester
Back to top
View user's profile Send private message
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1134
Location: Austria / Vienna

PostPosted: Fri May 12, 2006 4:22 am    Post subject: Reply with quote

Hi!

The source-code supports just kernels up to 2.6.9, but nothing later.
_________________
Madness comes and leaves, but i stay!
Der österreichische IRC-Channel im IRCNET: #gentoo.at
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum