From owner-freebsd-scsi Fri Jan 24 14: 4:50 2003 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6E1A37B401 for ; Fri, 24 Jan 2003 14:04:47 -0800 (PST) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5718243EB2 for ; Fri, 24 Jan 2003 14:04:47 -0800 (PST) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6+Sun/8.11.6) with ESMTP id h0OM4fi00574; Fri, 24 Jan 2003 14:04:41 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id OAA28732; Fri, 24 Jan 2003 14:04:40 -0800 (PST) Received: from btc.adaptec.com ([10.100.0.141]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id PAA23106; Fri, 24 Jan 2003 15:04:32 -0700 (MST) Message-ID: <3E31B860.8050403@btc.adaptec.com> Date: Fri, 24 Jan 2003 15:04:16 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josh Brooks Cc: freebsd-scsi@freebsd.org Subject: Re: compiling afacli use into kernel for PERC References: <20030124135423.L64423-100000@mail.econolodgetulsa.com> In-Reply-To: <20030124135423.L64423-100000@mail.econolodgetulsa.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Josh Brooks wrote: > Thank you Scott, > > I downloaded the package and am attempting to use it. I have a PERC 3/Si > with firmware 2.1-3 build 2951. Here is what happens: > > CLI > controller list > Executing: controller list > > Adapter Name Adapter Type Availability Clustering > ------------ ------------- ------------ ------------ > > Command Error: > > CLI > > > > So ... is there a step I am missing ? > > > Also, the README states that this util is for: > > "Version 2.1 firmware." > > So what will happen if I upgrade my firmware to 2.7-1, which I want to do > ASAP ? The aaccli will work with most firmware revs out there. When you ran the program, did you open the controller with the command 'open aac0'? Also, if you're using this on 4.x, you'll need to make sure that the /dev/aac0 device file exists. If it doesn't, go to /dev, and as root, do './MAKEDEV aac0'. Scott > > thanks. > > On Fri, 24 Jan 2003, Scott Long wrote: > > > >Josh Brooks wrote: > > > > > >>Hello, > >> > >>I am running 4.6-RELEASE, and I have been successfully using my PERC > 3/si > >>for many months. > >> > >>I just decided that I want to use afacli to check the status of the > >>server. So, I added this to my kernel config: > >> > >>options AAC_COMPAT_LINUX > >> > >>make depend worked fine, but then I did the make and got: > >> > >>linking kernel > >>aac.o(.data+0x39c): undefined reference to > `linux_ioctl_register_handler' > >>aac.o(.data+0x3ac): undefined reference to > >>`linux_ioctl_unregister_handler' > >>*** Error code 1 > >> > >>What am I doing wrong ? > >> > >>thanks. > >> > >> > >>To Unsubscribe: send mail to majordomo@FreeBSD.org > >>with "unsubscribe freebsd-scsi" in the body of the message > > > > > >You also need to add the line > > > >options LINUX_COMPAT > > > >to your kernel config. > > > >Alternatively, you can use the FreeBSD-native version that is available > >from Adaptec. It's designed to work on Dell, HP, and Adaptec flavors > >of cards, and can be found by searching for software downloads that > >are available from the '5400S' card. It'll be under the name 'aaccli' > > > >Scott > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message