kern/175670: [iscsi] smartctl fails on SAS disk connected to an Intel C600 controller (isci driver)
Douglas Gilbert
dgilbert at interlog.com
Thu Apr 17 16:57:58 UTC 2014
On 14-04-17 12:19 AM, linimon at FreeBSD.org wrote:
> Old Synopsis: smartctl fails on SAS disk connected to an Intel C600 controller (isci driver)
> New Synopsis: [iscsi] smartctl fails on SAS disk connected to an Intel C600 controller (isci driver)
>
> Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Thu Apr 17 04:18:15 UTC 2014
> Responsible-Changed-Why:
> reclassify.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=175670
I have one of those disks and it works for me in:
FreeBSD 10.0-RELEASE #0 r260789
# smartctl -i /dev/pass2
smartctl 6.3 2014-04-10 r3888 [FreeBSD 10.0-RELEASE i386] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: ST33000650SS
Revision: 0002
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Logical block size: 512 bytes
Formatted with type 1 protection
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c50033111111
Serial number: 9XK0JN6Z0000xxxxxxxx
Device type: disk
Transport protocol: SAS
Local Time is: Thu Apr 17 12:36:57 2014 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
This was built from the latest smartmontools developer repository
because the FreeBSD ports version of smartmontool was broken,
see below.
The reporter had Revision 4 of the disk's firmware while mine is
Revision 2. The reported error said the IEC mode page was broken.
No surprise there, mine is too but in a different way:
[root at sas ~]# sg_modes -p 0x1c /dev/pass2
SEAGATE ST33000650SS 0002 peripheral_type: disk [0x0]
Mode parameter header from MODE SENSE(10):
Mode data length=28, medium type=0x00, WP=0, DpoFua=1, longlba=0
Block descriptor length=8
> Direct access device block descriptors:
Density code=0x0
00 ff ff ff ff 00 00 02 00
>> Informational exceptions control, page_control: current
00 9c 0a 10 00 00 00 00 00 00 00 00 01
[root at sas ~]# sg_modes -p 0x1c -L /dev/pass2
SEAGATE ST33000650SS 0002 peripheral_type: disk [0x0]
Mode parameter header from MODE SENSE(10):
Mode data length=36, medium type=0x00, WP=0, DpoFua=1, longlba=1
Block descriptor length=16
> longlba direct access device block descriptors:
Density code=0x0
00 00 00 00 01 5d 50 a3 b0 00 00 00 00 00
>> Informational exceptions control, page_control: current
00 9c 0a 10 00 00 00 00 00 00 00 00 01
The long LBA version says the logical block size is 0
bytes. Well done Seagate!
So IMO this is not a FreeBSD error and most likely not
a smartmontools error. Also it has nothing to do with
the HBA. But I did see this when I tried to build
smartmontools from ports:
[root at sas /usr/ports/sysutils/smartmontools]# make install
make: "/usr/ports/Mk/bsd.port.mk" line 5121: warning: duplicate script for
target "-depends" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 5118: warning: using previous script for
"-depends" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5121: warning: duplicate script for
target "-depends" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 5118: warning: using previous script for
"-depends" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5121: warning: duplicate script for
target "-depends" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 5118: warning: using previous script for
"-depends" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5118: warning: duplicate script for
target "-depends" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 5118: warning: using previous script for
"-depends" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5121: warning: duplicate script for
target "-depends" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 5118: warning: using previous script for
"-depends" defined here
===> smartmontools-6.0 improper use of USE_PERL5.
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/smartmontools
Doug Gilbert
More information about the freebsd-scsi
mailing list