From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EehRf-0008FH-P5 for garchives@archives.gentoo.org; Tue, 22 Nov 2005 23:21:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAMNIwlY011715; Tue, 22 Nov 2005 23:18:58 GMT Received: from mra02.ch.as12513.net (mra02.ch.as12513.net [82.153.252.24]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAMNAMvw024854 for ; Tue, 22 Nov 2005 23:10:22 GMT Received: from localhost (localhost [127.0.0.1]) by mra02.ch.as12513.net (Postfix) with ESMTP id 103A8D4384 for ; Tue, 22 Nov 2005 23:10:22 +0000 (GMT) Received: from mra02.ch.as12513.net ([127.0.0.1]) by localhost (mra02.ch.as12513.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00428-01-69 for ; Tue, 22 Nov 2005 23:10:19 +0000 (GMT) Received: from [192.168.1.71] (pornpipe.stroller.uk.eu.org [213.152.39.89]) by mra02.ch.as12513.net (Postfix) with ESMTP id 3747BD4977 for ; Tue, 22 Nov 2005 23:00:11 +0000 (GMT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: Gentoo User Mailing List From: Stroller Subject: [gentoo-user] Highpoint Rocket HPT302 PATA EIDE controller Date: Tue, 22 Nov 2005 23:00:04 +0000 X-Mailer: Apple Mail (2.623) X-Virus-Scanned: by Eclipse VIRUSshield at eclipse.net.uk X-Archives-Salt: 9142da36-1c6a-49f6-b6b2-e48f9ff9a842 X-Archives-Hash: 2b73ebbc7f1aece25c12d67ad056d4b9 Hi there, Has anyone had any joy getting one of these to work under Gentoo, please? I bought it on the recommendations of users on uk.comp.os.linux, as I was looking for a Linux-compatible card available in the UK, but apparently no-one on that group is using the card under Gentoo. Highpoint provide drivers as source; unpacking these & running make unfortunately fails on my system, with the following output: $ make make -C /usr/src/linux SUBDIRS=`pwd` modules make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo-r2' CC [M] /home/stroller/hpt302/hpt.o In file included from /home/stroller/hpt302/hpt.c:48: drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete, please use instead" In file included from /home/stroller/hpt302/global.h:16, from /home/stroller/hpt302/entry.c:5, from /home/stroller/hpt302/hpt.c:54: /home/stroller/hpt302/osheader.h:96:5: warning: "DBG" is not defined In file included from /home/stroller/hpt302/hpt.c:54: /home/stroller/hpt302/entry.c:8:5: warning: "DBG" is not defined In file included from /home/stroller/hpt302/hpt.c:54: /home/stroller/hpt302/entry.c: In function `hpt3xx_Abort': /home/stroller/hpt302/entry.c:500: error: structure has no member named `abort_reason' /home/stroller/hpt302/entry.c: In function `fOsBuildSgl': /home/stroller/hpt302/entry.c:681: warning: implicit declaration of function `scsi_to_pci_dma_dir' /home/stroller/hpt302/entry.c: At top level: /home/stroller/hpt302/entry.c:828: error: unknown field `abort' specified in initializer /home/stroller/hpt302/entry.c:828: error: unknown field `reset' specified in initializer make[2]: *** [/home/stroller/hpt302/hpt.o] Error 1 make[1]: *** [_module_/home/stroller/hpt302] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2' make: *** [default] Error 2 $ Setting the KERNELDIR variable to "/lib/modules/2.6.14-gentoo-r2/build/" doesn't make any difference, not does editing the makefile so that drivers/scsi/host.h is included instead of hosts.h A poster on the Gentoo forums indicated that he'd managed to get this card working using one of the other Highpoint drivers already in the Linux kernel, but that doesn't seem to work for me, as I have enabled these and the drive connected to the controller is still not shown. (Is there any other way to test whether the controller is working or not?) $ zcat /proc/config.gz | grep -i hpt # CONFIG_HIGHPTE is not set CONFIG_BLK_DEV_HPT34X=y # CONFIG_HPT34X_AUTODMA is not set CONFIG_BLK_DEV_HPT366=y The device is shown on the PCI bus thusly: # 0000:00:02.0 RAID bus controller: Triones Technologies, Inc. HPT302 (rev 02) Subsystem: Triones Technologies, Inc.: Unknown device 0001 Flags: bus master, 66Mhz, medium devsel, latency 64 I/O ports at 1400 [size=8] I/O ports at 1410 [size=4] I/O ports at 1408 [size=8] I/O ports at 1414 [size=4] I/O ports at 1000 [size=256] Expansion ROM at 50000000 [disabled] [size=128K] Capabilities: [60] Power Management version 2 Many thanks in advance for any help or advices. I'm not averse to replacing the card if someone can recommend one available in the UK with drivers already in the kernel. It doesn't need to do RAID, only act as a 133 EIDE controller for the new hard-drive I put in this Pentium II server recently. Stroller. -- gentoo-user@gentoo.org mailing list