Skip to content

segfault - nvme ocp telemetry-string-log /dev/nvme0 #3144

@AeonJJohnson

Description

@AeonJJohnson

OS: Rocky 9.4 x86_64 5.14.0-427.31.1.el9.x86_64
nvme-cli: 2.16-2333-g32f4203
SSD: Kioxia CM7-R (supposedly supports ocp/cloud extensions)

Running ocp module telemetry-string-log subcommand results in segfault:

# nvme ocp telemetry-string-log /dev/nvme0 -o binary
ERROR : OCP : Unable to read C9 data.
Segmentation fault (core dumped)

dmesg output:
[432235.619339] nvme[73041]: segfault at 58 ip 00000000004c7fbf sp 00007ffc3ce7d880 error 4 in nvme[407000+da000] likely on CPU 7 (core 19, socket 0)
[432235.619349] Code: ff 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 49 89 f7 41 56 41 55 41 54 53 48 89 fb 4c 8d 73 01 4c 8d 63 10 48 83 ec 58 <48> 8b 4f 58 48 8b 47 48 0f b6 33 4c 8d 2c 8d 00 00 00 00 48 8b 4f

Strace of same command:

rt_sigaction(SIGINT, {sa_handler=0x4dc9b0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f26745446f0}, NULL, 8) = 0
openat(AT_FDCWD, "/dev/nvme0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(0xf0, 0), ...}) = 0
ioctl(3, NVME_IOCTL_ADMIN64_CMD, 0x7ffd59bc41f0) = 16641
ioctl(3, NVME_IOCTL_ADMIN64_CMD, 0x7ffd59bc31c0) = 0
ioctl(3, NVME_IOCTL_ADMIN64_CMD, 0x7ffd59bc4240) = 16386
write(2, "ERROR : OCP : Unable to read C9 "..., 38ERROR : OCP : Unable to read C9 data.
) = 38
openat(AT_FDCWD, "string.bin", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
write(4, NULL, 0)                       = 0
close(4)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x58} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions