Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 18:10:34 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        Scott Long <scottl@freebsd.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: aaccli problems
Message-ID:  <6.1.0.6.2.20041018180042.028ae0d0@cobalt.antimatter.net>
In-Reply-To: <416B4F54.5090208@freebsd.org>
References:  <6.1.0.6.2.20041011191800.0ec20eb0@cobalt.antimatter.net> <416B4F54.5090208@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 08:28 PM 10/11/2004, Scott Long wrote:
>Glenn Dawson wrote:
>>I have a number of systems with adaptec RAID controllers.  I have the 
>>aaccli port installed in order to manage things.
>>Recently I've had to increase KVA_PAGES in the kernel on some of the 
>>machines.  This appears to break aaccli.  The error I get when trying to 
>>use aaccli is this:
>>CLI > open aac0
>>Executing: open "aac0"
>>Command Error: <failed to wait for sema>
>>CLI >
>>Can anyone shed some light on the problem?
>>-Glenn
>
>This is a known problem and unfortunately will not be fixed until
>Adaptec decides to release a new version for FreeBSD.  I would recommend
>running the Linux version of aaccli under emulation.  You'll need to
>make sure that either the aac_linux.ko driver is loaded or the kernel
>is compiled with AAC_COMPAT_LINUX.
>
>Scott

I managed to get the linux version of aaccli working on 4.8.  I have a new 
install of 4.10 and I can't seem to make it work.  I've installed 
linux_base from ports and the linux version of aaccli.  When I try to use 
aaccli I get this:

CLI > open aac0
Executing: open "aac0"
Command Error: <The requested controller does not exist.>

CLI >

If I try to manually load aac_linux.ko I get:

# kldload aac_linux
kldload: can't load aac_linux: Exec format error

after, kldstat shows:

# kldstat
Id Refs Address    Size     Name
  1    2 0x40100000 2d5484   kernel
  3    1 0x47bdc000 a000     aac.ko

Does anyone have any hints for me? (I'll supply dmesg, kernel config, etc 
in private if needed)

-Glenn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20041018180042.028ae0d0>