2023-09-15 09:36:35 |
AceLan Kao |
bug |
|
|
added bug |
2023-09-15 09:36:45 |
AceLan Kao |
bug task added |
|
linux-oem-6.5 (Ubuntu) |
|
2023-09-15 09:36:54 |
AceLan Kao |
nominated for series |
|
Ubuntu Mantic |
|
2023-09-15 09:36:54 |
AceLan Kao |
bug task added |
|
linux (Ubuntu Mantic) |
|
2023-09-15 09:36:54 |
AceLan Kao |
bug task added |
|
linux-oem-6.5 (Ubuntu Mantic) |
|
2023-09-15 09:36:54 |
AceLan Kao |
nominated for series |
|
Ubuntu Jammy |
|
2023-09-15 09:36:54 |
AceLan Kao |
bug task added |
|
linux (Ubuntu Jammy) |
|
2023-09-15 09:36:54 |
AceLan Kao |
bug task added |
|
linux-oem-6.5 (Ubuntu Jammy) |
|
2023-09-15 09:37:02 |
AceLan Kao |
linux (Ubuntu Jammy): status |
New |
In Progress |
|
2023-09-15 09:37:07 |
AceLan Kao |
linux (Ubuntu Mantic): status |
New |
In Progress |
|
2023-09-15 09:37:16 |
AceLan Kao |
linux (Ubuntu Jammy): assignee |
|
AceLan Kao (acelankao) |
|
2023-09-15 09:37:19 |
AceLan Kao |
linux (Ubuntu Mantic): assignee |
|
AceLan Kao (acelankao) |
|
2023-09-15 09:37:24 |
AceLan Kao |
linux-oem-6.5 (Ubuntu Jammy): status |
New |
In Progress |
|
2023-09-15 09:37:29 |
AceLan Kao |
linux-oem-6.5 (Ubuntu Mantic): status |
New |
Invalid |
|
2023-09-15 09:37:33 |
AceLan Kao |
linux-oem-6.5 (Ubuntu Jammy): assignee |
|
AceLan Kao (acelankao) |
|
2023-09-15 09:41:17 |
AceLan Kao |
bug |
|
|
added subscriber Canonical Hardware Enablement |
2023-09-15 09:41:21 |
AceLan Kao |
tags |
|
oem-priority originate-from-2025253 somerville |
|
2023-09-15 09:44:10 |
AceLan Kao |
linux (Ubuntu Jammy): status |
In Progress |
Invalid |
|
2023-09-15 09:44:12 |
AceLan Kao |
linux (Ubuntu Jammy): assignee |
AceLan Kao (acelankao) |
|
|
2023-09-15 09:46:30 |
AceLan Kao |
description |
[Impact]
The system with multiple MD RAIDs sometimes hangs while rebooting, that's because of the systemd can't stop and close the MD disk.
[Fix]
This commit fixes the issue.
https://patchwork.kernel.org/project/linux-raid/patch/20230914152416.10819-1-mariusz.tkaczyk@linux.intel.com/
[Test case]
1. Reboot the system with multiple MD RAIDs at least 10 times.
2. Make sure the system can reboot successfully every time.
3. You should not see error messages like below.
[ 205.360738] systemd-shutdown[1]: Stopping MD devices.
[ 205.366384] systemd-shutdown[1]: sd-device-enumerator: Scan all dirs
[ 205.373327] systemd-shutdown[1]: sd-device-enumerator: Scanning /sys/bus
[ 205.380427] systemd-shutdown[1]: sd-device-enumerator: Scanning /sys/class
[ 205.388257] systemd-shutdown[1]: Stopping MD /dev/md127 (9:127).
[ 205.394880] systemd-shutdown[1]: Failed to sync MD block device /dev/md127, ignoring: Input/output error
[ 205.404975] md: md127 stopped.
[ 205.470491] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126).
[ 205.770179] md: md126: resync interrupted.
[ 205.776258] md126: detected capacity change from 1900396544 to 0
[ 205.783349] md: md126 stopped.
[ 205.862258] systemd-shutdown[1]: Stopping MD /dev/md125 (9:125).
[ 205.862435] md: md126 stopped.
[ 205.868376] systemd-shutdown[1]: Failed to sync MD block device /dev/md125, ignoring: Input/output error
[ 205.872845] block device autoloading is deprecated and will be removed.
[ 205.880955] md: md125 stopped.
[ 205.934349] systemd-shutdown[1]: Stopping MD /dev/md124p2 (259:7).
[ 205.947707] systemd-shutdown[1]: Could not stop MD /dev/md124p2: Device or resource busy
[ 205.957004] systemd-shutdown[1]: Stopping MD /dev/md124p1 (259:6).
[ 205.964177] systemd-shutdown[1]: Could not stop MD /dev/md124p1: Device or resource busy
[ 205.973155] systemd-shutdown[1]: Stopping MD /dev/md124 (9:124).
[ 205.979789] systemd-shutdown[1]: Could not stop MD /dev/md124: Device or resource busy
[ 205.988475] systemd-shutdown[1]: Not all MD devices stopped, 4 left.
[Where problems could occur]
It fixes the data race issue, should not introduce any regression. |
[Impact]
The system with multiple MD RAIDs sometimes hangs while rebooting, that's because of the systemd can't stop and close the MD disk.
[Fix]
This commit fixes the issue, and this issue has been introduced by 12a6caf27324 ("md: only delete entries from all_mddevs when the disk is freed") after v6.0
https://patchwork.kernel.org/project/linux-raid/patch/20230914152416.10819-1-mariusz.tkaczyk@linux.intel.com/
[Test case]
1. Reboot the system with multiple MD RAIDs at least 10 times.
2. Make sure the system can reboot successfully every time.
3. You should not see error messages like below.
[ 205.360738] systemd-shutdown[1]: Stopping MD devices.
[ 205.366384] systemd-shutdown[1]: sd-device-enumerator: Scan all dirs
[ 205.373327] systemd-shutdown[1]: sd-device-enumerator: Scanning /sys/bus
[ 205.380427] systemd-shutdown[1]: sd-device-enumerator: Scanning /sys/class
[ 205.388257] systemd-shutdown[1]: Stopping MD /dev/md127 (9:127).
[ 205.394880] systemd-shutdown[1]: Failed to sync MD block device /dev/md127, ignoring: Input/output error
[ 205.404975] md: md127 stopped.
[ 205.470491] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126).
[ 205.770179] md: md126: resync interrupted.
[ 205.776258] md126: detected capacity change from 1900396544 to 0
[ 205.783349] md: md126 stopped.
[ 205.862258] systemd-shutdown[1]: Stopping MD /dev/md125 (9:125).
[ 205.862435] md: md126 stopped.
[ 205.868376] systemd-shutdown[1]: Failed to sync MD block device /dev/md125, ignoring: Input/output error
[ 205.872845] block device autoloading is deprecated and will be removed.
[ 205.880955] md: md125 stopped.
[ 205.934349] systemd-shutdown[1]: Stopping MD /dev/md124p2 (259:7).
[ 205.947707] systemd-shutdown[1]: Could not stop MD /dev/md124p2: Device or resource busy
[ 205.957004] systemd-shutdown[1]: Stopping MD /dev/md124p1 (259:6).
[ 205.964177] systemd-shutdown[1]: Could not stop MD /dev/md124p1: Device or resource busy
[ 205.973155] systemd-shutdown[1]: Stopping MD /dev/md124 (9:124).
[ 205.979789] systemd-shutdown[1]: Could not stop MD /dev/md124: Device or resource busy
[ 205.988475] systemd-shutdown[1]: Not all MD devices stopped, 4 left.
[Where problems could occur]
It fixes the data race issue, should not introduce any regression. |
|
2023-09-16 17:46:38 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-2025253 somerville |
kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-needed-jammy-linux-oem-6.5 |
|
2023-09-19 16:04:06 |
Timo Aaltonen |
linux-oem-6.5 (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2023-09-20 13:34:35 |
AceLan Kao |
bug task added |
|
linux-oem-6.1 (Ubuntu) |
|
2023-09-20 13:34:53 |
AceLan Kao |
linux-oem-6.1 (Ubuntu Jammy): status |
New |
In Progress |
|
2023-09-20 13:34:53 |
AceLan Kao |
linux-oem-6.1 (Ubuntu Jammy): assignee |
|
AceLan Kao (acelankao) |
|
2023-09-20 13:35:04 |
AceLan Kao |
linux-oem-6.1 (Ubuntu Mantic): status |
New |
Invalid |
|
2023-09-22 07:41:45 |
Timo Aaltonen |
summary |
Infiniate systemd loop when power off the machine with multiple MD RAIDs |
Infinite systemd loop when power off the machine with multiple MD RAIDs |
|
2023-09-25 13:41:47 |
AceLan Kao |
tags |
kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-needed-jammy-linux-oem-6.5 |
kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.5 |
|
2023-09-27 09:56:26 |
Timo Aaltonen |
linux-oem-6.1 (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2023-09-28 09:45:38 |
Ofir Gal |
bug |
|
|
added subscriber Ofir Gal |
2023-10-03 10:26:53 |
Launchpad Janitor |
linux-oem-6.5 (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-10-05 20:59:37 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.5 |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.5 verification-needed-jammy-linux-oem-6.1 |
|
2023-10-13 10:06:12 |
AceLan Kao |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.5 verification-needed-jammy-linux-oem-6.1 |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
linux-oem-6.1 (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
cve linked |
|
2023-4244 |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
cve linked |
|
2023-42572 |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
cve linked |
|
2023-42752 |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
cve linked |
|
2023-42755 |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
cve linked |
|
2023-42756 |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
cve linked |
|
2023-4881 |
|
2023-10-18 12:07:01 |
Launchpad Janitor |
cve linked |
|
2023-5197 |
|
2023-10-25 14:25:17 |
Stefan Bader |
linux (Ubuntu Mantic): importance |
Undecided |
Medium |
|
2023-10-25 14:25:17 |
Stefan Bader |
linux (Ubuntu Mantic): status |
In Progress |
Fix Committed |
|
2023-11-01 07:31:39 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-needed-mantic-linux |
|
2023-11-02 01:03:27 |
AceLan Kao |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-needed-mantic-linux |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux |
|
2023-12-05 09:37:22 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-lowlatency |
|
2023-12-05 09:37:55 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-lowlatency |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
|
2023-12-05 09:41:57 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-azure verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
|
2023-12-05 09:42:27 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-azure verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-gcp-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-azure verification-needed-mantic-linux-gcp verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
|
2023-12-05 09:46:29 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-gcp-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-mantic-linux-azure verification-needed-mantic-linux-gcp verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
kernel-spammed-jammy-linux-hwe-6.5-v2 kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-gcp-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-jammy-linux-hwe-6.5 verification-needed-mantic-linux-azure verification-needed-mantic-linux-gcp verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
|
2023-12-12 14:11:27 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-hwe-6.5-v2 kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-gcp-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-jammy-linux-hwe-6.5 verification-needed-mantic-linux-azure verification-needed-mantic-linux-gcp verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
kernel-spammed-jammy-linux-hwe-6.5-v2 kernel-spammed-jammy-linux-nvidia-6.5-v2 kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-gcp-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-jammy-linux-hwe-6.5 verification-needed-jammy-linux-nvidia-6.5 verification-needed-mantic-linux-azure verification-needed-mantic-linux-gcp verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
|
2024-01-11 10:31:41 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-hwe-6.5-v2 kernel-spammed-jammy-linux-nvidia-6.5-v2 kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-gcp-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-jammy-linux-hwe-6.5 verification-needed-jammy-linux-nvidia-6.5 verification-needed-mantic-linux-azure verification-needed-mantic-linux-gcp verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
kernel-spammed-jammy-linux-hwe-6.5-v2 kernel-spammed-jammy-linux-lowlatency-hwe-6.5-v2 kernel-spammed-jammy-linux-nvidia-6.5-v2 kernel-spammed-jammy-linux-oem-6.1-v2 kernel-spammed-jammy-linux-oem-6.5-v2 kernel-spammed-mantic-linux-azure-v2 kernel-spammed-mantic-linux-gcp-v2 kernel-spammed-mantic-linux-laptop-v2 kernel-spammed-mantic-linux-lowlatency-v2 kernel-spammed-mantic-linux-v2 oem-priority originate-from-2025253 somerville verification-done-jammy-linux-oem-6.1 verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux verification-needed-jammy-linux-hwe-6.5 verification-needed-jammy-linux-lowlatency-hwe-6.5 verification-needed-jammy-linux-nvidia-6.5 verification-needed-mantic-linux-azure verification-needed-mantic-linux-gcp verification-needed-mantic-linux-laptop verification-needed-mantic-linux-lowlatency |
|
2024-07-16 18:46:34 |
Brian Murray |
linux (Ubuntu Mantic): status |
Fix Committed |
Won't Fix |
|