[smartmontools-support] Exception json.cpp(121) when calling smartctl -a on SanDisk SD6SP1M256G1002

Aidan Thornton aidan at i7.nz
Tue Sep 28 09:13:55 CEST 2021


Hi, 



Attempting to run smartctl on this drive with the -a, -x, or -i flag results in the below error. Other commands seem to work as intended.



Platform is OpenSUSE Leap 15.3 LiveUSB on an Asus UX301LA (Haswell ULV).



Unfortunately, as this platform only carries M.2 2260 drives and I don't really have any other systems I can insert these drives in, nor other 2260 drives, I can't do much comparison to rule out platform issues. I do have two drives and both behave similarly.



This is pretty low priority for me - I only wanted to verify the drives weren't showing any indications of failure. These are I think ~2012 drives and have not had firmware updates applied.



Thanks for your work on smartmontools; it's an essential component when dealing with misbehaving storage.



# smartctl -a /dev/sda

smartctl 7.0 2019-05-21 r4917 [x86_64-linux-5.3.18-49-default] (SUSE RPM)

Copyright (C) 2002-18, Bruce Allen, Christian Franke, http://www.smartmontools.org



=== START OF INFORMATION SECTION ===

Device Model:     SanDisk SD6SP1M256G1002

Serial Number:    135178400996

LU WWN Device Id: 5 001b44 a84d7b0e4

Firmware Version: X231202

User Capacity:    256,060,514,304 bytes [256 GB]

Sector Size:      512 bytes logical/physical

Rotation Rate:    Solid State Device

Form Factor:      Unknown (0x0010)

Smartctl: Exception: json.cpp(121): Assertion failed: value

Please inform mailto:smartmontools-support at listi.jpberlin.de, including output of smartctl -V.



# smartctl -a /dev/sdb



smartctl 7.0 2019-05-21 r4917 [x86_64-linux-5.3.18-49-default] (SUSE RPM)

Copyright (C) 2002-18, Bruce Allen, Christian Franke, http://www.smartmontools.org



=== START OF INFORMATION SECTION ===

Device Model:     SanDisk SD6SP1M256G1002

Serial Number:    135178401156

LU WWN Device Id: 5 001b44 a84d7b184

Firmware Version: X231202

User Capacity:    256,060,514,304 bytes [256 GB]

Sector Size:      512 bytes logical/physical

Rotation Rate:    Solid State Device

Form Factor:      Unknown (0x0010)

Smartctl: Exception: json.cpp(121): Assertion failed: value

Please inform mailto:smartmontools-support at listi.jpberlin.de, including output of smartctl -V.



# smartctl -V

smartctl 7.0 2019-05-21 r4917 [x86_64-linux-5.3.18-49-default] (SUSE RPM)

Copyright (C) 2002-18, Bruce Allen, Christian Franke, http://www.smartmontools.org



smartctl comes with ABSOLUTELY NO WARRANTY. This is free

software, and you are welcome to redistribute it under

the terms of the GNU General Public License; either

version 2, or (at your option) any later version.

See http://www.gnu.org for further details.



smartmontools release 7.0 dated 2018-12-30 at 14:47:55 UTC

smartmontools SVN rev 4917 dated 2019-05-21 at 20:14:34

smartmontools build host: x86_64-suse-linux-gnu

smartmontools build with: C++14, GCC 7.5.0

smartmontools configure arguments: '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--docdir=/usr/share/doc/packages/smartmontools' '--with-selinux' '--with-libsystemd' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--with-drivedb' '--with-savestates' '--with-attributelog' '--with-nvme-devicescan' 'build_alias=x86_64-suse-linux-gnu' 'host_alias=x86_64-suse-linux-gnu' 'CXXFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fPIE ' 'LDFLAGS=-pie' 'CFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g  -fPIE' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20210928/6353d4d1/attachment.htm>


More information about the Smartmontools-support mailing list