All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Alexander Lyakas <alex.bolshoy@gmail.com>
Subject: Re: [linux-lvm] lvm_vg_create_lv_linear() stuck in dm_udev_wait()
Date: Tue, 23 Aug 2011 13:44:38 +0200	[thread overview]
Message-ID: <4E5392A6.6000201@redhat.com> (raw)
In-Reply-To: <CAGRgLy7Q+Rd9-z_Wz6WGsEy5OmvtjaSBQNZ_Ez0uVxMXFM5j_g@mail.gmail.com>

Dne 21.8.2011 20:14, Alexander Lyakas napsal(a):
> Greetings all,
> on stock ubuntu natty, using liblvm 2.02.66, sometimes
> lvm_vg_create_lv_linear () gets stuck in the following stack.
> 
> #0  0x00007f3b9636a0f7 in semop () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007f3b9606863c in dm_udev_wait () from /lib/libdevmapper.so.1.02.1
> #2  0x00007f3b973df41b in ?? () from /lib/liblvm2app.so.2.2
>

dmsetup udevcomplete_all

this should finish the execution of this command.

> 
> I realize that somehow it is related to udev synchronization. In my
> application, I have a udev monitor for "block" subsystem type, but
> currently it does nothing with the events it receives (it calls
> udev_monitor_receive_device(), udev_device_get_action() and then
> udev_device_unref() for every event. I plan in the future to use it
> for waking up other threads.
> 
> Can somebody pls advise on how to investigate this issue. It does not
> happen always.


My assumption is - you Debian system is using non-upstream Debian deviation of
udev rules and those are broken (I guess some related discussion might be googled)

Another issue which is currently being explored is the namespace usage - but I
think this is not related to the problem you are seeing.

Anyway I'd strongly suggest to use newer lvm package (either build form CVS)
or at least  Debian unstable version - as 2.02.66 is very old one.

Zdenek

  reply	other threads:[~2011-08-23 11:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-21 18:14 [linux-lvm] lvm_vg_create_lv_linear() stuck in dm_udev_wait() Alexander Lyakas
2011-08-23 11:44 ` Zdenek Kabelac [this message]
2011-08-24  9:14   ` Alexander Lyakas
2011-08-24  9:41     ` Zdenek Kabelac
2011-08-29 15:47       ` Alexander Lyakas
2011-08-30  8:03         ` Zdenek Kabelac
2011-08-30  8:21           ` Alexander Lyakas
2011-08-30  9:15             ` Zdenek Kabelac
2011-09-23 19:40               ` Alexander Lyakas
2011-09-29 10:40                 ` Zdenek Kabelac

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=4E5392A6.6000201@redhat.com \
    --to=zdenek.kabelac@gmail.com \
    --cc=alex.bolshoy@gmail.com \
    --cc=linux-lvm@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.