linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Mark van Dijk <lists+linux-lvm@internecto.net>,
	Scott Merrilees <scott@merrilees.net>
Subject: Re: [linux-lvm] Getting 'incorrect semaphore state' on self configured server kernel
Date: Mon, 13 Aug 2012 17:19:47 +0200	[thread overview]
Message-ID: <50291B13.1090802@redhat.com> (raw)
In-Reply-To: <20120812173101.12e69553@internecto.net>

Dne 12.8.2012 17:31, Mark van Dijk napsal(a):
>>>>> # 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?
>>
>> A diff -u of a working kernel config vs a non-working config would
>> possibly help.
>> --
>> Scott Merrilees
>
> (I'm replying to a digest so sorry if the formatting is a bit off. I
> disabled digests for now.)
>
> Scott, thanks for your suggestion. I followed it, changed more settings
> just for testing, and still can't get it to work without these errors.
>
> So I tried to build a kernel, same version and same config on a
> different distribution, this time I chose AlpineLinux. And lo, the
> errors are not occurring there.
>
> This makes me suspicious about Archlinux's udev version and/or methods,
> but the question about why their own kernel doesn't have these issues
> remains.
>
> What to try next? Where to look?
>

Check you are not having set   CONFIG_UEVENT_HELPER_PATH in your kernel
(or preset on your system) - If I remember, there was a one Archlinux user
with very old kernel .config file which was just updated.

On modern udev based distro you should let udev to handle uevents.

Zdenek

  reply	other threads:[~2012-08-13 15:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3621.1344778916.2882.linux-lvm@redhat.com>
2012-08-12 15:31 ` [linux-lvm] Getting 'incorrect semaphore state' on self configured server kernel Mark van Dijk
2012-08-13 15:19   ` Zdenek Kabelac [this message]
2012-08-07 12:00 Mark van Dijk
2012-08-12 13:33 ` Mark van Dijk
2012-08-12 13:41   ` Scott Merrilees

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50291B13.1090802@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=lists+linux-lvm@internecto.net \
    --cc=scott@merrilees.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).