[smartmontools-support] Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z'

Toby Darling toby at mrc-lmb.cam.ac.uk
Tue Jan 16 10:58:03 CET 2024


Hi

I'm trying to get details from a couple of Seagate Exos 16TB x16 drives, 
running on Alma Linux 8.9,

root at pcterm02[~]: cat /etc/os-release
NAME="AlmaLinux"
VERSION="8.9 (Midnight Oncilla)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.9"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.9 (Midnight Oncilla)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.9"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.9"

root at pcterm02[~]: uname -a
Linux pcterm02.lmb.internal 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 
05:23:44 EST 2023 x86_64 x86_64 x86_64 GNU/Linux

They both fail with

   Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z'

and ask me to contact you.

root at pcterm02[~]: smartctl -a /dev/sda -d cciss,0 -V
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.18.0-513.9.1.el8_9.x86_64] 
(local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, 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.1 dated 2019-12-30 at 15:00:11 UTC
smartmontools SVN rev 5022 dated 2019-12-30 at 15:00:49
smartmontools build host: x86_64-redhat-linux-gnu
smartmontools build with: C++14, GCC 8.5.0 20210514 (Red Hat 8.5.0-20)
smartmontools configure arguments: '--build=x86_64-redhat-linux-gnu' 
'--host=x86_64-redhat-linux-gnu' '--program-prefix=' 
'--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' 
'--libexecdir=/usr/libexec' '--localstatedir=/var' 
'--sharedstatedir=/var/lib' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--with-selinux' '--with-libcap-ng=yes' 
'--with-libsystemd' 
'--with-systemdsystemunitdir=/usr/lib/systemd/system' 
'--sysconfdir=/etc/smartmontools/' 
'--with-systemdenvfile=/etc/sysconfig/smartmontools' 
'build_alias=x86_64-redhat-linux-gnu' 
'host_alias=x86_64-redhat-linux-gnu' 'CXXFLAGS=-O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 
'LDFLAGS=-Wl,-z,relro  -Wl,-z,now 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CFLAGS=-O2 -g -pipe 
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 
'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'


root at pcterm02[~]: smartctl -a /dev/sda -d cciss,0
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.18.0-513.9.1.el8_9.x86_64] 
(local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST16000NM002G
Revision:             E002
Compliance:           SPC-5
User Capacity:        16,000,900,661,248 bytes [16.0 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c500ae46449f
Serial number:        ZL20CCR70000C0031UZ3
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Tue Jan 16 09:49:50 2024 GMT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Grown defects during certification <not available>
Total blocks reassigned during format <not available>
Total new blocks reassigned <not available>
Power on minutes since format <not available>
Current Drive Temperature:     25 C
Drive Trip Temperature:        60 C

Accumulated power on time, hours:minutes 33781:50
Manufactured in week 33 of year 2019
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  183
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  118431
Elements in grown defect list: 35

Vendor (Seagate Cache) information
   Blocks sent to initiator = 1820990192
   Blocks received from initiator = 3634127800
   Blocks read from cache and sent to initiator = 862497223
   Number of read and write commands whose size <= segment size = 47504342
   Number of read and write commands whose size > segment size = 442131

Vendor (Seagate/Hitachi) factory information
   number of hours powered up = 33781.83
   number of minutes until next internal SMART test = 58

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:          0     1707         0      1707       1788     340041.975 
          0
write:         0        0         0         0          0       8484.608 
          0
verify:        0       31         0        31         32     160068.651 
          0

Non-medium error count:       56

   Pending defect count:8 Pending Defects: index, LBA and 
accumulated_power_on_hours follow
      1:  0x6f341c068       ,  33781
Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z'
Please inform smartmontools-support at listi.jpberlin.de, including output 
of smartctl -V.

The disks are not mine, but a colleague's, I'm not sure how long I can 
keep them before they want to send them back for warranty replacement. I 
hope the above is sufficient detail.

Many thanks for such a useful utility.

Cheers
Toby
-- 
Toby Darling, Scientific Computing (2N249)
MRC Laboratory of Molecular Biology
https://www.mrc-lmb.cam.ac.uk/scicomp/


More information about the Smartmontools-support mailing list