[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#913629: mpt-status only works on controller 0



Package: mpt-status
Version: 1.2.0-8
Severity: normal

Hello,
if you have more than one SCSI controller, depending on the order they
are loaded at boot, the mpt-status does not work.

As an example, if the the machine with these controllers

agenzia-480:~# lspci | grep SCS
03:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 08)
07:08.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev c1)

load the drivers in this (problematic) order:

agenzia-480:~# cat /proc/mpt/summary 
ioc0: LSI53C1020A A1, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=16
ioc1: LSISAS1068E B3, FwRev=00192f00h, Ports=1, MaxQ=266, IRQ=16

mpt-status does not work. See:

agenzia-480:~# mpt-status -u0 -p
Checking for SCSI ID:0
Checking for SCSI ID:1
Checking for SCSI ID:2
Checking for SCSI ID:3
Checking for SCSI ID:4
Checking for SCSI ID:5
Checking for SCSI ID:6
Checking for SCSI ID:7
Checking for SCSI ID:8
Checking for SCSI ID:9
Checking for SCSI ID:10
Checking for SCSI ID:11
Checking for SCSI ID:12
Checking for SCSI ID:13
Checking for SCSI ID:14
Checking for SCSI ID:15
Nothing found, contact the author
agenzia-480:~# mpt-status -u1 -p
Checking for SCSI ID:0
Checking for SCSI ID:1
Checking for SCSI ID:2
Checking for SCSI ID:3
Checking for SCSI ID:4
Checking for SCSI ID:5
Checking for SCSI ID:6
Checking for SCSI ID:7
Checking for SCSI ID:8
Checking for SCSI ID:9
Checking for SCSI ID:10
Checking for SCSI ID:11
Checking for SCSI ID:12
Checking for SCSI ID:13
Checking for SCSI ID:14
Checking for SCSI ID:15
Nothing found, contact the author

If you reboot the machine and the scsi drivers are loaded in the
reverse (correct?) order, i.e.:

agenzia-480:~#  cat /proc/mpt/summary
ioc0: LSISAS1068E B3, FwRev=00192f00h, Ports=1, MaxQ=266, IRQ=16
ioc1: LSI53C1020A A1, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=16

the command work:

agenzia-480:~# mpt-status 
ioc0 vol_id 0 type IM, 2 phy, 278 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 8 SEAGATE  ST3300656SS      HS0A, 279 GB, state ONLINE, flags NONE
ioc0 phy 0 scsi_id 1 SEAGATE  ST3300656SS      HS0A, 279 GB, state ONLINE, flags NONE

Please note that I have no other parameters:

agenzia-480:~# LC_ALL=C cat /etc/default/mpt-statusd
cat: /etc/default/mpt-statusd: No such file or directory

This is on debian stretch 9.5, kernel 4.9.0-8-686, but the problem was
present even with debian 8 and debian 7.

Bye,
Giuseppe

P.S. the license file states that the source was downloaded from
https://www.drugphish.ch/~ratz/mpt-status/ , but it seems that this
page is not available.


Reply to: