Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86690 > unrolled thread

Bug#1086175: Kernel Panic on shutdown or reboot on system with rootfs installed on RAID1

Started byAlessandro Baggi <alessandro.baggi@gmail.com>
First post2025-03-31 11:30 +0200
Last post2025-04-07 16:30 +0200
Articles 3 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1086175: Kernel Panic on shutdown or reboot on system with rootfs installed on RAID1 Alessandro Baggi <alessandro.baggi@gmail.com> - 2025-03-31 11:30 +0200
    Bug#1086175: linux-image-6.1.0-26-amd64: panic at shutdown with rootfs on RAID1 while initialy resyncing Alessandro Baggi <alessandro.baggi@gmail.com> - 2025-04-07 09:20 +0200
      Bug#1086175: linux-image-6.1.0-26-amd64: panic at shutdown with rootfs on RAID1 while initialy resyncing Alessandro Baggi <alessandro.baggi@gmail.com> - 2025-04-07 16:30 +0200

#86690 — Bug#1086175: Kernel Panic on shutdown or reboot on system with rootfs installed on RAID1

FromAlessandro Baggi <alessandro.baggi@gmail.com>
Date2025-03-31 11:30 +0200
SubjectBug#1086175: Kernel Panic on shutdown or reboot on system with rootfs installed on RAID1
Message-ID<KwjCV-9Z6M-5@gated-at.bofh.it>
Dear Maintainer,
I have the same problem since I installed Debian 12 but this does not 
include LUKS and initial sync problem.

The problem occours randomly when I run 'shutdown -h now' or 'reboot' or 
when I shutoff from XFCE menu.

The installation is performed via graphical installer of debian 12, 
setting swap and rootfs on mdadm raid 1.

The problem occurs on several machines with several configuration that I 
tried:

Asus Prime Z390-A + i7 8700k with 2 2.5 SATA SSD
Asus Prime Z390-A + i7 8700k with 2 SATA SSDs (one 2.5 e one M.2)
Asus Prime Z490-A + i9 10850k with 2 NMVE M.2 disks
Asus Prime Z490-A + i9 10850k with 2 2.5 SATA SSDs
Asus ROG Strix Z890-F + Core Ultra 9 285k with 2 NVME M.2 disks
Virtual Machine (KVM) with UEFI emulation, 2 virtual disks and raid1 
configured via the installer.

I tested also using 3.5 HDD and the problem does not appear.

I found this 
https://lore.kernel.org/lkml/ad286d5c-fd60-682f-bd89-710a79a710a0@huaweicloud.com/T/

I got the same errors codes.

[toc] | [next] | [standalone]


#86768 — Bug#1086175: linux-image-6.1.0-26-amd64: panic at shutdown with rootfs on RAID1 while initialy resyncing

FromAlessandro Baggi <alessandro.baggi@gmail.com>
Date2025-04-07 09:20 +0200
SubjectBug#1086175: linux-image-6.1.0-26-amd64: panic at shutdown with rootfs on RAID1 while initialy resyncing
Message-ID<KyOVX-bJUQ-5@gated-at.bofh.it>
In reply to#86690
Hi,
I'm not sure what is the correct process. I've compiled kernel in the 
past but not for such case.

For the current mainline kernel master branch do you mean 6.15-rc1 or 6.14.

I will download it from kernel.org and apply patch and recompile it 
manually and test it.

If this is not the correct procedure, please share the compiled kernel 
and I will test it.

Best regards.

Alessandro.

[toc] | [prev] | [next] | [standalone]


#86770 — Bug#1086175: linux-image-6.1.0-26-amd64: panic at shutdown with rootfs on RAID1 while initialy resyncing

FromAlessandro Baggi <alessandro.baggi@gmail.com>
Date2025-04-07 16:30 +0200
SubjectBug#1086175: linux-image-6.1.0-26-amd64: panic at shutdown with rootfs on RAID1 while initialy resyncing
Message-ID<KyVE6-bOw8-7@gated-at.bofh.it>
In reply to#86768
Hi,
I downloaded kernel 6.14.0 from kernel.org, applied the md patch and 
compiled it with the following procedure:

cd /usr/src
tar -xJf linux-6.14.tar.xz
ln -s linux-6.14 linux
cp /boot/config-6.1.0-32-amd64 /usr/src/linux/.config
cd linux
patch -p1 < ../md.patch
make -j12 bindeb-pkg
cd ..
dpkg -i *.deb

Then I started the testing. The only way to reproduce the problem for me 
is rebooting manually the PC until it manifest the kernel panic.

Test was on Z390-A + i7-8700k + 8 GB DDR with rootfs on 1 SSD M.2(SATA) 
and 1 SSD SATA 2.5

First I tried with the kernel on stable (6.1) and at the third reboot it 
panicked (I started with stable kernel to ensure that the panic 
occourred on that configuration before starting test with the patched 
kernel)

About the patched kernel, I run 50 manual reboot with some shutdown 
without any problem or kernel panic.

I don't know if this could be marked as fixed, maybe more test is needed.

In the next days I will perform some test on Z890-Z + Core Ultra 9 285k 
+ 32 GB DDR5 and report back results.

Hope that the patch could be backported to stable, backports kernel and 
testing (that is in freeze state).

For now it works. I will update you in the next few days.

Best regards.

Alessandro.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web