> >>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: [EMAIL PROTECTED]:/root/Adaptec/SMBE#dmesg -a | grep aac aac0: <Adaptec SCSI RAID 2120S> mem 0xf0000000-0xf3ffffff irq 5 at device 5.0 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: [EMAIL PROTECTED]:/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: [EMAIL PROTECTED]:/root/Adaptec/SMBE#cd /dev; sh MAKEDEV aac0 copied aaccli from Adaptec CD-ROM supplied with the card: [EMAIL PROTECTED]:/root/Adaptec/SMBE#file bin/aaccli bin/aaccli: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/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=Invalid argument.> CLI > dmesg says: [EMAIL PROTECTED]:/root/Adaptec/SMBE#dmesg -a | grep aac aac0: <Adaptec SCSI RAID 2120S> mem 0xf0000000-0xf3ffffff irq 5 at device 5.0 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] > > 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: [EMAIL PROTECTED]:/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 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NS1 i386 [EMAIL PROTECTED]:/root/Adaptec/SMBE#grep -i aac /sys/i386/conf/LINT device aac device aacp # SCSI Passthrough interface (optional, CAM required) > > Scott > Regards, Buki -- PGP public key: http://dev.null.cz/buki.asc /"\ \ / ASCII Ribbon Campaign X Against HTML & Outlook Mail / \ http://www.thebackrow.net
pgp00000.pgp
Description: PGP signature
