.deb pulled from testing repository after discovering that 4.31.0+1-4 in
stable has this issue.
To reproduce:
$ lspci -v -d 15b3:; mstflint --version; sudo mstflint -d d8:00.0 q; sudo mstflint -d d8:00.0 q full
d8:00.0 Network controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]
Subsystem: Mellanox Technologies Device 0003
Flags: bus master, fast devsel, latency 0, IRQ 83, NUMA node 1, IOMMU group 20
Memory at fbe00000 (64-bit, non-prefetchable) [size=1M]
Memory at 4ffff800000 (64-bit, prefetchable) [size=8M]
Expansion ROM at fbd00000 [disabled] [size=1M]
Capabilities: <access denied>
Kernel driver in use: mlx4_core
Kernel modules: mlx4_core
mstflint, mstflint 4.33.0, Git SHA Hash: d431e08
Segmentation fault
Segmentation fault
$
This mstflint build _does_ work on image files, though:
$ mstflint --version; mstflint -i fw-ConnectX3-rel-2_42_5000-649281-B21_Bx-CLP-8025-FlexBoot-3.4.752.bin q full
mstflint, mstflint 4.33.0, Git SHA Hash: d431e08
Image type: FS2
FW Version: 2.42.5000
FW Release Date: 5.9.2017
MIC Version: 2.0.0
Config Sectors: 1
PRS Name: cx3-1_hp_MCX354A_fdr.prs
Product Version: 02.42.50.00
Rom Info: version_id=8025 type=CLP
type=PXE version=3.4.752
Device ID: 4099
Description: Node Port1 Port2 Sys image
GUIDs: 0002c9000100d050 0002c9000100d051 0002c9000100d052 0002c9000100d050
MACs: 0002c9000001 0002c9000002
VSD: n/a
PSID: HP_0280210019
Geographical Address: ASIC 20
Socket Direct: Yes
Independent Module: Unknown
$
(I do know the above firmware image file is not the correct one for
this card. Simply using it to illustrate that /usr/bin/mstflint is not
segfaulting for every query operation.)
mstflint 4.21.0+1-1 (from bookworm) does work as advertised when
installed on this machine:
$ lspci -v -d 15b3:; mstflint --version; sudo mstflint -d d8:00.0 q; sudo mstflint -d d8:00.0 q full
d8:00.0 Network controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]
Subsystem: Mellanox Technologies Device 0003
Flags: bus master, fast devsel, latency 0, IRQ 83, NUMA node 1, IOMMU group 20
Memory at fbe00000 (64-bit, non-prefetchable) [size=1M]
Memory at 4ffff800000 (64-bit, prefetchable) [size=8M]
Expansion ROM at fbd00000 [disabled] [size=1M]
Capabilities: <access denied>
Kernel driver in use: mlx4_core
Kernel modules: mlx4_core
mstflint, mstflint 4.21.0, Git SHA Hash: N/A
Image type: FS2
FW Version: 2.36.5000
FW Release Date: 26.1.2016
Product Version: 02.36.50.00
Rom Info: type=PXE version=3.4.718
Device ID: 4103
Description: Node Port1 Port2 Sys image
GUIDs: f4521403002c5e00 f4521403002c5e01 f4521403002c5e02 f4521403002c5e03
MACs: f452142c5e01 f452142c5e02
VSD:
PSID: MT_1090111019
Image type: FS2
FW Version: 2.36.5000
FW Release Date: 26.1.2016
MIC Version: 1.5.0
Config Sectors: 2
Product Version: 02.36.50.00
Rom Info: type=PXE version=3.4.718
Device ID: 4103
Description: Node Port1 Port2 Sys image
GUIDs: f4521403002c5e00 f4521403002c5e01 f4521403002c5e02 f4521403002c5e03
MACs: f452142c5e01 f452142c5e02
VSD:
PSID: MT_1090111019
$
The kernel taint reported below is due to having zfs-dkms (2.3.2-2)
modules running in this machine's kernel.