From owner-freebsd-hardware@FreeBSD.ORG Wed Jun 23 01:11:36 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9EC416A4CE; Wed, 23 Jun 2004 01:11:36 +0000 (GMT) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB5543D2D; Wed, 23 Jun 2004 01:11:36 +0000 (GMT) (envelope-from Peter_Losher@isc.org) Received: from tardis.isc.org (tardis.isc.org [IPv6:2001:4f8:3:bb:230:1bff:fe31:a192]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 9D2AEA960; Wed, 23 Jun 2004 01:11:27 +0000 (UTC) (envelope-from Peter_Losher@isc.org) From: Peter Losher Organization: ISC To: "Vinod Kashyap" Date: Tue, 22 Jun 2004 18:11:41 -0700 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_TjN2ACqlY58oCJo"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406221811.47868.Peter_Losher@isc.org> cc: freebsd-amd64@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: [freebsd-amd64] Possible 3ware 8506-12 SATA Controller issues... X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 01:11:36 -0000 --Boundary-02=_TjN2ACqlY58oCJo Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 22 June 2004 05:16 pm, you wrote: > The official support on FreeBSD for 7xxx, 8xxx and 9xxx series > controllers is only for i386. Although the driver might work > on other platforms, it's never been tested. The FreeBSD management > tools provided by 3ware are only for i386. Any word on work on a amd64-compatible driver? (mike seemed to indicate tha= t a=20 amd64 driver for the 9xxx series might come later this summer?) > You might want to upgrade to twe in -CURRENT, and see if that > makes a difference. Tried compiling a 5.2.1 kernel w/ the twe driver plopped from -CURRENT=20 cvsup'ed 30 minutes ago, and it didn't go to well: =2D=3D- cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototype= s =20 =2DWmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =20 =2Dfformat-extensions -std=3Dc99 -nostdinc -I- -I. -I/usr/src/sys=20 =2DI/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter=20 =2DI/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd=20 =2DI/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common= =20 =2Dfinline-limit=3D20000 -fno-strict-aliasing -fno-omit-frame-pointer=20 =2Dmcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-m= mx=20 =2Dmno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding=20 =2DWerror /usr/src/sys/dev/twe/twe_freebsd.c /usr/src/sys/dev/twe/twe_freebsd.c:70: error: unknown field `d_version'=20 specified in initializer /usr/src/sys/dev/twe/twe_freebsd.c:70: error: `D_VERSION' undeclared here (= not=20 in a function) /usr/src/sys/dev/twe/twe_freebsd.c:70: error: initializer element is not=20 constant /usr/src/sys/dev/twe/twe_freebsd.c:70: error: (near initialization for=20 `twe_cdevsw.d_maj') /usr/src/sys/dev/twe/twe_freebsd.c:71: error: `D_NEEDGIANT' undeclared here= =20 (not in a function) /usr/src/sys/dev/twe/twe_freebsd.c:71: error: initializer element is not=20 constant /usr/src/sys/dev/twe/twe_freebsd.c:71: error: (near initialization for=20 `twe_cdevsw.d_flags') /usr/src/sys/dev/twe/twe_freebsd.c: In function `twe_attach': /usr/src/sys/dev/twe/twe_freebsd.c:219: warning: implicit declaration of=20 function `bus_alloc_resource_any' /usr/src/sys/dev/twe/twe_freebsd.c:220: warning: assignment makes pointer f= rom=20 integer without a cast /usr/src/sys/dev/twe/twe_freebsd.c:251: warning: redundant redeclaration of= =20 `bus_alloc_resource_any' in same scope /usr/src/sys/dev/twe/twe_freebsd.c:219: warning: previous declaration of=20 `bus_alloc_resource_any' /usr/src/sys/dev/twe/twe_freebsd.c:252: warning: assignment makes pointer f= rom=20 integer without a cast /usr/src/sys/dev/twe/twe_freebsd.c: In function `twed_attach': /usr/src/sys/dev/twe/twe_freebsd.c:813: warning: implicit declaration of=20 function `disk_alloc' /usr/src/sys/dev/twe/twe_freebsd.c:813: warning: assignment makes pointer f= rom=20 integer without a cast /usr/src/sys/dev/twe/twe_freebsd.c:825: error: `DISKFLAG_NEEDSGIANT'=20 undeclared (first use in this function) /usr/src/sys/dev/twe/twe_freebsd.c:825: error: (Each undeclared identifier = is=20 reported only once /usr/src/sys/dev/twe/twe_freebsd.c:825: error: for each function it appears= =20 in.) /usr/src/sys/dev/twe/twe_freebsd.c:827: error: `DISK_VERSION' undeclared=20 (first use in this function) /usr/src/sys/dev/twe/twe_freebsd.c:827: warning: passing arg 1 of=20 `disk_create' makes integer from pointer without a cast /usr/src/sys/dev/twe/twe_freebsd.c:827: error: too few arguments to functio= n=20 `disk_create' *** Error code 1 Stop in /usr/obj/usr/src/sys/AMD_64_WITNESS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. =2D=3D- If there is something I can hack in to twe_freebsd.c to get it to compile=20 under 5.2.1, I am all ears. =2DPeter =2D-=20 Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow" --Boundary-02=_TjN2ACqlY58oCJo Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA2NjTPtVx9OgEjQgRAjo/AKCIwGqezyEsQQywE3kTqPw8+GKOWQCeJCIF rT9QcSKGeqBTzJ4UjRt2HkY= =/DM6 -----END PGP SIGNATURE----- --Boundary-02=_TjN2ACqlY58oCJo--