• Bug#1107142: linux-image-6.12.27-amd64: mpt3sas LSI SAS2008 [1000:0072]

    From goose@1:229/2 to All on Mon Jun 2 09:20:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Package: src:linux
    Version: 6.12.27-1
    Severity: important
    Tags: upstream
    X-Debbugs-Cc: [email protected]
    User: [email protected]
    Usertags: amd64

    After upgrading from Debian Bookworm to Trixie, and subsequently to kernel linux-image-6.12.27-amd64 (version 6.12.27-1), my LSI SAS2008 HBA is no longer being initialized correctly, preventing access to the attached SAS drives. This appears to be a
    regression, as the LSI SAS2008 HBA and attached SAS drives work perfectly under kernel 6.1.0-37-amd64. The SAS drives connected to the LSI HBA are not detected by the system (do not appear in lsblk). The mpt3sas driver loads but fails to initialize the
    card. lspci -nnk for device 04:00.0 shows Kernel modules: mpt3sas but does not show a "Kernel driver in use" line when the failure occurs.

    What I believe are the key error messages in dmesg are:

    mpt3sas version 48.100.00.00 loaded
    mpt3sas 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
    mpt3sas 0000:04:00.0: BAR 1: can't reserve [mem 0xWWWWWWWW-0xYYYYYYYY 64bit] <-- Please replace with the exact memory addresses from your latest dmesg on 6.12.27
    mpt2sas_cm0: pci_request_selected_regions: failed
    mpt2sas_cm0: failure at drivers/scsi/mpt3sas/mpt3sas_scsih.c:12319/_scsih_probe()!

    Adding the kernel boot parameter pci=nocrs did not resolve the BAR 1 reservation error or the probe failure for mpt3sas on kernel 6.12.27-amd64. I am currently booting in to kernel 6.1.0-37-amd64 as a workaround.

    Hardware Details:
    SAS HBA: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
    PCI ID: [1000:0072]
    Subsystem: Broadcom / LSI 9211-8i [1000:3020]
    PCI Address: 04:00.0
    Motherboard: Supermicro X9DRi-LN4+

    -- Package-specific info:
    ** Version:
    Linux version 6.12.27-amd64 ([email protected]) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.12.27-1 (2025-05-06)

    ** Command line:
    BOOT_IMAGE=/vmlinuz-6.12.27-amd64 root=/dev/mapper/Vergil--vg--crypt-root ro root=/dev/mapper/Vergil--vg--crypt-root quiet splash

    ** Tainted: POE (12289)
    * proprietary module was loaded
    * externally-built ("out-of-tree") module was loaded
    * unsigned module was loaded

    ** Kernel log:
    [ 44.308236] tveeprom: audio processor is CX23888 (idx 40)
    [ 44.308238] tveeprom: decoder processor is CX23888 (idx 34)
    [ 44.308240] tveeprom: has no radio, has IR receiver, has no IR transmitter
    [ 44.308243] cx23885: cx23885[0]: hauppauge eeprom: model=22111
    [ 44.401387] mgag200 0000:0c:01.0: [drm] fb0: mgag200drmfb frame buffer device
    [ 44.401533] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:09:00.1/sound/card0/input7
    [ 44.401602] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0000:09:00.1/sound/card0/input8
    [ 44.401691] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0000:09:00.1/sound/card0/input9
    [ 44.401745] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0000:09:00.1/sound/card0/input10
    [ 44.951706] cx25840 8-0044: cx23888 A/V decoder found @ 0x88 (cx23885[0])
    [ 44.982940] Adding 999420k swap on /dev/mapper/Vergil--vg--crypt-swap_1. Priority:-2 extents:1 across:999420k SS
    [ 45.015476] EDAC sbridge: Seeking for: PCI ID 8086:3ca0
    [ 45.015500] EDAC sbridge: Seeking for: PCI ID 8086:3ca0
    [ 45.015514] EDAC sbridge: Seeking for: PCI ID 8086:3ca0
    [ 45.015519] EDAC sbridge: Seeking for: PCI ID 8086:3ca8
    [ 45.015525] EDAC sbridge: Seeking for: PCI ID 8086:3ca8
    [ 45.015531] EDAC sbridge: Seeking for: PCI ID 8086:3ca8
    [ 45.015533] EDAC sbridge: Seeking for: PCI ID 8086:3c71
    [ 45.015538] EDAC sbridge: Seeking for: PCI ID 8086:3c71
    [ 45.015545] EDAC sbridge: Seeking for: PCI ID 8086:3c71
    [ 45.015547] EDAC sbridge: Seeking for: PCI ID 8086:3caa
    [ 45.015553] EDAC sbridge: Seeking for: PCI ID 8086:3caa
    [ 45.015559] EDAC sbridge: Seeking for: PCI ID 8086:3caa
    [ 45.015561] EDAC sbridge: Seeking for: PCI ID 8086:3cab
    [ 45.015566] EDAC sbridge: Seeking for: PCI ID 8086:3cab
    [ 45.015572] EDAC sbridge: Seeking for: PCI ID 8086:3cab
    [ 45.015574] EDAC sbridge: Seeking for: PCI ID 8086:3cac
    [ 45.015580] EDAC sbridge: Seeking for: PCI ID 8086:3cac
    [ 45.015586] EDAC sbridge: Seeking for: PCI ID 8086:3cac
    [ 45.015587] EDAC sbridge: Seeking for: PCI ID 8086:3cad
    [ 45.015593] EDAC sbridge: Seeking for: PCI ID 8086:3cad
    [ 45.015599] EDAC sbridge: Seeking for: PCI ID 8086:3cad
    [ 45.015601] EDAC sbridge: Seeking for: PCI ID 8086:3cb8
    [ 45.015607] EDAC sbridge: Seeking for: PCI ID 8086:3cb8
    [ 45.015613] EDAC sbridge: Seeking for: PCI ID 8086:3cb8
    [ 45.015614] EDAC sbridge: Seeking for: PCI ID 8086:3cf4
    [ 45.015619] EDAC sbridge: Seeking for: PCI ID 8086:3cf4
    [ 45.015625] EDAC sbridge: Seeking for: PCI ID 8086:3cf4
    [ 45.015627] EDAC sbridge: Seeking for: PCI ID 8086:3cf6
    [ 45.015632] EDAC sbridge: Seeking for: PCI ID 8086:3cf6
    [ 45.015638] EDAC sbridge: Seeking for: PCI ID 8086:3cf6
    [ 45.015640] EDAC sbridge: Seeking for: PCI ID 8086:3cf5
    [ 45.015646] EDAC sbridge: Seeking for: PCI ID 8086:3cf5
    [ 45.015651] EDAC sbridge: Seeking for: PCI ID 8086:3cf5
    [ 45.015845] EDAC MC0: Giving out device to module sb_edac controller Sandy Bridge SrcID#0_Ha#0: DEV 0000:7f:0e.0 (INTERRUPT)
    [ 45.016007] EDAC MC1: Giving out device to module sb_edac controller Sandy Bridge SrcID#1_Ha#0: DEV 0000:ff:0e.0 (INTERRUPT)
    [ 45.016010] EDAC sbridge: Ver: 1.1.2
    [ 45.027651] EXT4-fs (nvme5n1p2): mounting ext2 file system using the ext4 subsystem
    [ 45.029368] EXT4-fs (nvme5n1p2): mounted filesystem 2eb36209-ae2d-4f43-b6b2-064ffd61775f r/w without journal. Quota mode: none.
    [ 45.032074] EXT4-fs (dm-4): mounted filesystem 8e5a6ad9-b665-4bcd-8e11-940c3ad9d8a9 r/w with ordered data mode. Quota mode: none.

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From lord2y@1:229/2 to goose on Wed Jun 4 17:20:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Hello,

    On Monday, June 2nd, 2025 at 9:11 AM, goose <[email protected]> wrote:

    Package: src:linux
    Version: 6.12.27-1
    Severity: important
    Tags: upstream
    X-Debbugs-Cc: [email protected]
    User: [email protected]
    Usertags: amd64

    After upgrading from Debian Bookworm to Trixie, and subsequently to kernel linux-image-6.12.27-amd64 (version 6.12.27-1), my LSI SAS2008 HBA is no longer being initialized correctly, preventing access to the attached SAS drives. This appears to be a
    regression, as the LSI SAS2008 HBA and attached SAS drives work perfectly under kernel 6.1.0-37-amd64. The SAS drives connected to the LSI HBA are not detected by the system (do not appear in lsblk). The mpt3sas driver loads but fails to initialize the
    card. lspci -nnk for device 04:00.0 shows Kernel modules: mpt3sas but does not show a "Kernel driver in use" line when the failure occurs.

    What I believe are the key error messages in dmesg are:

    mpt3sas version 48.100.00.00 loaded
    mpt3sas 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control mpt3sas 0000:04:00.0: BAR 1: can't reserve [mem 0xWWWWWWWW-0xYYYYYYYY 64bit] <-- Please replace with the exact memory addresses from your latest dmesg on 6.12.27
    mpt2sas_cm0: pci_request_selected_regions: failed
    mpt2sas_cm0: failure at drivers/scsi/mpt3sas/mpt3sas_scsih.c:12319/_scsih_probe()!

    Adding the kernel boot parameter pci=nocrs did not resolve the BAR 1 reservation error or the probe failure for mpt3sas on kernel 6.12.27-amd64. I am currently booting in to kernel 6.1.0-37-amd64 as a workaround.

    Can you try booting 6.12.27-amd64 passing the kernel boot option pci=realloc=off?

    Hope this helps.

    Best,
    A.

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)