From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 30 14:38:46 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 123E816A4CE for ; Wed, 30 Mar 2005 14:38:46 +0000 (GMT) Received: from smtp-gw-cl-c.dmv.com (smtp-gw-cl-c.dmv.com [216.240.97.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A88943D45 for ; Wed, 30 Mar 2005 14:38:45 +0000 (GMT) (envelope-from sven@dmv.com) Received: from lanshark.dmv.com (lanshark.dmv.com [216.240.97.46]) j2UEwgEo026486; Wed, 30 Mar 2005 09:58:42 -0500 (EST) (envelope-from sven@dmv.com) From: Sven Willenberger To: Sten Spans In-Reply-To: References: <1112130900.3883.5.camel@lanshark.dmv.com> Content-Type: text/plain Date: Wed, 30 Mar 2005 09:38:57 -0500 Message-Id: <1112193537.4895.18.camel@lanshark.dmv.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 cc: freebsd-amd64@freebsd.org Subject: Re: amr monitor for megaraid on amd64 platform X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 14:38:46 -0000 On Wed, 2005-03-30 at 02:46 +0200, Sten Spans wrote: > On Tue, 29 Mar 2005, Sven Willenberger wrote: > > > Having perused the forums/google/etc I have found some references to > > megaraid (amr) monitoring software for FreeBSD that included a) a linux > > version from LSI that won't work because linux compat does not work for > > ioctl and b) a freebsd megacontrol utiltiy that won't work because it > > requires compat4x (or at least libc.so.4) and compat4x does not install > > on amd64 platform. > > > > So has anyone come up with some type of monitoring or basic status type > > software for the amr driver? I imagine drive failure(s) would show up > > in /var/log/messages but I would prefer to be able to write some type of > > shellscript that would check the status of the individual drives in the > > raid array. > > source for an amr monitoring tool (amrstat) was posted > on -current about a week ago. I have it online somewhere if you > can't find it. > Thanks!! Found the source (it seems the thread was "Panic with amr and 5.4-PRERELEASE" http://lists.freebsd.org/pipermail/freebsd-current/2005-March/047479.html ) and a couple of added #include 's and some braces later was able to compile and run it. Seems to provide the basic functionality that I need. Thanks again, Sven