storcli -> segmentation fault

Hast Du Probleme mit Hardware, die durch die anderen Foren nicht abgedeckt werden? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
rumpumpel1
Beiträge: 19
Registriert: 19.04.2017 17:59:36

storcli -> segmentation fault

Beitrag von rumpumpel1 » 05.10.2019 17:04:27

Hallo,

ich habe auf meinem debian server ein RAID laufen, dss mit einem LSI MegaRAID SAS 9280-16i4e Controller arbeitet.
Zum konfigurieren benutze ich storcli_1.23.02.
Bis debian 9 war alles ok, nach einem Update auf debian 10 sagt storcli /c0 show nur noch segmentation fault.
Weiß jemand Rat?

pferdefreund
Beiträge: 3424
Registriert: 26.02.2009 14:35:56

Re: storcli -> segmentation fault

Beitrag von pferdefreund » 07.10.2019 13:33:02

mal über strace starten und schauen, wo es genau knallt. Kann ja auch in einer lib passieren oder sonstwo. Eventuell ist da ja was selbstcompiliertes dabei, was nicht beim Dist-upgrade angefasst wurde oder es gammelt noch was altes in /usr/local/lib... oder... oder. Halt erst mal strace programm parameter und schauen, wo Peng.

rumpumpel1
Beiträge: 19
Registriert: 19.04.2017 17:59:36

Re: storcli -> segmentation fault

Beitrag von rumpumpel1 » 08.10.2019 07:55:39

Ich gestehe, es erleuchtet mich nicht so richtig:

execve("/usr/local/bin/storcli", ["storcli", "/c0", "show"], 0x7ffcda6397f0 /* 12 vars */) = 0
uname({sysname="Linux", nodename="router", ...}) = 0
brk(NULL) = 0x27d6000
brk(0x27d6e20) = 0x27d6e20
arch_prctl(ARCH_SET_FS, 0x27d6820) = 0
brk(0x27f7e20) = 0x27f7e20
brk(0x27f8000) = 0x27f8000
getpid() = 11799
rt_sigaction(SIGRTMIN, {sa_handler=0x894770, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x91eea0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x894840, sa_mask=[RTMIN], sa_flags=SA_RESTORER, sa_restorer=0x91eea0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {sa_handler=0x8949b0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x91eea0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7ffe1910aa80) = -1 ENOSYS (Function not implemented)
open("/proc/sys/kernel/version", O_RDONLY) = 3
read(3, "#1 SMP Debian 4.19.67-2+deb10u1 "..., 512) = 45
close(3) = 0
open("/proc/devices", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c2ae42000
read(3, "Character devices:\n 1 mem\n 4 /"..., 1024) = 554
close(3) = 0
munmap(0x7f2c2ae42000, 4096) = 0
access("/dev/megaraid_sas_ioctl_node", R_OK) = 0
stat("/dev/megaraid_sas_ioctl_node", {st_mode=S_IFCHR|000, st_rdev=makedev(0xf6, 0), ...}) = 0
open("/dev/megaraid_sas_ioctl_node", O_RDONLY) = 3
open("/proc/devices", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c2ae42000
read(4, "Character devices:\n 1 mem\n 4 /"..., 1024) = 554
read(4, "", 1024) = 0
close(4) = 0
munmap(0x7f2c2ae42000, 4096) = 0
uname({sysname="Linux", nodename="router", ...}) = 0
lstat("/sys/class/scsi_host", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/sys/class/scsi_host", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
getdents64(4, /* 11 entries */, 4096) = 336
lstat("/sys/class/scsi_host/host7", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host7/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host7/proc_name", O_RDONLY) = 5
read(5, "pata_marvell\n", 32) = 13
close(5) = 0
lstat("/sys/class/scsi_host/host5", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host5/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host5/proc_name", O_RDONLY) = 5
read(5, "ahci\n", 32) = 5
close(5) = 0
lstat("/sys/class/scsi_host/host3", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host3/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host3/proc_name", O_RDONLY) = 5
read(5, "ahci\n", 32) = 5
close(5) = 0
lstat("/sys/class/scsi_host/host1", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host1/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host1/proc_name", O_RDONLY) = 5
read(5, "ahci\n", 32) = 5
close(5) = 0
lstat("/sys/class/scsi_host/host8", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host8/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host8/proc_name", O_RDONLY) = 5
read(5, "pata_marvell\n", 32) = 13
close(5) = 0
lstat("/sys/class/scsi_host/host6", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host6/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host6/proc_name", O_RDONLY) = 5
read(5, "ahci\n", 32) = 5
close(5) = 0
lstat("/sys/class/scsi_host/host4", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host4/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host4/proc_name", O_RDONLY) = 5
read(5, "ahci\n", 32) = 5
close(5) = 0
lstat("/sys/class/scsi_host/host2", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host2/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host2/proc_name", O_RDONLY) = 5
read(5, "ahci\n", 32) = 5
close(5) = 0
lstat("/sys/class/scsi_host/host0", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host0/proc_name", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
open("/sys/class/scsi_host/host0/proc_name", O_RDONLY) = 5
read(5, "megaraid_sas\n", 32) = 13
close(5) = 0
lstat("/sys/class/scsi_host/host0/device", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
lstat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
lstat("/sys/class", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/class/scsi_host/host0", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
readlink("/sys/class/scsi_host/host0", "../../devices/pci0000:00/0000:00"..., 4096) = 72
lstat("/sys/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00/0000:00:01.0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0/scsi_host", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0/scsi_host/host0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0/scsi_host/host0/device", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
readlink("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0/scsi_host/host0/device", "../../../host0", 4096) = 14
lstat("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents64(4, /* 0 entries */, 4096) = 0
close(4) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27da670) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27d9e50) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dbf50) = 0
brk(0x281d000) = 0x281d000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dacc0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27daef0) = 0
brk(0x280d000) = 0x280d000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dbbd0) = 0
brk(0x282e000) = 0x282e000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dbbb0) = 0
brk(0x281d000) = 0x281d000
brk(0x280d000) = 0x280d000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dba40) = 0
brk(0x282e000) = 0x282e000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dbc70) = 0
brk(0x281d000) = 0x281d000
brk(0x280d000) = 0x280d000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dbfd0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dc1e0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fcee0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fd1b0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fd3c0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fd5d0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fd7e0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fd9f0) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fdc00) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fde10) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fe020) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27ff570) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27fec30) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27ddca0) = 0
brk(0x282f000) = 0x282f000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dd380) = 0
brk(0x281f000) = 0x281f000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dd380) = 0
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dd380) = 0
fstat(1, {st_mode=S_IFREG|0644, st_size=9386, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c2ae42000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dd390) = 0
brk(0x2840000) = 0x2840000
ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x4d, 0x1, 0x194), 0x27dd440) = 0
brk(0x282f000) = 0x282f000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffffffff600400} ---
+++ killed by SIGSEGV +++

rumpumpel1
Beiträge: 19
Registriert: 19.04.2017 17:59:36

Re: storcli -> segmentation fault

Beitrag von rumpumpel1 » 08.10.2019 08:28:17

Problem hat sich geklärt: es gab tatsächlich eine neuere Version von storcli auf der Broadcom Webseite. Dort taucht zwar mein Controller gar nicht mehr auf, da er zu alt ist, aber man muss einfach einen neueren Controller auswählen und findet dann ein sogenanntes Unified storcli. Das funktioniert.

pferdefreund
Beiträge: 3424
Registriert: 26.02.2009 14:35:56

Re: storcli -> segmentation fault

Beitrag von pferdefreund » 08.10.2019 08:51:35

Da hat wohl das alte nicht mehr zu den neuen Bibliotheken gepasst - wie vermutet. Sowas kann beim Upgrade immer mal passieren, wenn man (wie ich auch) mal Fremdsoftware verwendet. Hatte ich erst mit einem vor Jahren mal selbstkompiliertem mbrola. Das aktuelle von Debian installiert - und alles ist gut. (Damals ging das irgendwie nicht).

Antworten