From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 29 12:30:02 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 60A5FC21 for ; Tue, 29 Jan 2013 12:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 439718B4 for ; Tue, 29 Jan 2013 12:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0TCU22m023108 for ; Tue, 29 Jan 2013 12:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0TCU25v023107; Tue, 29 Jan 2013 12:30:02 GMT (envelope-from gnats) Resent-Date: Tue, 29 Jan 2013 12:30:02 GMT Resent-Message-Id: <201301291230.r0TCU25v023107@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Federico Simmross Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1903998D for ; Tue, 29 Jan 2013 12:23:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id F2EE682D for ; Tue, 29 Jan 2013 12:23:12 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0TCNCiV029114 for ; Tue, 29 Jan 2013 12:23:12 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0TCNCVZ029113; Tue, 29 Jan 2013 12:23:12 GMT (envelope-from nobody) Message-Id: <201301291223.r0TCNCVZ029113@red.freebsd.org> Date: Tue, 29 Jan 2013 12:23:12 GMT From: Federico Simmross To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/175670: smartctl fails on SAS disk connected to an Intel C600 controller (isci driver) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 12:30:02 -0000 >Number: 175670 >Category: kern >Synopsis: smartctl fails on SAS disk connected to an Intel C600 controller (isci driver) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 29 12:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Federico Simmross >Release: 9.1 >Organization: Universidad de Valladolid (Spain) >Environment: FreeBSD nas4free.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r244224M: Fri Dec 14 19:53:48 JST 2012 aoyama@nas4free.local:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64 >Description: The command 'smartctl -i /dev/da0' (where da0 is a SAS disk) fails with the following error: ------------------------------------------- smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE amd64] (local build) Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org Vendor: SEAGATE Product: ST33000650SS Revision: 0004 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Logical block size: 512 bytes scsiModePageOffset: raw_curr too small, offset=259 resp_len=1 bd_len=255 >How-To-Repeat: With the isci driver loaded, plug a SAS disk to the controller and type: smartctl -i /dev/da0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. ------------------------------------------- Apparently this does not happen with a SATA disk connected to the same controller. The command 'smartctl -T permissive -a /dev/da0' does show the rest of the information (see below); however, scripts that look for the string 'SMART is: enabled' cannot work even with this workaround. ------------------------------------------- smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE amd64] (local build) Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org Vendor: SEAGATE Product: ST33000650SS Revision: 0004 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Logical block size: 512 bytes scsiModePageOffset: raw_curr too small, offset=259 resp_len=1 bd_len=255 >> Terminate command early due to bad response to IEC mode page Current Drive Temperature: 39 C Drive Trip Temperature: 68 C Manufactured in week 45 of year 2012 Specified cycle count over device lifetime: 10000 Accumulated start-stop cycles: 130 Specified load-unload count over device lifetime: 300000 Accumulated load-unload cycles: 135 Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 20895408 Blocks received from initiator = 138348465 Blocks read from cache and sent to initiator = 156674 Number of read and write commands whose size <= segment size = 36703 Number of read and write commands whose size > segment size = 0 Vendor (Seagate/Hitachi) factory information number of hours powered up = 866.38 number of minutes until next internal SMART test = 50 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 42612987 0 0 42612987 0 10.698 0 write: 0 0 0 0 0 71.055 0 Non-medium error count: 6 SMART Self-test log Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] Description number (hours) # 1 Background short Completed - 671 - [- - -] Long (extended) Self Test duration: 27600 seconds [460.0 minutes] -------------------------------------------