From owner-freebsd-stable@FreeBSD.ORG Tue Mar 24 19:27:44 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C15F106564A for ; Tue, 24 Mar 2009 19:27:44 +0000 (UTC) (envelope-from karl@denninger.net) Received: from FS.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5588FC12 for ; Tue, 24 Mar 2009 19:27:43 +0000 (UTC) (envelope-from karl@denninger.net) Received: from [127.0.0.1] (localhost [127.0.0.1]) by FS.denninger.net (8.14.3/8.13.1) with SMTP id n2OJ4rVO077642 for ; Tue, 24 Mar 2009 13:04:53 -0600 (CST) (envelope-from karl@denninger.net) Received: from [127.0.0.1] [192.168.1.40] by Spamblock-sys (LOCAL); Tue Mar 24 13:04:53 2009 Message-ID: <49C92ED2.3080809@denninger.net> Date: Tue, 24 Mar 2009 14:04:50 -0500 From: Karl Denninger User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Charles Sprickman References: <91FBB56E-9B1F-469D-A83E-03396AA850FC@pean.org> <61AAA3A1-B794-4CF5-8F16-F30DB42940D9@verweg.com> <754A2F8B-21E7-493A-BD31-EA5691082D1E@bway.net> In-Reply-To: <754A2F8B-21E7-493A-BD31-EA5691082D1E@bway.net> Content-Type: multipart/mixed; boundary="------------070604020003070909020801" X-Antivirus: avast! (VPS 090323-0, 03/23/2009), Outbound message X-Antivirus-Status: Clean X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@freebsd.org, =?ISO-8859-1?Q?Peter_Ankerst=E5l?= Subject: Re: LSI Logic raid status X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 19:27:44 -0000 This is a multi-part message in MIME format. --------------070604020003070909020801 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Charles Sprickman wrote: >>> >>> There is sysutils/linux-megacli >>> >> Sorry about that. This is not megaraid its the mpt driver. >> LSI SAS3041E-R PCI-e >> >> mpt0: port 0x2000-0x20ff mem >> 0xd0210000-0xd0213fff,0xd0200000-0xd020ffff irq 16 at device 0.0 on pci3 >> mpt0: [ITHREAD] >> mpt0: MPI Version=1.5.19.0 >> mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) >> mpt0: 1 Active Volume (2 Max) >> mpt0: 2 Hidden Drive Members (14 Max) > > While I haven't found a way to actually configure the thing in > FreeBSD, the mpt > driver does make some information available via sysctl: > > [spork@uniweb ~]$ sysctl -a|grep dev.mpt > dev.mpt.0.%desc: LSILogic SAS/SATA Adapter > dev.mpt.0.%driver: mpt > dev.mpt.0.%location: slot=8 function=0 > dev.mpt.0.%pnpinfo: vendor=0x1000 device=0x0054 subvendor=0x1028 > subdevice=0x1f09 class=0x010000 > dev.mpt.0.%parent: pci2 > dev.mpt.0.debug: 3 > dev.mpt.0.role: 1 > dev.mpt.0.vol_member_wce: NC > dev.mpt.0.vol_queue_depth: 128 > dev.mpt.0.vol_resync_rate: 0 > dev.mpt.0.nonoptimal_volumes: 0 > > Don't test whether the "nonoptimal_volumes" parameter works, it does - > but if you pull a drive, FreeBSD likes to panic both on the loss of a > disk > and then again when the drive is reconnected and the rebuild completes. > This is apparently some problem in the CAM layer, not the mpt driver, but > it's something to be aware of. Scott Long has noted that this is being > worked on in 8.x. > > Charles The Linux megacli program does run. You have to mount the Linux device filesystem (so it can "see" the control nodes) but it is fully functional and gives you command-line interactivity to the board. You can absolutely configure and interact with it from FreeBSD. The program is annoying as heck as by default it writes a logfile on EVERY INVOCATION, but it does the job and allows you to configure and maintain the board, which is kinda important as if it detects an error (e.g. failed unit) it will start beeping - the board has an audible alarm on it. I have one of these boards - its quite nice and VERY fast - if someone wants it I would be willing to sell it (I've got the battery-backed RAM option on it too, which makes it MUCH faster; that's a usually-rather-expensive option) -- -- Karl Denninger karl@denninger.net --------------070604020003070909020801--