From owner-freebsd-hardware@FreeBSD.ORG Fri Feb 12 15:59:57 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA7B11065670 for ; Fri, 12 Feb 2010 15:59:57 +0000 (UTC) (envelope-from cowens@greatbaysoftware.com) Received: from portcityhosting.com (bayringfw.portcityweb.com [64.140.243.92]) by mx1.freebsd.org (Postfix) with ESMTP id 75F558FC18 for ; Fri, 12 Feb 2010 15:59:57 +0000 (UTC) Received: from [127.0.0.1] ([173.14.128.81]) by portcityhosting.com with MailEnable ESMTP; Fri, 12 Feb 2010 10:59:59 -0500 Message-ID: <4B757C07.7070302@greatbaysoftware.com> Date: Fri, 12 Feb 2010 11:04:23 -0500 From: Charles Owens MIME-Version: 1.0 To: Ivan Voras References: <4B7484D8.2080406@greatbaysoftware.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-WatchGuard-AntiVirus: part scanned. clean action=allow X-ME-Bayesian: 0.000000 Cc: freebsd-hardware@freebsd.org Subject: Re: mptutil(8) causes VMware VM to crash hard X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 15:59:57 -0000 Ivan Voras wrote: > On 02/11/10 23:29, Charles Owens wrote: >> Hello, >> >> We've been doing some work with mpt(4) and mptutil(8). We noticed that >> in VMware (both Workstation and ESX) the SCSI controller is showing up >> as mpt0... so it seemed only natural to probe it with mptutil. For > > Which is probably useless as you can't exactly diagnose a virtual drive :) Well, not quite useless: consider the possibility of a customized CD with install script that can be run on a number of platforms. As the installer runs it notes the presence of /dev/mpt0 and then uses "mptutil show adapter" and other commands to determine type of controller, state of volumes (if appropriate), etc. A perfectly reasonable use-case, in my opinion. But, in general, VMware is an important enough platform that I suggest that mptutil should made to play nice.