From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 09:56:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5873516A4B3 for ; Thu, 2 Oct 2003 09:56:31 -0700 (PDT) Received: from mailhost.ssr.com (ns.ssr.com [199.4.235.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 4A43543FB1 for ; Thu, 2 Oct 2003 09:56:28 -0700 (PDT) (envelope-from sdb@ssr.com) Received: (qmail 42588 invoked by uid 103); 2 Oct 2003 16:56:23 -0000 Date: 2 Oct 2003 16:56:23 -0000 Message-ID: <20031002165623.42587.qmail@ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org Subject: Re: can't get the Linux aaccli to work under 4.8-RELEASE, 4.9-RC1, 5.1-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 16:56:31 -0000 > The aaccli from the CD complains about an incorrect ABI version of the > libncurses.so.5 - it's wrong, the so.5 is really missing, this issue > can be solved by exporting a LD_LIBRARY_PATH pointing to > /cdrom/bootcd/usr/lib in the current shell, or by copying the library from > the CD into /compat/linux/usr/lib. > This might indicate that your linux_base is not completely installed. There seems to be a bug (at least, there is on my computers), where /usr/ports/linux_base coredumps during the install. I also found the package leaves the same core file, but doesn't report an error. The only work around for this that I found is to do the install from single user mode. > > CLI> open aac0 > Command Error: 22=invalid argument.> > linux: 'ioctl' fd=4, cmd=0x2008 (' ',8) not implemented > > The IOCTL code seems to match. Both the FreeBSD and the > Linux aac driver source files define essentially the same codes: > FSACTL_SENDFIB CTL_CODE == 0x00040000 | (2050 << 2) > == 0x00040000 | (0x0802 << 2) > == 0x00042008 > This means you need to include options LINUX_COMPAT in your kernal configuration file. (Thanks to Scott Long who helped me with this a while back.) sdb -- sdb@ssr.com