Package: mstflint
Version: 4.33.0+1-1.1
Severity: important

.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.

-- System Information:
Debian Release: 13.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.73+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mstflint depends on:
ii  libc6           2.41-12+deb13u2
ii  libexpat1       2.7.1-2
ii  libgcc-s1       14.2.0-19
ii  libibmad5       56.1-1
ii  libmuparser2v5  2.3.4-1+b1
ii  libsqlite3-0    3.46.1-7+deb13u1
ii  libssl3t64      3.5.5-1~deb13u1
ii  libstdc++6      14.2.0-19
ii  python3         3.13.5-1
ii  zlib1g          1:1.3.dfsg+really1.3.1-1+b1

mstflint recommends no packages.

mstflint suggests no packages.

-- no debconf information

Reply via email to