Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1239 closed defect (fixed)

Limited SMART output on Samsung PM1633a when upgrading from smartctl 6.5

Reported by: yhemery Owned by: Doug Gilbert
Priority: major Milestone: Release 7.1
Component: smartctl Version: 7.0
Keywords: scsi Cc:

Description

Hi,

When upgrading smartctl from version 6.6 to 7.0, most of the SMART informations are no longer displayed on a Samsung PM1633a. The inquiry is still working, but there is no selftest results, no phy details, and so on.

The server setup is :

  • Supermicro 2028R-DE2CR24L, with an embedded LSI 3008 HBA + an LSI SAS3x40 expander
  • 24x Samsung MZILS3T8HMLH/007 (PM1633a)
  • Debian 8 + custom kernel (4.19.67)

smartctl is compiled with the following arguments :

--with-nvme-devicescan --with-gnupg=no --with-initscriptdir=no --with-exampledir=no --with-drivedbdir=no --with-smartdscriptdir=no --with-smartdplugindir=no --with-systemdsystemunitdir=no

I added the output of the following commands, for both version 6.6 and 7.0 :

  • smartctl -x /dev/sda
  • smartctl -x /dev/sda -r ioctl,2

Feel free to ask if you need more details.

As a side note : Ticket #1225 might be the same issue, but I'm not sure of that.

Attachments (4)

smartctl_6_6 (5.7 KB ) - added by yhemery 5 years ago.
[6.6] smartctl -x /dev/sda
smartctl_6_6_debug (21.4 KB ) - added by yhemery 5 years ago.
[6.6] smartctl -x /dev/sda -r ioctl,2
smartctl_7_0 (1.2 KB ) - added by yhemery 5 years ago.
[7.0] smartctl -x /dev/sda
smartctl_7_0_debug (6.7 KB ) - added by yhemery 5 years ago.
[7.0] smartctl -x /dev/sda -r ioctl,2

Download all attachments as: .zip

Change History (12)

by yhemery, 5 years ago

Attachment: smartctl_6_6 added

[6.6] smartctl -x /dev/sda

by yhemery, 5 years ago

Attachment: smartctl_6_6_debug added

[6.6] smartctl -x /dev/sda -r ioctl,2

by yhemery, 5 years ago

Attachment: smartctl_7_0 added

[7.0] smartctl -x /dev/sda

by yhemery, 5 years ago

Attachment: smartctl_7_0_debug added

[7.0] smartctl -x /dev/sda -r ioctl,2

comment:1 by yhemery, 5 years ago

It might be related to an issue with the "Supported log pages and subpages" command :

# sg_logs --page=0x00 /dev/sda
    SAMSUNG   MZILS3T8HMLH/007  GXL0
Supported log pages  [0x0]:
    0x00        Supported log pages
    0x02        Error counters (write)
    0x03        Error counters (read)
    0x05        Error counters (verify)
    0x06        Non-medium errors
    0x0d        Temperature
    0x0e        Start-stop cycle counter
    0x0f        Application client
    0x10        Self-test results
    0x11        Solid state media
    0x15        Background scan results
    0x18        Protocol specific port
    0x1a        Power condition transition
    0x2f        Informational exceptions (SMART)
# sg_logs --page=0x00,0xff /dev/sda
    SAMSUNG   MZILS3T8HMLH/007  GXL0
Supported log pages and subpages  [0x0, 0xff]:
    0x00,0xff   Supported log pages and subpages
    0x34,0xff   ??

I'll check with Samsung if that's a known behaviour.

comment:2 by Christian Franke, 5 years ago

Keywords: scsi added
Milestone: undecided

Possibly related: ticket #1225.

comment:3 by Doug Gilbert, 5 years ago

Subversion revision 4958 (of smartmontools version 7.1) should fix this problem, I hope. The firmware problem that caused this has been reported to Samsung.

comment:4 by yhemery, 5 years ago

Hi,

That's fixed with r4958 indeed, thanks !

I also reported this to Samsung last week, but got no answer yet.

comment:5 by Christian Franke, 5 years ago

Owner: set to Doug Gilbert
Status: newassigned

comment:6 by Christian Franke, 5 years ago

Milestone: undecidedRelease 7.1
Resolution: fixed
Status: assignedclosed

Fixed in r4958. Thanks!

comment:7 by Christian Franke, 5 years ago

Tickets #1225 and #1258 have been marked as duplicates of this ticket.

comment:8 by yhemery, 5 years ago

Hi,

I have a very similar issue with the Samsung PM1643 : Even with the fix r4958, some LOG pages like the selftest results are not displayed. Looks like the "Supported log pages and subpages" page is incomplete, as for the PM1633a.

# sg_logs /dev/sg10
    SAMSUNG   MZILT15THMLA/007  GXF2
Supported log pages  [0x0]:
    0x00        Supported log pages
    0x02        Error counters (write)
    0x03        Error counters (read)
    0x05        Error counters (verify)
    0x06        Non-medium errors
    0x0d        Temperature
    0x0e        Start-stop cycle counter
    0x0f        Application client
    0x10        Self-test results
    0x11        Solid state media
    0x15        Background scan results
    0x18        Protocol specific port
    0x1a        Power condition transition
    0x2f        Informational exceptions (SMART)
# sg_logs --page=0x00,0xff /dev/sg10
    SAMSUNG   MZILT15THMLA/007  GXF2
Supported log pages and subpages  [0x0, 0xff]:
    0x00,0xff   Supported log pages and subpages
    0x0d        Temperature
    0x0d,0x01   ??
    0x0d,0x02   ??
    0x0d,0xff   Temperature and subpages
    0x15        Background scan results
    0x15,0x01   Pending defects
    0x15,0xff   ??

Doug, have you got any feedback from Samsung on this topic ? Maybe they already have a fix for this model.

Also, feel free to ask if you want me to open a new ticket.

Yannick.

Note: See TracTickets for help on using tickets.