From owner-freebsd-scsi@FreeBSD.ORG Tue Oct 19 01:24:23 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 ECEE616A4CE for ; Tue, 19 Oct 2004 01:24:23 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79D4743D31 for ; Tue, 19 Oct 2004 01:24:18 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i9J1OV0o041314; Mon, 18 Oct 2004 19:24:31 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <41746C64.6080203@freebsd.org> Date: Mon, 18 Oct 2004 19:22:44 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Glenn Dawson References: <6.1.0.6.2.20041011191800.0ec20eb0@cobalt.antimatter.net> <416B4F54.5090208@freebsd.org> <6.1.0.6.2.20041018180042.028ae0d0@cobalt.antimatter.net> In-Reply-To: <6.1.0.6.2.20041018180042.028ae0d0@cobalt.antimatter.net> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org 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:24:24 -0000 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: >>> 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 When you try to load aac_linux.ko, does anything get printed on the console? Scott