kern/175670: smartctl fails on SAS disk connected to an Intel C600 controller (isci driver)
Federico Simmross
fedsim at tel.uva.es
Tue Jan 29 12:30:02 UTC 2013
>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 at 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]
-------------------------------------------
More information about the freebsd-bugs
mailing list