Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#998166: collectd: SMART plugin with nvme causes the error "INVALID_NS"

66 views
Skip to first unread message

Oyka Aengaef

unread,
Oct 31, 2021, 7:10:04 AM10/31/21
to
Package: collectd
Version: 5.12.0-7
Severity: normal
X-Debbugs-Cc: 0...@protonmail.com

Dear Maintainer,

When running collectd, nvme constantly generates an error:

$ nvme error-log / dev / nvme0
Error Log Entries for device:nvme0 entries:64
.................
Entry[ 0]
.................
error_count : 87461
sqid : 0
cmdid : 0xb001
status_field : 0x4016(INVALID_NS: The namespace or the format of that namespace is invalid)
parm_err_loc : 0x4
lba : 0
nsid : 0xffffffff
vs : 0
trtype : The transport type is not indicated or the error is not transport related.
cs : 0
trtype_spec_info: 0

All errors> 87k are the same.
I am using "Samsung SSD 970 EVO 1TB" with firmware version "2B2QEXE7".

-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru:en_GB:en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages collectd depends on:
ii collectd-core 5.12.0-7
ii libc6 2.32-4
ii librrd8 1.7.2-3+b8

Versions of packages collectd recommends:
ii default-jre-headless 2:1.11-72
ii intel-cmt-cat 4.2-1
ii libatasmart4 0.19-5
ii libbson-1.0-0 1.19.1-1
ii libc6 2.32-4
ii libcurl3-gnutls 7.74.0-1.3+b1
ii libdbi1 0.9.0-6
ii libesmtp6 1.1.0-3
ii libgcc-s1 11.2.0-10
ii libgcrypt20 1.9.4-3+b1
ii libglib2.0-0 2.70.0-3
ii libgps28 3.22-4
ii libgrpc++1 1.30.2-3
ii libgrpc10 1.30.2-3
ii libhiredis0.14 0.14.1-2
ii libi2c0 4.2-2
ii libip4tc2 1.8.7-1
ii libip6tc2 1.8.7-1
ii libjansson4 2.13.1-1.1
ii libldap-2.4-2 2.4.59+dfsg-1
ii liblua5.3-0 5.3.6-1
ii libmariadb3 1:10.5.12-1
ii libmemcached11 1.0.18-4.2
ii libmicrohttpd12 0.9.73-4
ii libmnl0 1.0.4-3
ii libmodbus5 3.1.6-2
ii libmongoc-1.0-0 1.19.1-1
ii libmosquitto1 2.0.11-1
ii libnotify4 0.7.9-3
ii libopenipmi0 2.0.29-0.1+b1
ii liboping0 1.10.0-4+b1
ii libowcapi-3.2-4 3.2p4+dfsg1-4+b1
ii libpcap0.8 1.10.1-4
ii libperl5.32 5.32.1-6
ii libpq5 14.0-1
ii libprotobuf-c1 1.3.3-1+b2
ii libprotobuf23 3.12.4-1+b1
ii libpython3.9 3.9.7-4
ii libqpid-proton11 0.22.0-5.1
ii librabbitmq4 0.10.0-1
ii librdkafka1 1.8.0-1
ii libriemann-client0 1.10.4-2+b2
ii librrd8 1.7.2-3+b8
ii librte-eal21 20.11.3-1
ii librte-ethdev21 20.11.3-1
ii libsensors5 1:3.6.0-7
ii libsnmp40 5.9.1+dfsg-1
ii libssl1.1 1.1.1l-1
ii libstdc++6 11.2.0-10
ii libudev1 249.5-1
ii libvarnishapi2 6.6.1-1
ii libvirt0 7.6.0-1
ii libxenmisc4.14 4.14.3-1
ii libxml2 2.9.12+dfsg-5
ii libyajl2 2.1.0-3

collectd suggests no packages.

-- Configuration Files:
/etc/collectd/collectd.conf changed:
FQDNLookup true
LoadPlugin syslog
<Plugin syslog>
LogLevel info
</Plugin>
LoadPlugin battery
LoadPlugin cpu
LoadPlugin cpufreq
LoadPlugin df
LoadPlugin disk
LoadPlugin entropy
LoadPlugin interface
LoadPlugin irq
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin rrdtool
LoadPlugin smart
LoadPlugin swap
LoadPlugin unixsock
LoadPlugin uptime
LoadPlugin users
<Plugin df>
# ignore rootfs; else, the root file-system would appear twice, causing
# one of the updates to fail and spam the log
FSType rootfs
# ignore the usual virtual / temporary file-systems
FSType sysfs
FSType proc
FSType devtmpfs
FSType devpts
FSType tmpfs
FSType fusectl
FSType cgroup
FSType fuse.cryfs
FSType squashfs
IgnoreSelected true
</Plugin>
<Plugin disk>
Disk "/^nvme[0-9]/"
IgnoreSelected false
</Plugin>
<Plugin rrdtool>
DataDir "/var/lib/collectd/rrd"
</Plugin>
<Plugin smart>
Disk "/^nvme[0-9]$/"
IgnoreSelected false
</Plugin>
<Plugin unixsock>
SocketFile "/var/run/collectd-unixsock"
SocketGroup "root"
SocketPerms "0660"
DeleteSocket false
</Plugin>
<Include "/etc/collectd/collectd.conf.d">
Filter "*.conf"
</Include>


-- no debconf information

Vincent Legoll

unread,
May 4, 2023, 3:20:05 PM5/4/23
to
This bug is maybe related to :

https://github.com/collectd/collectd/pull/3974

--
Vincent Legoll
0 new messages