Skip to contentSkip to conversation

Getting 'incorrect semaphore state' on self configured server kernel

linux-lvm Mark van Dijk 2 participants 3 messages Aug 7, 2012 – Aug 12, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

When I run lvcreate and lvremove I get the errors you can see at the bottom of this email. I have been seeing this on kernels I configured from scratch, right now this is version 3.5 on an x64 running ArchLinux.

I must have made a mistake with the kernel's options or I am overlooking something. It's clearly a configuration option because I don't get these errors with ArchLinux's distribution kernel. So what am I doing wrong?

Note, LVM does work fine apart from these issues.

After many compiling iterations I'm all out of ideas and while I'm aware that one can work around the errors LV's with the -Zn options, I'd rather get this stuff fixed :)

This is my kernel config: http://pastebin.com/isVsziSe

The error:

# lvcreate -L100M -n foobar -v array 
/dev/array/foobar: not found: device not cleared
Aborting. Failed to wipe start of new LV.
semid 983040: semop failed for cookie 0xd4d19ee: incorrect semaphore
state Failed to set a proper state for notification semaphore
identified by cookie value 223156718 (0xd4d19ee) to initialize waiting
for incoming notifications.

I appreciate all help I can get.

Signature · 4 lines
Kind regards,
Mark van Dijk.                  ,-----------------------------------
-------------------------------'           Tue Aug 07 12:00 UTC 2012
Today is Prickle-Prickle, the 73rd day of Confusion in the YOLD 3178
#1 lore raw
Quoted 10 lines
# lvcreate -L100M -n foobar -v array 
/dev/array/foobar: not found: device not cleared
Aborting. Failed to wipe start of new LV.
semid 983040: semop failed for cookie 0xd4d19ee: incorrect semaphore
state Failed to set a proper state for notification semaphore
identified by cookie value 223156718 (0xd4d19ee) to initialize waiting
for incoming notifications.

I appreciate all help I can get.

I still haven't solved this.. who is willing to lend me a hand please?

#2 lore raw

A diff -u of a working kernel config vs a non-working config would possibly help.
--
Scott Merrilees

Quoted 18 lines · Mark van Dijk
Quoted 10 lines
# lvcreate -L100M -n foobar -v array
/dev/array/foobar: not found: device not cleared
Aborting. Failed to wipe start of new LV.
semid 983040: semop failed for cookie 0xd4d19ee: incorrect semaphore
state Failed to set a proper state for notification semaphore
identified by cookie value 223156718 (0xd4d19ee) to initialize waiting
for incoming notifications.

I appreciate all help I can get.

I still haven't solved this.. who is willing to lend me a hand please?

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/