From owner-freebsd-scsi@FreeBSD.ORG Tue Oct 19 01:10:45 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1E7016A4D1; Tue, 19 Oct 2004 01:10:45 +0000 (GMT) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 677C043D46; Tue, 19 Oct 2004 01:10:40 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (66-27-95-123.san.rr.com [66.27.95.123]) (authenticated bits=0)i9J15hvJ032487 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Mon, 18 Oct 2004 18:05:44 -0700 Message-Id: <6.1.0.6.2.20041018180042.028ae0d0@cobalt.antimatter.net> X-Sender: glenn@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Mon, 18 Oct 2004 18:10:34 -0700 To: Scott Long From: Glenn Dawson In-Reply-To: <416B4F54.5090208@freebsd.org> References: <6.1.0.6.2.20041011191800.0ec20eb0@cobalt.antimatter.net> <416B4F54.5090208@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-scsi@freebsd.org Subject: Re: aaccli problems X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 01:10:45 -0000 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: >>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: 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