From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 05:05:15 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 8877B16A4B3 for ; Thu, 2 Oct 2003 05:05:15 -0700 (PDT) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1237F43F75 for ; Thu, 2 Oct 2003 05:05:13 -0700 (PDT) (envelope-from buki@dak2060.sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service.sh.cvut.cz (Postfix) with ESMTP id 967D11B8076; Thu, 2 Oct 2003 14:05:11 +0200 (CEST) Received: from service.sh.cvut.cz ([127.0.0.1]) by localhost (service [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04997-06; Thu, 2 Oct 2003 14:05:11 +0200 (CEST) Received: from dak2060.sh.cvut.cz (dak2060.sh.cvut.cz [147.32.127.59]) by service.sh.cvut.cz (Postfix) with ESMTP id 70F331B840A; Thu, 2 Oct 2003 14:05:04 +0200 (CEST) Received: from dak2060.sh.cvut.cz (localhost [127.0.0.1]) by dak2060.sh.cvut.cz (8.12.9p1/8.12.9) with ESMTP id h92C54jR026625; Thu, 2 Oct 2003 14:05:04 +0200 (CEST) (envelope-from buki@dak2060.sh.cvut.cz) Received: (from buki@localhost) by dak2060.sh.cvut.cz (8.12.9p1/8.12.9/Submit) id h92C53Fs026624; Thu, 2 Oct 2003 14:05:03 +0200 (CEST) Date: Thu, 2 Oct 2003 14:05:03 +0200 From: Buki To: rysanek@fccps.cz Message-ID: <20031002120503.GB25782@dak2060.sh.cvut.cz> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at sh.cvut.cz cc: Scott Long cc: 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 12:05:15 -0000 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 02, 2003 at 01:11:30PM +0200, rysanek@fccps.cz wrote: > Dear Mr. Long, >=20 > I'm not able to make the Linux aaccli work under any recent FreeBSD. > I've obtained a report from Buki that it worked for him under some STABLE > snapshot but it doesn't work for me... >=20 I only want to stress out that it works in unpredictable ways, for example: buki@ta-s:/usr/src#uname -a FreeBSD ta-s.tld.cz 4.8-RELEASE-p5 FreeBSD 4.8-RELEASE-p5 #1: Tue Sep 16 23= :53:28 CEST 2003 buki@ta-s.tld.cz:/usr/obj/usr/src/sys/CONFIG i386 buki@ta-s:/usr/src#grep -i aac /sys/i386/conf/CONFIG = device aac # Adaptec FSA RAID, Dell PERC2/PERC3 #device aacp # SCSI passthrough for aac (requires CAM) options AAC_COMPAT_LINUX buki@ta-s:/usr/src#ll /dev/aac* crw------- 1 root wheel 150, 0 Aug 28 16:21 /dev/aac0 crw-r----- 1 root wheel 151, 0x00010002 Jan 1 2002 /dev/aacd0 crw-r----- 2 root operator 151, 0x00020002 Jan 1 2002 /dev/aacd0s1 crw-r----- 2 root operator 151, 0x00020000 Jan 1 2002 /dev/aacd0s1a crw-r----- 2 root operator 151, 0x00020001 Jan 1 2002 /dev/aacd0s1b crw-r----- 2 root operator 151, 0x00020002 Jan 1 2002 /dev/aacd0s1c crw-r----- 2 root operator 151, 0x00020003 Jan 1 2002 /dev/aacd0s1d crw-r----- 2 root operator 151, 0x00020004 Jan 1 2002 /dev/aacd0s1e crw-r----- 2 root operator 151, 0x00020005 Jan 1 2002 /dev/aacd0s1f crw-r----- 2 root operator 151, 0x00020006 Jan 1 2002 /dev/aacd0s1g crw-r----- 2 root operator 151, 0x00020007 Jan 1 2002 /dev/aacd0s1h crw-r----- 1 root wheel 151, 0x00030002 Jan 1 2002 /dev/aacd0s2 crw-r----- 1 root wheel 151, 0x00040002 Jan 1 2002 /dev/aacd0s3 crw-r----- 1 root wheel 151, 0x00050002 Jan 1 2002 /dev/aacd0s4 crw-r----- 1 root wheel 151, 0x00060002 Jan 1 2002 /dev/aacd0s5 buki@ta-s:/usr/src#dmesg -a | grep aac aac0: mem 0xf0000000-0xf3ffffff irq 5 at device 4= =2E0 on pci3 aac0: i960RX 100MHz, 48MB cache memory, optional battery present aac0: Kernel 4.0-0, Build 6003, S/N b75dba aacd0: on aac0 aacd0: 34998MB (71677440 sectors) Adaptec SCSI RAID Controller Command Line Interface Copyright 1998-2002 Adaptec, Inc. All rights reserved ---------------------------------------------------------------------------= ---------------------------------------------- CLI > open aac0 Executing: open "aac0" AAC0> container list Executing: container list Num Total Oth Stripe Scsi Partition Label Type Size Ctr Size Usage C:ID:L Offset:Size ----- ------ ------ --- ------ ------- ------ ------------- 0 Mirror 34.1GB Open 0:02:0 64.0KB:34.1GB /dev/aacd0 RAID 0:01:0 64.0KB:34.1GB AAC0> exit Executing: exit whereas on other computer (same HW configuration): buki@ta-p:/home/buki#uname -a FreeBSD ta-p.tld.cz 4.8-RELEASE-p1 FreeBSD 4.8-RELEASE-p1 #3: Wed Aug 6 12= :14:56 CEST 2003 adam@ta-p.tld.cz:/usr/src/sys/compile/CONFIG i386 buki@ta-p:/home/buki#grep -i aac /sys/i386/conf/CONFIG device aac # Adaptec FSA RAID, Dell PERC2/PERC3 device aacp # SCSI passthrough for aac (requires CAM) options AAC_COMPAT_LINUX buki@ta-p:/home/buki#ll /dev/aac* crw------- 1 root wheel 150, 0 Jul 21 17:44 /dev/aac0 crw-r----- 1 root wheel 151, 0x00010002 May 6 20:22 /dev/aacd0 crw-r----- 2 root operator 151, 0x00020002 May 6 20:29 /dev/aacd0s1 crw-r----- 2 root operator 151, 0x00020000 May 6 20:29 /dev/aacd0s1a crw-r----- 2 root operator 151, 0x00020001 May 6 20:29 /dev/aacd0s1b crw-r----- 2 root operator 151, 0x00020002 May 6 20:29 /dev/aacd0s1c crw-r----- 2 root operator 151, 0x00020003 May 6 20:29 /dev/aacd0s1d crw-r----- 2 root operator 151, 0x00020004 May 6 20:29 /dev/aacd0s1e crw-r----- 2 root operator 151, 0x00020005 May 6 20:29 /dev/aacd0s1f crw-r----- 2 root operator 151, 0x00020006 May 6 20:29 /dev/aacd0s1g crw-r----- 2 root operator 151, 0x00020007 May 6 20:29 /dev/aacd0s1h buki@ta-p:/home/buki#dmesg -a | grep aac aac0: mem 0xf0000000-0xf3ffffff irq 5 at device 4= =2E0 on pci3 aac0: i960RX 100MHz, 48MB cache memory, optional battery present aac0: Kernel 4.0-0, Build 5770, S/N b76e87 aacp0: on aac0 aacd0: on aac0 aacd0: 34998MB (71677440 sectors) and I also see some strange messages: aac0: VM_Ioctl returned 5 aac0: VM_Ioctl returned 5 aac0: VM_Ioctl returned 5 aac0: VM_Ioctl returned 5 when I run aaccli, I get: Adaptec SCSI RAID Controller Command Line Interface Copyright 1998-2002 Adaptec, Inc. All rights reserved ---------------------------------------------------------------------------= ---------------------------------------------- CLI > open aac0 Executing: open "aac0" ^^^^^^^^ at this moment the whole shell freezes (the machine itself stays responsive= ), cannot be killed and in log the following lines begin to appear in /var/log/messag= es (and on console): buki@ta-p:/home/buki#tail /var/log/messages | grep aac Oct 2 13:50:15 ta-p /kernel: aac0: COMMAND 0xc30089a4 TIMEOUT AFTER 157 SE= CONDS Oct 2 13:50:35 ta-p /kernel: aac0: COMMAND 0xc30089a4 TIMEOUT AFTER 177 SE= CONDS Oct 2 13:50:55 ta-p /kernel: aac0: COMMAND 0xc30089a4 TIMEOUT AFTER 197 SE= CONDS Oct 2 13:51:15 ta-p /kernel: aac0: COMMAND 0xc30089a4 TIMEOUT AFTER 217 SE= CONDS it would seem the only difference between those two kernels is existence of= the 'aacp' device in latter case. BTW, why does dmesg say the controller has the optional battery when it doe= s not? [snip] Buki --=20 PGP public key: http://dev.null.cz/buki.asc /"\ \ / ASCII Ribbon Campaign X Against HTML & Outlook Mail / \ http://www.thebackrow.net --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/fBRvPzhIkpLLm08RAsJZAJ0Qb0Kssg5QQsdJa0png6lK6SHX7QCggO12 YYhbIMRztXi/xslcOAa7cO0= =3wLt -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9--