Skip to content

Instantly share code, notes, and snippets.

@yakatz
Last active August 8, 2023 14:51
Show Gist options
  • Save yakatz/ae6eb1a5aeea85feb1617c8cd88f9de1 to your computer and use it in GitHub Desktop.
Save yakatz/ae6eb1a5aeea85feb1617c8cd88f9de1 to your computer and use it in GitHub Desktop.
pmtx strace Qualstar TLS-58132
root@robot00:~# strace -fyy pmtx status --changer robot0
execve("/usr/bin/pmtx", ["pmtx", "status", "--changer", "robot0"], 0x7fff81ae0c10 /* 18 vars */) = 0
brk(NULL) = 0x55ffe2d00000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1472399000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD</root>, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3</etc/ld.so.cache>
newfstatat(3</etc/ld.so.cache>, "", {st_mode=S_IFREG|0644, st_size=15306, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 15306, PROT_READ, MAP_PRIVATE, 3</etc/ld.so.cache>, 0) = 0x7f1472395000
close(3</etc/ld.so.cache>) = 0
openat(AT_FDCWD</root>, "/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2", O_RDONLY|O_CLOEXEC) = 3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>
read(3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>, "", {st_mode=S_IFREG|0644, st_size=272680, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 270768, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>, 0) = 0x7f1472352000
mmap(0x7f1472361000, 102400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>, 0xf000) = 0x7f1472361000
mmap(0x7f147237a000, 77824, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>, 0x28000) = 0x7f147237a000
mmap(0x7f147238d000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>, 0x3b000) = 0x7f147238d000
close(3</usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0>) = 0
openat(AT_FDCWD</root>, "/lib/x86_64-linux-gnu/libudev.so.1", O_RDONLY|O_CLOEXEC) = 3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>
read(3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>, "", {st_mode=S_IFREG|0644, st_size=182536, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 186648, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>, 0) = 0x7f1472324000
mmap(0x7f1472329000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>, 0x5000) = 0x7f1472329000
mmap(0x7f1472345000, 45056, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>, 0x21000) = 0x7f1472345000
mmap(0x7f1472350000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>, 0x2b000) = 0x7f1472350000
close(3</usr/lib/x86_64-linux-gnu/libudev.so.1.7.5>) = 0
openat(AT_FDCWD</root>, "/lib/x86_64-linux-gnu/libcrypto.so.3", O_RDONLY|O_CLOEXEC) = 3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>
read(3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>, "", {st_mode=S_IFREG|0644, st_size=4709656, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 4720048, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>, 0) = 0x7f1471e00000
mmap(0x7f1471ec5000, 2588672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>, 0xc5000) = 0x7f1471ec5000
mmap(0x7f147213d000, 905216, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>, 0x33d000) = 0x7f147213d000
mmap(0x7f147221a000, 409600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>, 0x41a000) = 0x7f147221a000
mmap(0x7f147227e000, 9648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f147227e000
close(3</usr/lib/x86_64-linux-gnu/libcrypto.so.3>) = 0
openat(AT_FDCWD</root>, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3</usr/lib/x86_64-linux-gnu/libc.so.6>
read(3</usr/lib/x86_64-linux-gnu/libc.so.6>, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220s\2\0\0\0\0\0"..., 832) = 832
pread64(3</usr/lib/x86_64-linux-gnu/libc.so.6>, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
newfstatat(3</usr/lib/x86_64-linux-gnu/libc.so.6>, "", {st_mode=S_IFREG|0755, st_size=1922136, ...}, AT_EMPTY_PATH) = 0
pread64(3</usr/lib/x86_64-linux-gnu/libc.so.6>, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 1970000, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libc.so.6>, 0) = 0x7f1471c1f000
mmap(0x7f1471c45000, 1396736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libc.so.6>, 0x26000) = 0x7f1471c45000
mmap(0x7f1471d9a000, 339968, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libc.so.6>, 0x17b000) = 0x7f1471d9a000
mmap(0x7f1471ded000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libc.so.6>, 0x1ce000) = 0x7f1471ded000
mmap(0x7f1471df3000, 53072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1471df3000
close(3</usr/lib/x86_64-linux-gnu/libc.so.6>) = 0
openat(AT_FDCWD</root>, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>
read(3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>, "", {st_mode=S_IFREG|0644, st_size=125312, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 127688, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>, 0) = 0x7f1472304000
mmap(0x7f1472307000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>, 0x3000) = 0x7f1472307000
mmap(0x7f147231e000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>, 0x1a000) = 0x7f147231e000
mmap(0x7f1472322000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>, 0x1d000) = 0x7f1472322000
close(3</usr/lib/x86_64-linux-gnu/libgcc_s.so.1>) = 0
openat(AT_FDCWD</root>, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3</usr/lib/x86_64-linux-gnu/libm.so.6>
read(3</usr/lib/x86_64-linux-gnu/libm.so.6>, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3</usr/lib/x86_64-linux-gnu/libm.so.6>, "", {st_mode=S_IFREG|0644, st_size=907784, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1472302000
mmap(NULL, 909560, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libm.so.6>, 0) = 0x7f1471b40000
mmap(0x7f1471b50000, 471040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libm.so.6>, 0x10000) = 0x7f1471b50000
mmap(0x7f1471bc3000, 368640, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libm.so.6>, 0x83000) = 0x7f1471bc3000
mmap(0x7f1471c1d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</usr/lib/x86_64-linux-gnu/libm.so.6>, 0xdc000) = 0x7f1471c1d000
close(3</usr/lib/x86_64-linux-gnu/libm.so.6>) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f14722ff000
arch_prctl(ARCH_SET_FS, 0x7f14722ff880) = 0
set_tid_address(0x7f14722ffb50) = 24406
set_robust_list(0x7f14722ffb60, 24) = 0
rseq(0x7f14723001a0, 0x20, 0, 0x53053053) = 0
mprotect(0x7f1471ded000, 16384, PROT_READ) = 0
mprotect(0x7f1471c1d000, 4096, PROT_READ) = 0
mprotect(0x7f1472322000, 4096, PROT_READ) = 0
mprotect(0x7f147221a000, 397312, PROT_READ) = 0
mprotect(0x7f1472350000, 4096, PROT_READ) = 0
mprotect(0x7f147238d000, 4096, PROT_READ) = 0
mprotect(0x55ffe2589000, 184320, PROT_READ) = 0
mprotect(0x7f14723cb000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7f1472395000, 15306) = 0
poll([{fd=0</dev/pts/0<char 136:0>>, events=0}, {fd=1</dev/pts/0<char 136:0>>, events=0}, {fd=2</dev/pts/0<char 136:0>>, events=0}], 3, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f1471c5afd0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x55ffe24a65d0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f1471c5afd0}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGBUS, {sa_handler=0x55ffe24a65d0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f1471c5afd0}, NULL, 8) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f1472396000
mprotect(0x7f1472396000, 4096, PROT_NONE) = 0
sigaltstack({ss_sp=0x7f1472397000, ss_flags=0, ss_size=8192}, NULL) = 0
getrandom("\x04\xfc\x77\xa1\xac\x9e\x0b\x47", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x55ffe2d00000
brk(0x55ffe2d21000) = 0x55ffe2d21000
openat(AT_FDCWD</root>, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3</proc/24406/maps>
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
newfstatat(3</proc/24406/maps>, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3</proc/24406/maps>, "55ffe236c000-55ffe23a9000 r--p 0"..., 1024) = 1024
read(3</proc/24406/maps>, "/usr/lib/x86_64-linux-gnu/libm.s"..., 1024) = 1024
read(3</proc/24406/maps>, "14 /usr/lib/x8"..., 1024) = 1024
read(3</proc/24406/maps>, " /usr/lib/x86_64-linux-gnu/li"..., 1024) = 1024
read(3</proc/24406/maps>, "72396000-7f1472397000 ---p 00000"..., 1024) = 1019
close(3</proc/24406/maps>) = 0
sched_getaffinity(24406, 32, [0 1 2 3 4 5 6 7 8 9 10 11]) = 8
getrandom("\x6b\x83\x70\xc5\x97\xe2\xe5\x32\x55\x72\xd3\xdb\x6b\xe7\xe6\xcd", 16, GRND_INSECURE) = 16
getuid() = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3<UNIX-STREAM:[58519]>
connect(3<UNIX-STREAM:[58519]>, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3<UNIX-STREAM:[58519]>) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3<UNIX-STREAM:[58520]>
connect(3<UNIX-STREAM:[58520]>, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3<UNIX-STREAM:[58520]>) = 0
newfstatat(AT_FDCWD</root>, "/etc/nsswitch.conf", {st_mode=S_IFREG|0644, st_size=526, ...}, 0) = 0
newfstatat(AT_FDCWD</root>, "/", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
openat(AT_FDCWD</root>, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3</etc/nsswitch.conf>
newfstatat(3</etc/nsswitch.conf>, "", {st_mode=S_IFREG|0644, st_size=526, ...}, AT_EMPTY_PATH) = 0
read(3</etc/nsswitch.conf>, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 526
read(3</etc/nsswitch.conf>, "", 4096) = 0
newfstatat(3</etc/nsswitch.conf>, "", {st_mode=S_IFREG|0644, st_size=526, ...}, AT_EMPTY_PATH) = 0
close(3</etc/nsswitch.conf>) = 0
openat(AT_FDCWD</root>, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3</etc/passwd>
newfstatat(3</etc/passwd>, "", {st_mode=S_IFREG|0644, st_size=1285, ...}, AT_EMPTY_PATH) = 0
lseek(3</etc/passwd>, 0, SEEK_SET) = 0
read(3</etc/passwd>, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1285
close(3</etc/passwd>) = 0
openat(AT_FDCWD</root>, "/etc/proxmox-backup/tape.cfg", O_RDONLY|O_CLOEXEC) = 3</etc/proxmox-backup/tape.cfg>
statx(0</dev/pts/0<char 136:0>>, NULL, AT_STATX_SYNC_AS_STAT, STATX_ALL, NULL) = -1 EFAULT (Bad address)
statx(3</etc/proxmox-backup/tape.cfg>, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0640, stx_size=228, ...}) = 0
lseek(3</etc/proxmox-backup/tape.cfg>, 0, SEEK_CUR) = 0
read(3</etc/proxmox-backup/tape.cfg>, "changer: robot0\n\tpath /dev/tape/"..., 228) = 228
read(3</etc/proxmox-backup/tape.cfg>, "", 32) = 0
close(3</etc/proxmox-backup/tape.cfg>) = 0
futex(0x7f147227d8e8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227ddcc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227ddc0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227ddb8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227dec0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227dda8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227dda0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227d824, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227de04, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f147227d818, FUTEX_WAKE_PRIVATE, 2147483647) = 0
brk(0x55ffe2d42000) = 0x55ffe2d42000
futex(0x7f147227ddb0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD</root>, "/usr/lib/ssl/openssl.cnf", O_RDONLY) = 3</etc/ssl/openssl.cnf>
newfstatat(3</etc/ssl/openssl.cnf>, "", {st_mode=S_IFREG|0644, st_size=12332, ...}, AT_EMPTY_PATH) = 0
read(3</etc/ssl/openssl.cnf>, "#\n# OpenSSL example configuratio"..., 4096) = 4096
read(3</etc/ssl/openssl.cnf>, "he listed attributes must be the"..., 4096) = 4096
read(3</etc/ssl/openssl.cnf>, "R hex encoding of an extension: "..., 4096) = 4096
read(3</etc/ssl/openssl.cnf>, "\noldcert = $insta::certout # ins"..., 4096) = 44
read(3</etc/ssl/openssl.cnf>, "", 4096) = 0
close(3</etc/ssl/openssl.cnf>) = 0
futex(0x7f147227dd98, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2</dev/pts/0<char 136:0>>, "using device /dev/tape/by-id/scs"..., 45using device /dev/tape/by-id/scsi-0002503093
) = 45
openat(AT_FDCWD</root>, "/dev/tape/by-id/scsi-0002503093", O_RDWR|O_CLOEXEC) = 3</dev/sg4<char 21:4>>
openat(AT_FDCWD</root>, "/proc/devices", O_RDONLY) = 4</proc/devices>
newfstatat(4</proc/devices>, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(4</proc/devices>, "Character devices:\n 1 mem\n 4 /"..., 1024) = 636
close(4</proc/devices>) = 0
newfstatat(3</dev/sg4<char 21:4>>, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x15, 0x4), ...}, AT_EMPTY_PATH) = 0
ioctl(3</dev/sg4<char 21:4>>, SG_GET_VERSION_NUM, [30536]) = 0
ioctl(3</dev/sg4<char 21:4>>, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_FROM_DEV, cmd_len=6, cmdp="\x12\x00\x00\x00\x24\x00", mx_sb_len=32, iovec_count=0, dxfer_len=36, timeout=30000, flags=0, dxferp="\x08\x80\x02\x02\x33\x00\x00\x00\x51\x55\x41\x4c\x53\x54\x41\x52\x54\x4c\x53\x2d\x35\x38\x31\x33\x32\x20\x20\x20\x20\x20\x20\x20"..., status=0, masked_status=0, msg_status=0, sb_len_wr=0, sbp="", host_status=0, driver_status=0, resid=0, duration=4, info=0}) = 0
newfstatat(3</dev/sg4<char 21:4>>, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x15, 0x4), ...}, AT_EMPTY_PATH) = 0
ioctl(3</dev/sg4<char 21:4>>, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_FROM_DEV, cmd_len=6, cmdp="\x1a\x08\x1d\x00\xff\x00", mx_sb_len=32, iovec_count=0, dxfer_len=255, timeout=300000, flags=0, dxferp="\x17\x00\x00\x00\x9d\x12\xfd\xe8\x00\x01\x00\x00\x00\x84\xfa\x00\x00\x01\xf6\x18\x00\x02\x00\x00", status=0, masked_status=0, msg_status=0, sb_len_wr=0, sbp="", host_status=0, driver_status=0, resid=231, duration=4, info=0}) = 0
newfstatat(3</dev/sg4<char 21:4>>, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x15, 0x4), ...}, AT_EMPTY_PATH) = 0
ioctl(3</dev/sg4<char 21:4>>, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_FROM_DEV, cmd_len=12, cmdp="\xb8\x12\x00\x00\x03\xe8\x00\x01\x00\x00\x00\x00", mx_sb_len=32, iovec_count=0, dxfer_len=65536, timeout=300000, flags=0, dxferp="\x00\x00\x00\x84\x00\x00\x1a\xd8\x02\x80\x00\x34\x00\x00\x1a\xd0\x00\x00\x0d\x00\x83\x09\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., status=0, masked_status=0, msg_status=0, sb_len_wr=0, sbp="", host_status=0, driver_status=0, resid=58656, duration=108, info=0}) = 0
brk(0x55ffe2d65000) = 0x55ffe2d65000
brk(0x55ffe2d63000) = 0x55ffe2d63000
brk(0x55ffe2d61000) = 0x55ffe2d61000
brk(0x55ffe2d5f000) = 0x55ffe2d5f000
newfstatat(3</dev/sg4<char 21:4>>, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x15, 0x4), ...}, AT_EMPTY_PATH) = 0
ioctl(3</dev/sg4<char 21:4>>, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_FROM_DEV, cmd_len=12, cmdp="\xb8\x13\x00\x00\x03\xe8\x00\x01\x00\x00\x00\x00", mx_sb_len=32, iovec_count=0, dxfer_len=65536, timeout=300000, flags=0, dxferp="\xfa\x00\x00\x01\x00\x00\x00\x3c\x03\x80\x00\x34\x00\x00\x00\x34\xfa\x00\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., status=0, masked_status=0, msg_status=0, sb_len_wr=0, sbp="", host_status=0, driver_status=0, resid=65468, duration=36, info=0}) = 0
newfstatat(3</dev/sg4<char 21:4>>, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x15, 0x4), ...}, AT_EMPTY_PATH) = 0
ioctl(3</dev/sg4<char 21:4>>, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_FROM_DEV, cmd_len=12, cmdp="\xb8\x14\x00\x00\x03\xe8\x00\x01\x00\x00\x00\x00", mx_sb_len=32, iovec_count=0, dxfer_len=65536, timeout=300000, flags=0, dxferp="\xf6\x18\x00\x08\x00\x00\x02\x28\x04\x80\x00\x44\x00\x00\x02\x20\xf6\x18\x04\x00\x83\x04\x30\x01\x00\x00\x00\x00\x00\x00\x00\x00"..., status=0, masked_status=0, msg_status=0, sb_len_wr=0, sbp="", host_status=0, driver_status=0, resid=64976, duration=40, info=0}) = 0
newfstatat(3</dev/sg4<char 21:4>>, "", {st_mode=S_IFCHR|0660, st_rdev=makedev(0x15, 0x4), ...}, AT_EMPTY_PATH) = 0
ioctl(3</dev/sg4<char 21:4>>, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_FROM_DEV, cmd_len=12, cmdp="\xb8\x04\x00\x00\x03\xe8\x01\x01\x00\x00\x00\x00", mx_sb_len=32, iovec_count=0, dxfer_len=65536, timeout=300000, flags=0, dxferp="", status=0x2, masked_status=0x1, msg_status=0, sb_len_wr=18, sbp="\x70\x00\x05\x00\x00\x00\x00\x0a\x00\x00\x00\x00\x24\x00\x00\xc0\x00\x06", host_status=0, driver_status=0x8, resid=65536, duration=12, info=SG_INFO_CHECK}) = 0
brk(0x55ffe2d5e000) = 0x55ffe2d5e000
close(3</dev/sg4<char 21:4>>) = 0
write(2</dev/pts/0<char 136:0>>, "Error: ", 7Error: ) = 7
write(2</dev/pts/0<char 136:0>>, "read element status (B8h) failed"..., 89read element status (B8h) failed: Illegal Request, Additional sense: Invalid field in cdb) = 89
write(2</dev/pts/0<char 136:0>>, "\n", 1
) = 1
sigaltstack({ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=8192}, NULL) = 0
munmap(0x7f1472396000, 12288) = 0
futex(0x7f147227d5d8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
exit_group(-1) = ?
+++ exited with 255 +++
root@robot00:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment