From owner-freebsd-hardware@FreeBSD.ORG Thu Feb 11 22:25:19 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 3F4581065672 for ; Thu, 11 Feb 2010 22:25:19 +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 C8D498FC16 for ; Thu, 11 Feb 2010 22:25:18 +0000 (UTC) Received: from [127.0.0.1] ([173.14.128.81]) by portcityhosting.com with MailEnable ESMTP; Thu, 11 Feb 2010 17:25:21 -0500 Message-ID: <4B7484D8.2080406@greatbaysoftware.com> Date: Thu, 11 Feb 2010 17:29:44 -0500 From: Charles Owens MIME-Version: 1.0 To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-WatchGuard-AntiVirus: part scanned. clean action=allow X-ME-Bayesian: 0.000000 Subject: 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: Thu, 11 Feb 2010 22:25:19 -0000 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 about 1 second, it looks ok (see below)... but what happened, in fact, is that the VM went down pretty much instantly (nothing on console... no panic, nothing). [root@newercastle ~]# mptutil show adapter mpt0 Adapter: Board Name: 0 Board Assembly: 0 Chip Name: C1030 Chip Revision: 0 Read from remote host 169.254.222.65: Connection reset by peer Connection to 169.254.222.65 closed. A VMware log file has this to say: Feb 11 16:06:50: vcpu-0| LSI: ProcessIOCPageRequest: unsupported page 6 action 0 Feb 11 16:06:50: vcpu-0| NOT_IMPLEMENTED C:/ob/bora-44386/bora/devices/lsilogic/ lsilogic.c:2429 Feb 11 16:06:50: vcpu-0| Backtrace: ... Behavior confirmed in both ESX and Workstation. Any help with this would be appreciated. I'd be glad to test patches or whatever. Also FYI, we're working with IBM hardware (xSeries 3550) with an actual mpt-based RAID setup, and am seeing symptoms similar to that described in this thread http://docs.freebsd.org/cgi/mid.cgi?4B56CD4C.80503 . It actually seemed fine at first (we could create and remove volumes at will, fail drives, etc.) but now most commands except "show adapter" result in segfault. We'll be gathering debug info possibly testing the patch that John Baldwin posted. Preemptive suggestions welcome. All of the above using FreeBSD 8.0-RELEASE-p2. Thank you, Charles -- Charles Owens Great Bay Software, Inc.