From owner-freebsd-questions@FreeBSD.ORG Thu Jul 24 08:44:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11D0137B401 for ; Thu, 24 Jul 2003 08:44:08 -0700 (PDT) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A3D43F85 for ; Thu, 24 Jul 2003 08:44:06 -0700 (PDT) (envelope-from buki@dak2060.sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service.sh.cvut.cz (Postfix) with ESMTP id 0297C1B847E; Thu, 24 Jul 2003 17:44:06 +0200 (CEST) Received: from service.sh.cvut.cz ([127.0.0.1]) by localhost (service [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13353-09; Thu, 24 Jul 2003 17:44:05 +0200 (CEST) Received: from dak2060.sh.cvut.cz (dak2060.sh.cvut.cz [147.32.127.59]) by service.sh.cvut.cz (Postfix) with ESMTP id 67AD81B847B; Thu, 24 Jul 2003 17:44:05 +0200 (CEST) Received: from dak2060.sh.cvut.cz (localhost [127.0.0.1]) by dak2060.sh.cvut.cz (8.12.9/8.12.9) with ESMTP id h6OFi5sL081640; Thu, 24 Jul 2003 17:44:05 +0200 (CEST) (envelope-from buki@dak2060.sh.cvut.cz) Received: (from buki@localhost) by dak2060.sh.cvut.cz (8.12.9/8.12.9/Submit) id h6OFi4HB081639; Thu, 24 Jul 2003 17:44:04 +0200 (CEST) Date: Thu, 24 Jul 2003 17:44:04 +0200 From: Buki To: Scott Long Message-ID: <20030724154404.GE79884@dak2060.sh.cvut.cz> References: <20030708181816.GA80307@dak2060.sh.cvut.cz> <3F0B15F6.9040501@btc.adaptec.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pQhZXvAqiZgbeUkD" Content-Disposition: inline In-Reply-To: <3F0B15F6.9040501@btc.adaptec.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at sh.cvut.cz cc: questions@freebsd.org Subject: Re: Adaptec 2120S management (raidutil) ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 15:44:08 -0000 --pQhZXvAqiZgbeUkD Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >>The old 'Storage Manager' and 'raidutil' tools do not work with > >>the newer generation of Adaptec RAID cards. The newer genreation > >>use 'Storage Manager Browser Edition' for the GUI and 'aaccli' for > >>the CLI. I ported the aaccli program to FreeBSD a few years ago, > >>but it has fallen out of date and I don't recommend using it with > >>the 2120/2200 cards. You can, however, extract the Linux version > >>of 'aaccli' from the CD that comes with the card and run it under > >>FreeBSD. You'll need the normal linux compatibility tools, and > >>you'll need to either compile your kernel with AAC_COMPAT_LINUX > >>or load the 'aac_linux.ko' kernel module. Having this card: buki@ns1:/root/Adaptec/SMBE#dmesg -a | grep aac aac0: mem 0xf0000000-0xf3ffffff irq 5 at device 5= =2E0 on pci3 aac0: i960RX 100MHz, 48MB cache memory, optional battery present aac0: Kernel 4.0-0, Build 5770, S/N b7743b aacd0: on aac0 aacd0: 34998MB (71677440 sectors) I managed to compile kernel with AAC_COMPAT_LINUX: buki@ns1:/root/Adaptec/SMBE#grep -i aac /sys/i386/conf/NS1 device aac # Adaptec FSA RAID, Dell PERC2/PERC3 #device aacp # SCSI passthrough for aac (requires CAM) options AAC_COMPAT_LINUX created /dev/aac0: buki@ns1:/root/Adaptec/SMBE#cd /dev; sh MAKEDEV aac0 copied aaccli from Adaptec CD-ROM supplied with the card: buki@ns1:/root/Adaptec/SMBE#file bin/aaccli bin/aaccli: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for G= NU/Linux 2.2.5, dynamically linked (uses shared libs), stripped but I still get wrong answer: ---------------------------------------------------------------------------= --------------------------------------------- Adaptec SCSI RAID Controller Command Line Interface Copyright 1998-2002 Adaptec, Inc. All rights reserved ---------------------------------------------------------------------------= --------------------------------------------- CLI > controller list Executing: controller list Adapter Name Adapter Type Availability Clustering ------------ ------------- ------------ ------------ Command Error: CLI > dmesg says: buki@ns1:/root/Adaptec/SMBE#dmesg -a | grep aac aac0: mem 0xf0000000-0xf3ffffff irq 5 at device 5= =2E0 on pci3 aac0: i960RX 100MHz, 48MB cache memory, optional battery present aac0: Kernel 4.0-0, Build 5770, S/N b7743b aacd0: on aac0 aacd0: 34998MB (71677440 sectors) Do you know where the problem may be? > > [snip] >=20 > I apologize, the aac_linux.ko thing only exists in 5.x. However, the > AAC_COMPAT_LINUX kernel option _does_ exist in all versions of FreeBSD > after 4.1. I wrote the driver. I believe you, although the option is not mentioned in LINT: buki@ns1:/root/Adaptec/SMBE#uname -a FreeBSD ns1.xxx.cz 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Jul 23 23:09:42 = GMT 2003 buki@ns1.xxx.cz:/usr/obj/usr/src/sys/NS1 i386 buki@ns1:/root/Adaptec/SMBE#grep -i aac /sys/i386/conf/LINT device aac device aacp # SCSI Passthrough interface (optional, CAM require= d) >=20 > Scott >=20 Regards, Buki --=20 PGP public key: http://dev.null.cz/buki.asc /"\ \ / ASCII Ribbon Campaign X Against HTML & Outlook Mail / \ http://www.thebackrow.net --pQhZXvAqiZgbeUkD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/H/7EPzhIkpLLm08RAtHBAJ93K7va/I9xF5WfTcCj9IhrygxRnQCfcuue QX3+2KRyWaLJuq69QhbucF8= =q6aM -----END PGP SIGNATURE----- --pQhZXvAqiZgbeUkD--