Adaptec 2120S management (raidutil) ?
Buki
dev at null.cz
Thu Jul 24 08:44:08 PDT 2003
> >>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 at ns1:/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:
buki at 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 at ns1:/root/Adaptec/SMBE#cd /dev; sh MAKEDEV aac0
copied aaccli from Adaptec CD-ROM supplied with the card:
buki at ns1:/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:
buki at ns1:/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:
buki at 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 at ns1.xxx.cz:/usr/obj/usr/src/sys/NS1 i386
buki at ns1:/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030724/3c11fd66/attachment.bin
More information about the freebsd-questions
mailing list