Package: src:linux Version: 5.19.11-1~bpo11+1 Severity: important Dear maintainer,
I have a desktop with 3 polls over RAID1 (2 SSD, 2 HDD, plus 2 SSD). The current kernel on BPO creates an infinite loop when shutting down the system. I can see several messages like: systemd-shutdown[1]: Not all MD devices stopped. 1 left. systemd-shutdown[1]: Stopping MD devices. systemd-shutdown[1]: Stopping MD /dev/md2 (9:2) md: md2 stopped. systemd-shutdown[1]: Not all MD devices stopped. 1 left. systemd-shutdown[1]: Stopping MD devices. systemd-shutdown[1]: Stopping MD /dev/md2 (9:2) md: md2 stopped. systemd-shutdown[1]: Not all MD devices stopped. 1 left. systemd-shutdown[1]: Stopping MD devices. systemd-shutdown[1]: Stopping MD /dev/md2 (9:2) md: md2 stopped. systemd-shutdown[1]: Not all MD devices stopped. 1 left. systemd-shutdown[1]: Stopping MD devices. systemd-shutdown[1]: Stopping MD /dev/md2 (9:2) [...] block device autoloading is deprecated and will be removed block device autoloading is deprecated and will be removed block device autoloading is deprecated and will be removed block device autoloading is deprecated and will be removed block device autoloading is deprecated and will be removed block device autoloading is deprecated and will be removed block device autoloading is deprecated and will be removed block device autoloading is deprecated and will be removed [...] md: md2 stopped. md: md2 stopped. md: md2 stopped. md: md2 stopped. md: md2 stopped. md: md2 stopped. md: md2 stopped. [...] systemd-shutdown[1]: Not all MD devices stopped. 1 left. systemd-shutdown[1]: Stopping MD devices. systemd-shutdown[1]: Stopping MD /dev/md2 (9:2) md: md2 stopped. systemd-shutdown[1]: Not all MD devices stopped. 1 left. systemd-shutdown[1]: Stopping MD devices. systemd-shutdown[1]: Stopping MD /dev/md2 (9:2) md: md2 stopped. [...] There is a solution from Arch Linux[1]: "Arch disabled BLOCK_LEGACY_AUTOLOAD for 5.18 which broke mdraid". [1] https://bbs.archlinux.org/viewtopic.php?id=279383 Please, consider disabling the deprecated BLOCK_LEGACY_AUTOLOAD, enabled by default in current kernel on Debian: $ cat /boot/config-5.19.0-0.deb11.2-amd64 | grep BLOCK_LEGACY_AUTOLOAD CONFIG_BLOCK_LEGACY_AUTOLOAD=y Thanks in advance. Regards, Eriberto -- Package-specific info: ** Version: Linux version 5.19.0-0.deb11.2-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1~bpo11+1 (2022-10-03) ** Command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-0.deb11.2-amd64 root=UUID=daa37e3e-4081-445f-ba72-16c898462277 ro ** Tainted: POE (12289) * proprietary module was loaded * externally-built ("out-of-tree") module was loaded * unsigned module was loaded ** Kernel log: Unable to read kernel log; any relevant messages should be attached ** Model information sys_vendor: ASUS product_name: System Product Name product_version: System Version chassis_vendor: Default string chassis_version: Default string bios_vendor: American Megatrends Inc. bios_version: 1017 board_vendor: ASUSTeK COMPUTER INC. board_name: PRIME B560-PLUS board_version: Rev 1.xx ** Loaded modules: tls nfnetlink bridge stp llc binfmt_misc intel_rapl_msr intel_rapl_common mei_hdcp nls_ascii nls_cp437 vfat fat x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic kvm ledtrig_audio snd_hda_codec_hdmi snd_usb_audio snd_hda_intel irqbypass snd_intel_dspcfg snd_intel_sdw_acpi nvidia_drm(POE) drm_kms_helper nvidia_modeset(POE) rapl intel_cstate eeepc_wmi asus_wmi platform_profile battery efi_pstore sparse_keymap rfkill snd_hda_codec uvcvideo snd_usbmidi_lib snd_hda_core snd_rawmidi videobuf2_vmalloc snd_seq_device snd_hwdep videobuf2_memops videobuf2_v4l2 snd_pcm joydev evdev videobuf2_common intel_uncore snd_timer pcspkr wmi_bmof iTCO_wdt snd intel_pmc_bxt mei_me iTCO_vendor_support soundcore mei watchdog ee1004 sg intel_pmc_core acpi_pad acpi_tad button nvidia(POE) v4l2loopback(OE) videodev mc dummy parport_pc ppdev lp parport loop dm_crypt dm_mod drm fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic hid_logitech_hidpp hid_logitech_dj btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid0 multipath linear hid_generic usbhid hid raid1 md_mod sd_mod t10_pi crc64_rocksoft_generic crc64_rocksoft crc_t10dif crct10dif_generic crc64 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ahci ghash_clmulni_intel libahci xhci_pci libata xhci_hcd e1000e aesni_intel usbcore crypto_simd scsi_mod cryptd ptp intel_lpss_pci i2c_i801 pps_core intel_lpss i2c_smbus scsi_common idma64 usb_common wmi fan video ** PCI devices: 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9b43] (rev 05) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 0 IOMMU group: 0 Capabilities: <access denied> Kernel driver in use: skl_uncore 00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 05) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 121 IOMMU group: 1 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00004000-00004fff [size=4K] Memory behind bridge: b2000000-b30fffff [size=17M] Prefetchable memory behind bridge: 00000000a0000000-00000000b1ffffff [size=288M] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA+ VGA16+ MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport 00:14.0 USB controller [0c03]: Intel Corporation Device [8086:43ed] (rev 11) (prog-if 30 [XHCI]) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 125 IOMMU group: 2 Region 0: Memory at 4000100000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 00:14.2 RAM memory [0500]: Intel Corporation Device [8086:43ef] (rev 11) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- IOMMU group: 2 Region 0: Memory at 4000114000 (64-bit, non-prefetchable) [disabled] [size=16K] Region 2: Memory at 400011b000 (64-bit, non-prefetchable) [disabled] [size=4K] Capabilities: <access denied> 00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:43e8] (rev 11) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 27 IOMMU group: 3 Region 0: Memory at 400011a000 (64-bit, non-prefetchable) [virtual] [size=4K] Capabilities: <access denied> Kernel driver in use: intel-lpss Kernel modules: intel_lpss_pci 00:16.0 Communication controller [0780]: Intel Corporation Device [8086:43e0] (rev 11) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 127 IOMMU group: 4 Region 0: Memory at 4000119000 (64-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: mei_me Kernel modules: mei_me 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11) (prog-if 01 [AHCI 1.0]) DeviceName: Onboard - SATA Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 126 IOMMU group: 5 Region 0: Memory at b3b20000 (32-bit, non-prefetchable) [size=8K] Region 1: Memory at b3b23000 (32-bit, non-prefetchable) [size=256] Region 2: I/O ports at 5050 [size=8] Region 3: I/O ports at 5040 [size=4] Region 4: I/O ports at 5020 [size=32] Region 5: Memory at b3b22000 (32-bit, non-prefetchable) [size=2K] Capabilities: <access denied> Kernel driver in use: ahci Kernel modules: ahci 00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:43bc] (rev 11) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin ? routed to IRQ 122 IOMMU group: 6 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: [disabled] Memory behind bridge: [disabled] Prefetchable memory behind bridge: [disabled] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport 00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:43b0] (rev 11) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin ? routed to IRQ 123 IOMMU group: 7 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 00003000-00003fff [size=4K] Memory behind bridge: b3100000-b3afffff [size=10M] Prefetchable memory behind bridge: 0000004000200000-00000040003fffff [size=2M] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4387] (rev 11) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 IOMMU group: 8 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:f0c8] (rev 11) DeviceName: Onboard - Sound Subsystem: ASUSTeK Computer Inc. Device [1043:87fb] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 128 IOMMU group: 8 Region 0: Memory at 4000110000 (64-bit, non-prefetchable) [size=16K] Region 4: Memory at 4000000000 (64-bit, non-prefetchable) [size=1M] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:43a3] (rev 11) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 16 IOMMU group: 8 Region 0: Memory at 4000118000 (64-bit, non-prefetchable) [size=256] Region 4: I/O ports at efa0 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c_i801 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:43a4] (rev 11) DeviceName: Onboard - Other Subsystem: ASUSTeK Computer Inc. Device [1043:8694] Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- IOMMU group: 8 Region 0: Memory at b3b24000 (32-bit, non-prefetchable) [size=4K] 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (14) I219-V [8086:15fa] (rev 11) DeviceName: Onboard - Ethernet Subsystem: ASUSTeK Computer Inc. Ethernet Connection (14) I219-V [1043:8672] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 124 IOMMU group: 8 Region 0: Memory at b3b00000 (32-bit, non-prefetchable) [size=128K] Capabilities: <access denied> Kernel driver in use: e1000e Kernel modules: e1000e 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GT 740] [10de:0fc8] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ZOTAC International (MCO) Ltd. GK107 [GeForce GT 740] [19da:4291] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 129 IOMMU group: 1 Region 0: Memory at b2000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at a0000000 (64-bit, prefetchable) [size=256M] Region 3: Memory at b0000000 (64-bit, prefetchable) [size=32M] Region 5: I/O ports at 4000 [size=128] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: nvidia Kernel modules: nvidia 01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1) Subsystem: ZOTAC International (MCO) Ltd. GK107 HDMI Audio Controller [19da:4291] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 17 IOMMU group: 1 Region 0: Memory at b3080000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel ** USB devices: Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 1a2c:4c5e China Resource Semico Co., Ltd USB Keyboard Bus 001 Device 006: ID 046d:c52f Logitech, Inc. Unifying Receiver Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub Bus 001 Device 003: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller Bus 001 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270 Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -- System Information: Debian Release: 11.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.19.0-0.deb11.2-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linux-image-5.19.0-0.deb11.2-amd64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.140 ii kmod 28-1 ii linux-base 4.6 Versions of packages linux-image-5.19.0-0.deb11.2-amd64 recommends: ii apparmor 2.13.6-10 ii firmware-linux-free 20200122-1 Versions of packages linux-image-5.19.0-0.deb11.2-amd64 suggests: pn debian-kernel-handbook <none> ii extlinux 3:6.04~git20190206.bf6db5b4+dfsg1-3+b1 ii grub-efi-amd64 2.06-3~deb11u2 pn linux-doc-5.19 <none> Versions of packages linux-image-5.19.0-0.deb11.2-amd64 is related to: pn firmware-amd-graphics <none> pn firmware-atheros <none> pn firmware-bnx2 <none> pn firmware-bnx2x <none> pn firmware-brcm80211 <none> pn firmware-cavium <none> pn firmware-intel-sound <none> pn firmware-intelwimax <none> pn firmware-ipw2x00 <none> pn firmware-ivtv <none> pn firmware-iwlwifi <none> pn firmware-libertas <none> pn firmware-linux-nonfree <none> ii firmware-misc-nonfree 20210315-3 pn firmware-myricom <none> pn firmware-netxen <none> pn firmware-qlogic <none> ii firmware-realtek 20210315-3 pn firmware-samsung <none> pn firmware-siano <none> pn firmware-ti-connectivity <none> pn xen-hypervisor <none> -- no debconf information