lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 28 Oct 2011 00:59:25 +0300
From:	Ari Savolainen <ari.m.savolainen@...il.com>
To:	Greg Kroah-Hartman <gregkh@...e.de>, Milan Broz <mbroz@...hat.com>,
	linux-kernel@...r.kernel.org
Subject: PROBLEM: lvm gets stuck during booting due to recent uevent change

After commit ebf4127cd677 "kobj_uevent: Ignore if some listeners
cannot handle message" in the current development tree lvm gets stuck
during booting and never recovers.

The machine has Ubuntu 11.10. Here is what happens:

An init script (/scripts/init-bottom/udev in initrd) issues command
"udevadm control --timeout=61 --exit".

At the same time udevd is executing "/sbin/lvm vgchange -a y" (from
/lib/udev/rules.d/85-lvm2.rules) that calls ioctl to resume a logical
volume. After that lvm gets stuck forever. Booting continues after the
61 second timeout.

Here is part of lvm backtrace from gdb (ioctl is called just before
dm_udev_wait from another function):

#0  0x00007f56d6d37797 in semop () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f56d720a75c in dm_udev_wait (cookie=223208589) at libdm-common.c:1279
#2  0x0000000000476d5f in _tree_action (dm=0xaa0680,
lv=0xffffffffffffff69, action=ACTIVATE) at activate/dev_manager.c:1479
#3  0x0000000000477a4e in dev_manager_activate (dm=0xaa0680,
lv=0xa9caf0) at activate/dev_manager.c:1505
#4  0x000000000042ebcc in _lv_activate_lv (lv=0xa9caf0) at
activate/activate.c:570
...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ