Andreas Pflug
2011-Jun-19 13:50 UTC
[Pkg-xen-devel] Bug#630984: xen-utils-common: shutdown hangs with xenwatch and reboot being blocked
Package: xen-utils-common Version: 4.0.0-1 Severity: normal Tags: squeeze The host runs (at the time of testing) a single linux-x86 domu (128MB, 1VCPU). When issuing a reboot, everything looks as expected: - domu is saved - xend is stopped - drbd stopped - lvms unmounted - md0..4 stopped and the message "rebooting now" appears, but nothing happens until "INFO: task xenwatch is blocked for 120 seconds" and "INFO: task reboot is blocked for 120 seconds" appear. A hard reset is necessary to resume. Poking around I found that waiting for things to settle after the domu has been saved helps. For this, I modified /etc/init.d/xendomains, sleeping for 2 seconds a the end of the stop() function. One second of sleep sometimes wasn't enough. *** xendomains-org Sun Jun 19 15:26:49 2011 --- xendomains Sun Jun 19 15:27:13 2011 *************** *** 342,347 **** --- 342,350 ---- kill $WDOG_PID >/dev/null 2>&1 fi + # prevent race condition + sleep 2 + # Unconditionally delete lock file rm -f $LOCKFILE } -- System Information: Debian Release: 6.0.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-common depends on: ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii udev 164-3 /dev/ and hotplug management daemo ii xenstore-utils 4.0.1-2 Xenstore utilities for Xen xen-utils-common recommends no packages. xen-utils-common suggests no packages. -- Configuration Files: /etc/init.d/xendomains changed [not included]
Debian Bug Tracking System
2014-Aug-29 13:45 UTC
[Pkg-xen-devel] Bug#630984: marked as done (xen-utils-common: shutdown hangs with xenwatch and reboot being blocked)
Your message dated Fri, 29 Aug 2014 13:42:18 +0000 with message-id <20140829134218.GC4246 at shell.waldi.eu.org> and subject line moreinfo and new information has caused the Debian Bug report #630984, regarding xen-utils-common: shutdown hangs with xenwatch and reboot being blocked to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 630984: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630984 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Andreas Pflug <pgadmin at pse-consulting.de> Subject: xen-utils-common: shutdown hangs with xenwatch and reboot being blocked Date: Sun, 19 Jun 2011 15:50:32 +0200 Size: 3945 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140829/e0592c1f/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Bastian Blank <waldi at debian.org> Subject: moreinfo and new information Date: Fri, 29 Aug 2014 13:42:18 +0000 Size: 1731 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140829/e0592c1f/attachment-0001.mht>
Seemingly Similar Threads
- Bug#712661: xen-utils-common: xl start HVM domU instead of PV if disk placed on file
- Bug#711420: Xen not booting over Wheezy
- Bug#772274: xen-utils-common: when upgrading package: insserv: Service xenstored has to be enabled to start service xendomains
- Bug#408739: xen-utils-common: xendomans script sets WDOG_PID and then references WDOG_PIG
- Bug#630984: shutdown hangs with xenwatch and reboot being blocked