From owner-freebsd-amd64@FreeBSD.ORG Wed Jun 23 01:48:08 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2A2816A4CE; Wed, 23 Jun 2004 01:48:08 +0000 (GMT) Received: from mail.mikehost.net (lvs-1.voxel.net [207.99.115.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7233743D2D; Wed, 23 Jun 2004 01:48:08 +0000 (GMT) (envelope-from mike@mike2k.com) Received: by mail.mikehost.net (Postfix, from userid 502) id B8EA91C207; Tue, 22 Jun 2004 18:28:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.mikehost.net (Postfix) with ESMTP id B73201C11E; Tue, 22 Jun 2004 18:28:25 -0700 (PDT) Date: Tue, 22 Jun 2004 18:28:25 -0700 (PDT) From: mike X-X-Sender: mike@sql01.internal.mikehost.net To: Peter Losher In-Reply-To: <200406221811.47868.Peter_Losher@isc.org> Message-ID: References: <200406221811.47868.Peter_Losher@isc.org> mike: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Vinod Kashyap cc: freebsd-amd64@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: [freebsd-amd64] Re: [freebsd-amd64] Possible 3ware 8506-12SATA Controller issues... X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 01:48:08 -0000 No - The 8xxx series is what I meant - he said support for that on FreeBSD 5.x with AMD64 support (I believe he was including it in that statement) was due out later this summer at the earliest. I was told quote "if you want 64-bit support you need to buy the 9500S card. We will be having a driver and utilities out for it within 2-3 weeks it's in testing right now." It turned out to be more like a month, but it did come out. I believe the binaries "run" but obviously without the driver properly compiled, it can't find a card to attach to. If modules could be compiled under AMD64, I might have a chance at making it work. However, trying to compile it into the kernel fails. I will followup this email with the actual mail I sent them at 3ware. On Tue, 22 Jun 2004, Peter Losher wrote: > 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 that a > 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 > cvsup'ed 30 minutes ago, and it didn't go to well: > > -=- > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd > -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common > -finline-limit=20000 -fno-strict-aliasing -fno-omit-frame-pointer > -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx > -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > -Werror /usr/src/sys/dev/twe/twe_freebsd.c > /usr/src/sys/dev/twe/twe_freebsd.c:70: error: unknown field `d_version' > specified in initializer > /usr/src/sys/dev/twe/twe_freebsd.c:70: error: `D_VERSION' undeclared here (not > in a function) > /usr/src/sys/dev/twe/twe_freebsd.c:70: error: initializer element is not > constant > /usr/src/sys/dev/twe/twe_freebsd.c:70: error: (near initialization for > `twe_cdevsw.d_maj') > /usr/src/sys/dev/twe/twe_freebsd.c:71: error: `D_NEEDGIANT' undeclared here > (not in a function) > /usr/src/sys/dev/twe/twe_freebsd.c:71: error: initializer element is not > constant > /usr/src/sys/dev/twe/twe_freebsd.c:71: error: (near initialization for > `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 > function `bus_alloc_resource_any' > /usr/src/sys/dev/twe/twe_freebsd.c:220: warning: assignment makes pointer from > integer without a cast > /usr/src/sys/dev/twe/twe_freebsd.c:251: warning: redundant redeclaration of > `bus_alloc_resource_any' in same scope > /usr/src/sys/dev/twe/twe_freebsd.c:219: warning: previous declaration of > `bus_alloc_resource_any' > /usr/src/sys/dev/twe/twe_freebsd.c:252: warning: assignment makes pointer from > 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 > function `disk_alloc' > /usr/src/sys/dev/twe/twe_freebsd.c:813: warning: assignment makes pointer from > integer without a cast > /usr/src/sys/dev/twe/twe_freebsd.c:825: error: `DISKFLAG_NEEDSGIANT' > undeclared (first use in this function) > /usr/src/sys/dev/twe/twe_freebsd.c:825: error: (Each undeclared identifier is > reported only once > /usr/src/sys/dev/twe/twe_freebsd.c:825: error: for each function it appears > in.) > /usr/src/sys/dev/twe/twe_freebsd.c:827: error: `DISK_VERSION' undeclared > (first use in this function) > /usr/src/sys/dev/twe/twe_freebsd.c:827: warning: passing arg 1 of > `disk_create' makes integer from pointer without a cast > /usr/src/sys/dev/twe/twe_freebsd.c:827: error: too few arguments to function > `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. > -=- > > If there is something I can hack in to twe_freebsd.c to get it to compile > under 5.2.1, I am all ears. > > -Peter > -- > Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow" >