From owner-freebsd-scsi@FreeBSD.ORG Thu Dec 23 16:42:42 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BB0E106564A for ; Thu, 23 Dec 2010 16:42:42 +0000 (UTC) (envelope-from aboyer@averesystems.com) Received: from zimbra.averesystems.com (75-149-8-245-Pennsylvania.hfc.comcastbusiness.net [75.149.8.245]) by mx1.freebsd.org (Postfix) with ESMTP id 467E18FC12 for ; Thu, 23 Dec 2010 16:42:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id 100BE8BC021 for ; Thu, 23 Dec 2010 11:40:23 -0500 (EST) X-Virus-Scanned: amavisd-new at averesystems.com Received: from zimbra.averesystems.com ([127.0.0.1]) by localhost (zimbra.averesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id roEtZPCdr-8n for ; Thu, 23 Dec 2010 11:40:21 -0500 (EST) Received: from [192.168.1.103] (c-174-54-254-163.hsd1.pa.comcast.net [174.54.254.163]) by zimbra.averesystems.com (Postfix) with ESMTPSA id 9613F8BC020 for ; Thu, 23 Dec 2010 11:40:21 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) From: Andrew Boyer In-Reply-To: Date: Thu, 23 Dec 2010 11:42:40 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <6228A166-2808-42BC-9B3A-0EF6747DA5D5@averesystems.com> References: To: freebsd-scsi@freebsd.org X-Mailer: Apple Mail (2.1082) Subject: Re: Another mfi unexpected sense / SMART question X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2010 16:42:42 -0000 Any advice? -Andrew On Dec 16, 2010, at 11:56 AM, Andrew Boyer wrote: > Hello SCSI people, >=20 > I'm seeing an issue with SMART queries on SATA devices connected to = MegaRAID SAS9261-8i controllers. >=20 > OS: > FreeBSD 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #12: Wed Dec 15 = 01:16:54 EST 2010 amd64 > Driver: > dev.mfi.0.%pnpinfo: vendor=3D0x1000 device=3D0x0079 = subvendor=3D0x15d9 subdevice=3D0x0700 class=3D0x010400 > dev.mfi.0.firmware: 12.11.0-0016 > Disks: > Intel X25-E, ATA SSDSA2SH064G1GC 8860 > Seagate Barracuda.2 ES, ATA ST3250310NS SN06 >=20 > Smartctl is correctly detecting that the device is a SAT-connected ATA = device, and can complete all of the other commands it tries (IDENTIFY = DEVICE, SMART READ ATTRIBUTE VALUES, etc). The SMART STATUS CHECK fails = every time, though, in exactly the same way. I've reproduced it on = multiple disks connected to multiple controllers. It happens with = smartctl 5.39.1 and 5.40. >=20 > This is the command that fails: >> REPORT-IOCTL: Device=3D/dev/pass14 Command=3DSMART STATUS CHECK >> Input: FR=3D0xda, SC=3D...., LL=3D...., LM=3D0x4f, LH=3D0xc2, = DEV=3D...., CMD=3D0xb0 >> [ata pass-through(16): 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 = 00 ] status=3D0 >> Incoming data, len=3D0: >> Error SMART Status command failed >> Please get assistance from http://smartmontools.sourceforge.net/ >> REPORT-IOCTL: Device=3D/dev/pass14 Command=3DSMART STATUS CHECK = returned -1 >=20 > This appears in the log: >> Dec 15 17:55:11 system13 kernel: mfi0: 3255 (345750911s/0x0002/info) = -=20 >> Unexpected sense: PD 07(e0xfc/s2) Path 4433221102000000,=20 >> CDB: 00 00 00 00 00 00, Sense: 0/00/00 >=20 >=20 > The CDB is empty - very odd. Any pointers on how I can begin to debug = this? Is it a driver or firmware issue? >=20 > I don't think it's a smartctl issue because the same command works = fine on mpt-connected SATA devices. >=20 > Thanks, > Andrew >=20 > P.S. Pulling in SVN 216235 didn't seem to make a difference. >=20 > -------------------------------------------------- > Andrew Boyer aboyer@averesystems.com >=20 -------------------------------------------------- Andrew Boyer aboyer@averesystems.com