From owner-svn-src-head@FreeBSD.ORG Fri Aug 14 10:20:34 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E3BC1065692; Fri, 14 Aug 2009 10:20:34 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id C961B8FC57; Fri, 14 Aug 2009 10:20:33 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id B383F41C6FC; Fri, 14 Aug 2009 12:05:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id J9m6UkKWDJXU; Fri, 14 Aug 2009 12:05:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id B31B941C6F2; Fri, 14 Aug 2009 12:05:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 24E024448EC; Fri, 14 Aug 2009 10:02:15 +0000 (UTC) Date: Fri, 14 Aug 2009 10:02:15 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Scott Long In-Reply-To: <200908132318.n7DNIjvO015601@svn.freebsd.org> Message-ID: <20090814095726.A93661@maildrop.int.zabbadoz.net> References: <200908132318.n7DNIjvO015601@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r196200 - in head: etc/mtree include sys/dev/mfi usr.sbin usr.sbin/mfiutil X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 10:20:34 -0000 On Thu, 13 Aug 2009, Scott Long wrote: > Author: scottl > Date: Thu Aug 13 23:18:45 2009 > New Revision: 196200 > URL: http://svn.freebsd.org/changeset/base/196200 > > Log: > ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6 > controllers. Controller, array, and drive status can be checked, basic > attributes can be changed, and arrays and spares can be created and deleted. > Controller firmware can also be flashed. > > This does not replace MegaCLI, found in ports, as that is officially sanctioned > and supported by LSI and includes vastly more functionality. However, mfiutil > is open source and guaranteed to provide basic functionality, which can be > especially useful if you have a problem and can't get MegaCLI to work. > > Approved by: re > Obtained from: Yahoo! Inc. as you noticed already it breaks here on 32bit platforms: /src/usr.sbin/mfiutil/mfi_drive.c: In function 'mfi_lookup_drive': /src/usr.sbin/mfiutil/mfi_drive.c:120: warning: comparison between signed and unsigned struct mfi_pd_list { uint32_t size; uint32_t count; struct mfi_pd_address addr[0]; } __packed; long val; struct mfi_pd_list *list 120 for (val = 0; val < list->count; val++) { long vs uint32_t. -- Bjoern A. Zeeb What was I talking about and who are you again?