aaccli problems

Scott Long scottl at freebsd.org
Mon Oct 18 18:24:24 PDT 2004


Glenn Dawson wrote:
> 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

When you try to load aac_linux.ko, does anything get printed on the console?

Scott


More information about the freebsd-scsi mailing list