Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: [gentoo-user] Highpoint Rocket HPT302 PATA EIDE controller
Date: Tue, 22 Nov 2005 23:21:04
Message-Id: adbdb6effccf6b443ff7c868d913b4b7@stellar.eclipse.co.uk
1 Hi there,
2
3 Has anyone had any joy getting one of these to work under Gentoo,
4 please? I bought it on the recommendations of users on
5 uk.comp.os.linux, as I was looking for a Linux-compatible card
6 available in the UK, but apparently no-one on that group is using the
7 card under Gentoo.
8
9 Highpoint provide drivers as source; unpacking these & running make
10 unfortunately fails on my system, with the following output:
11
12 $ make
13 make -C /usr/src/linux SUBDIRS=`pwd` modules
14 make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo-r2'
15 CC [M] /home/stroller/hpt302/hpt.o
16 In file included from /home/stroller/hpt302/hpt.c:48:
17 drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete,
18 please use <scsi/scsi_host.h> instead"
19 In file included from /home/stroller/hpt302/global.h:16,
20 from /home/stroller/hpt302/entry.c:5,
21 from /home/stroller/hpt302/hpt.c:54:
22 /home/stroller/hpt302/osheader.h:96:5: warning: "DBG" is not defined
23 In file included from /home/stroller/hpt302/hpt.c:54:
24 /home/stroller/hpt302/entry.c:8:5: warning: "DBG" is not defined
25 In file included from /home/stroller/hpt302/hpt.c:54:
26 /home/stroller/hpt302/entry.c: In function `hpt3xx_Abort':
27 /home/stroller/hpt302/entry.c:500: error: structure has no member
28 named `abort_reason'
29 /home/stroller/hpt302/entry.c: In function `fOsBuildSgl':
30 /home/stroller/hpt302/entry.c:681: warning: implicit declaration of
31 function `scsi_to_pci_dma_dir'
32 /home/stroller/hpt302/entry.c: At top level:
33 /home/stroller/hpt302/entry.c:828: error: unknown field `abort'
34 specified in initializer
35 /home/stroller/hpt302/entry.c:828: error: unknown field `reset'
36 specified in initializer
37 make[2]: *** [/home/stroller/hpt302/hpt.o] Error 1
38 make[1]: *** [_module_/home/stroller/hpt302] Error 2
39 make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2'
40 make: *** [default] Error 2
41 $
42
43 Setting the KERNELDIR variable to
44 "/lib/modules/2.6.14-gentoo-r2/build/" doesn't make any difference, not
45 does editing the makefile so that drivers/scsi/host.h is included
46 instead of hosts.h
47
48 A poster on the Gentoo forums indicated that he'd managed to get this
49 card working using one of the other Highpoint drivers already in the
50 Linux kernel, but that doesn't seem to work for me, as I have enabled
51 these and the drive connected to the controller is still not shown. (Is
52 there any other way to test whether the controller is working or not?)
53
54 $ zcat /proc/config.gz | grep -i hpt
55 # CONFIG_HIGHPTE is not set
56 CONFIG_BLK_DEV_HPT34X=y
57 # CONFIG_HPT34X_AUTODMA is not set
58 CONFIG_BLK_DEV_HPT366=y
59
60 The device is shown on the PCI bus thusly:
61
62 # 0000:00:02.0 RAID bus controller: Triones Technologies, Inc. HPT302
63 (rev 02)
64 Subsystem: Triones Technologies, Inc.: Unknown device 0001
65 Flags: bus master, 66Mhz, medium devsel, latency 64
66 I/O ports at 1400 [size=8]
67 I/O ports at 1410 [size=4]
68 I/O ports at 1408 [size=8]
69 I/O ports at 1414 [size=4]
70 I/O ports at 1000 [size=256]
71 Expansion ROM at 50000000 [disabled] [size=128K]
72 Capabilities: [60] Power Management version 2
73
74 Many thanks in advance for any help or advices. I'm not averse to
75 replacing the card if someone can recommend one available in the UK
76 with drivers already in the kernel. It doesn't need to do RAID, only
77 act as a 133 EIDE controller for the new hard-drive I put in this
78 Pentium II server recently.
79
80 Stroller.
81
82 --
83 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Highpoint Rocket HPT302 PATA EIDE controller Thomas Harold <tgh@××××××××.com>