From owner-freebsd-hardware@FreeBSD.ORG Fri Oct 15 19:45:58 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 70410106564A for ; Fri, 15 Oct 2010 19:45:58 +0000 (UTC) (envelope-from cowens@greatbaysoftware.com) Received: from portcityhosting.com (edge.tidalhosting.net [64.140.243.92]) by mx1.freebsd.org (Postfix) with ESMTP id 28C3B8FC0A for ; Fri, 15 Oct 2010 19:45:57 +0000 (UTC) Received: from jack.bspruce.com ([173.14.128.81]) by portcityhosting.com with MailEnable ESMTP; Fri, 15 Oct 2010 15:05:55 -0400 X-WatchGuard-Mail-Exception: Allow Message-ID: <4CB8A614.6000707@greatbaysoftware.com> Date: Fri, 15 Oct 2010 15:05:56 -0400 From: Charles Owens MIME-Version: 1.0 To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-WatchGuard-AntiVirus: part scanned. clean action=allow X-ME-Bayesian: 0.000000 Subject: mfiutil reports "PSTATE 0x0020" new drive state 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, 15 Oct 2010 19:45:58 -0000 Hello, We have a mfi-based RAID array with a failed drive. When replacing the failed drive with a brand new one 'mfiutil' reports it having status of "PSTATE 0x0020". Attempts to work with the drive to make it a hot spare are unsuccessful (eg. using "good" and/or "add" subcommands of mfiutil). We've tested procedures for replacing failed drives in the past and haven't run into this. Looking at the code for mfiutil it appears that this is happening because the mfi controller is reporting a drive status code that mfiutil doesn't know about. The system is remote and in production, so booting into the LSI in-BIOS RAID-management-tool is not an attractive option. Any help with understanding the situation and potential next steps would be greatly appreciated. More background information follows below. Thanks, Charles Storage configuration: 4-drive RAID 10 array plus one hot spare [root@svr ~]# mfiutil show config mfi0 Configuration: 2 arrays, 1 volumes, 0 spares array 0 of 2 drives: drive 0 ( 149G) ONLINE SATA enclosure 1, slot 0 drive 1 ( 149G) ONLINE SATA enclosure 1, slot 1 array 1 of 2 drives: drive 4 ( 149G) ONLINE SATA enclosure 1, slot 3 drive 3 ( 149G) ONLINE SATA enclosure 1, slot 2 volume mfid0 (296G) RAID-1 256K OPTIMAL spans: array 0 array 1 [root@svr ~]# mfiutil show drives mfi0 Physical Drives: ( 149G) ONLINE SATA enclosure 1, slot 0 ( 149G) ONLINE SATA enclosure 1, slot 1 ( 149G) ONLINE SATA enclosure 1, slot 2 ( 149G) ONLINE SATA enclosure 1, slot 3 ( 149G) PSTATE 0x0020 SATA enclosure 1, slot 4 Partial system boot log: Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-RELEASE-p2 #4: Thu Mar 4 04:21:04 UTC 2010 cowens@newcastle.greatbaysoftware.com:/usr/obj/usr/src/sys/BEACON Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz (2261.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Stepping = 5 Features=0xbfebfbff Features2=0x9ce3bd AMD Features=0x28100000 AMD Features2=0x1 TSC: P-state invariant real memory = 6442450944 (6144 MB) avail memory = 6202064896 (5914 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads ... mfi0: port 0x1000-0x10ff mem 0xb1900000-0xb193ffff,0xb1940000-0xb197ffff irq 16 at device 0.0 on pci6 mfi0: Megaraid SAS driver Ver 3.00 mfi0: [ITHREAD] ... AcpiOsExecute: failed to enqueue task, consider increasing the debug.acpi.max_tasks tunable ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.HEC2.HSCI] (Node 0xccbff740)mfid0: on mfi0 mfid0: 303268MB (621092864 sectors) RAID volume '' is optimal -- Charles Owens Great Bay Software, Inc.