On 05/10/2018 09:00 AM, stan wrote:
On Thu, 10 May 2018 07:57:29 -0700
Paolo Galtieri <pgaltieri(a)gmail.com> wrote:
> Folks,
> twice now in the last 2 days when I have sat in front of my PC I
> have found the following message on the screen:
>
> Kernel not configured for semaphores (System V IPC). Not using udev
> synchronization code.
> Halting.
>
> Since I have not modified my kernel from what I downloaded when I did
> the most recent update I don't understand why this message is
> appearing. Both times it occurred during the night because I find it
> first thing in the morning.
>
> Anyone have any idea what is causing this message to appear?
This is probably something else other than the kernel that has a bug.
You can check if your kernel has semaphores set by going into /boot and
running
grep -i -e 'IPC' [config file for your running kernel]
Easier command:
grep -i -e 'IPC' /boot/config-`uname -r`
It should show something like
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_IPC_NS=y
My suspicion would fall on systemd as a cause for your problem. But
that's just a guess based on the error message, I haven't actually
checked for the error message in the source.
On my F28 VM (updating as I write this, but...):
[root@fedora28-vm sysvipc]# uname -r
4.16.5-300.fc28.x86_64
[root@fedora28-vm sysvipc]# grep -i -e 'IPC' /boot/config-`uname -r`
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
And:
[root@fedora28-vm sysvipc]# ls -l /proc/sysvipc
total 0
-r--r--r--. 1 root root 0 May 10 10:12 msg
-r--r--r--. 1 root root 0 May 10 10:12 sem
-r--r--r--. 1 root root 0 May 10 10:12 shm
which indicates that the SYSV IPC stuff IS there.
It'd be odd for a kernel to be built without semaphores as they are a
heavily-used IPC mechanism. Can you please let us know what version of
the kernel you're using? "uname -r" will give it to you (as I showed
above).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- If you are what you eat, then I'm fast, cheap and greasy! -
----------------------------------------------------------------------