Bug 1371991 - Software RAID broken! "Kernel not configured for semaphores (System V IPC). Not using udev synchronisation code. mdadm: error waiting for XXX to become clean" during shutdown [NEEDINFO]
Summary: Software RAID broken! "Kernel not configured for semaphores (System V IPC). N...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 15:42 UTC by robert.shteynfeld
Modified: 2017-04-28 17:28 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-28 17:28:06 UTC
Type: Bug
Embargoed:
jforbes: needinfo?


Attachments (Terms of Use)

Description robert.shteynfeld 2016-08-31 15:42:30 UTC
Description of problem:

During shutdown the system displays an error message something along the lines of "error waiting for /dev/md126 to be clean".  Upon reboot, the "mdadm" starts a full resync of the mirrored drive.

Version-Release number of selected component (if applicable):

4.6.7-300.fc24.x86_64

How reproducible:

happens every shutdown

Steps to Reproduce:
1. initiate system shutdown
2. wait for error message right before power-off
3.

Actual results:

mirrored drive keeps resyncing

Expected results:

clean drive

Additional info:

Comment 1 robert.shteynfeld 2016-09-10 16:16:52 UTC
See bug https://bugzilla.redhat.com/show_bug.cgi?id=1359352

Comment 2 robert.shteynfeld 2016-09-10 17:45:25 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=1359352

Comment 3 robert.shteynfeld 2016-09-10 17:46:00 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=1359352

Comment 4 robert.shteynfeld 2016-09-16 14:46:36 UTC
ping

Comment 5 Josh Boyer 2016-09-16 15:16:15 UTC
SYS V Semaphores are enabled in the kernel via the CONFIG_SYSVIPC config option.  That has been enabled in the kernel forever and continues to be.

Comment 6 robert.shteynfeld 2016-09-20 13:08:29 UTC
Thanks, Josh.  Even if its not a kernel issue it is still broken and was broken recently.  I am not in a position to figure out who broke it, so what the process for getting this to the right people?

Comment 7 Oleg Samarin 2016-09-20 18:58:29 UTC
I have the same issue: https://bugzilla.redhat.com/show_bug.cgi?id=1375002

Comment 8 Laura Abbott 2016-09-23 19:22:06 UTC
*********** MASS BUG UPDATE **************
 
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 24 kernel bugs.
 
Fedora 24 has now been rebased to 4.7.4-200.fc24.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you have moved on to Fedora 25, and are still experiencing this issue, please change the version to Fedora 25.
 
If you experience different issues, please open a new bug report for those.

Comment 9 Oleg Samarin 2016-09-24 08:18:00 UTC
(In reply to Laura Abbott from comment #8)
> *********** MASS BUG UPDATE **************
>  
> Fedora 24 has now been rebased to 4.7.4-200.fc24.  Please test this kernel
> update (or newer) and let us know if you issue has been resolved or if it is
> still present with the newer kernel.
>  

Both issues "Kernel not configured for semaphores (System V IPC). Not using udev synchronisation code" and "Software RAID broken!" still present with 4.7.4-200.fc24

Comment 10 Oleg Samarin 2016-09-24 08:25:23 UTC
"Kernel not configured for semaphores (System V IPC). Not using udev (In reply to robert.shteynfeld from comment #6)
> Thanks, Josh.  Even if its not a kernel issue it is still broken and was
> broken recently.  I am not in a position to figure out who broke it, so what
> the process for getting this to the right people?

"Kernel not configured for semaphores (System V IPC). Not using udev synchronisation code" is not a reason of "Software RAID broken!"

The true reason of "Software RAID broken!" is a wrong selinux policy for mdadm. 

I'd like to change title of this issue, rest only the semaphores and adress it back to kernel. Broking of software raid is a subject of another bug: https://bugzilla.redhat.com/show_bug.cgi?id=1375002

Comment 11 Justin M. Forbes 2017-04-11 14:50:52 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 24 kernel bugs.

Fedora 25 has now been rebased to 4.10.9-100.fc24.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 26, and are still experiencing this issue, please change the version to Fedora 26.

If you experience different issues, please open a new bug report for those.

Comment 12 Justin M. Forbes 2017-04-28 17:28:06 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the 
relevant data from the latest kernel you are running and any data that might have been requested previously.


Note You need to log in before you can comment on or make changes to this bug.