Date: Thu, 24 Jul 2003 17:44:04 +0200 From: Buki <dev@null.cz> To: Scott Long <scott_long@btc.adaptec.com> Cc: questions@freebsd.org Subject: Re: Adaptec 2120S management (raidutil) ? Message-ID: <20030724154404.GE79884@dak2060.sh.cvut.cz> In-Reply-To: <3F0B15F6.9040501@btc.adaptec.com> References: <20030708181816.GA80307@dak2060.sh.cvut.cz> <3F0B15F6.9040501@btc.adaptec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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: <Adaptec SCSI RAID 2120S> 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: <RAID 1 (Mirror)> 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: <The driver could not execute the requested IOCTL SENDFIB, = 22=3DInvalid argument.> CLI > dmesg says: buki@ns1:/root/Adaptec/SMBE#dmesg -a | grep aac aac0: <Adaptec SCSI RAID 2120S> 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: <RAID 1 (Mirror)> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030724154404.GE79884>