From: Keir Fraser Subject: Re: Domain status after shutdown command: ---s-- Date: Wed, 09 Apr 2008 15:39:23 +0100 Message-ID: References: <47FCD1E7.7090705@in-telegence.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <47FCD1E7.7090705@in-telegence.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dominik Klein , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org What's in the tail of /var/log/xen/xend.log after the domain shuts down? -- Keir On 9/4/08 15:25, "Dominik Klein" wrote: > So I'm not alone with that problem. >=20 > I just tested with 3.2.1rc3 and the problem persists. >=20 > Regards > Dominik >=20 > Marc Patino G=F3mez wrote: >> Hi all, >>=20 >> I have the same problem, I'm using also Debian Etch on AMD64 and Xen >> 3.2.0 builded from sources. At the moment, I am trying to find a >> solution for this issue. >>=20 >> Regards, >>=20 >> Marc >>=20 >> Dominik Klein wrote: >>> Hi >>>=20 >>> this was already on xen-users, but noone could help. >>>=20 >>> I use Xen 3.2 on debian etch, build from source. domU is also debian >>> etch. >>>=20 >>> I can create the domain just fine, but when I shut it down, it stays >>> in status "---s--" forever until I use "xm destroy". >>>=20 >>> At first, I put domU on a DRBD disk with the block-drbd script, but I >>> also tried with a file-backed domU, which results in the same problem. >>>=20 >>> The logs do not show any errors. Or at least I cannot see anything >>> that looks like an error. >>>=20 >>> Here's what I see if I shutdown the domain from a console: >>>=20 >>> debian dktestvmxen:~# halt >>> Broadcast message from root@dktestvmxen (tty1) (Mon Feb 11 08:32:34 >>> 2008): >>> The system is going down for system halt NOW! >>> INIT: Switching to runlevel: 0 >>> INIT: Sending processes the TERM signal >>> Stopping periodic command scheduler: crond. >>> Stopping internet superserver: inetd. >>> Stopping OpenBSD Secure Shell server: sshd. >>> Stopping kernel log daemon: klogd. >>> Stopping system log daemon: syslogd. >>> Asking all remaining processes to terminate...done. >>> Killing all remaining processes...done. >>> Deconfiguring network interfaces...done. >>> Cleaning up ifupdown.... >>> Deactivating swap...done. >>> Will now halt. >>> md: stopping all md devices. >>> xenbus_dev_shutdown: device/console/0: Initialising !=3D Connected, >>> skipping >>> System halted. >>>=20 >>> At this point, the console is locked. If I quit the console with >>> CTRL+5 and use "xm list", I see >>>=20 >>> # xm list >>> Name ID Mem VCPUs State >>> Time(s) >>> Domain-0 0 256 1 r----- >>> 37627.4 >>> dktestvmxen 1 256 1 >>> ---s-- 4.8 >>>=20 >>> Here's my domU config file: >>>=20 >>> kernel=3D'/boot/vmlinuz-2.6.18.8-xen' >>> ramdisk=3D'/boot/initrd-2.6.18.8-xen.img' >>> disk =3D [ 'file:/dktestvmxen.img,hda1,w' ] >>> memory =3D 256 >>> maxmem =3D 512 >>> builder =3D 'linux' >>> name =3D 'dktestvmxen' >>> vif =3D [ 'mac=3D00:16:3e:13:71:7b,bridge=3Deth1' ] >>> localtime =3D 0 >>> on_poweroff =3D 'destroy' >>> on_reboot =3D 'restart' >>> on_crash =3D 'restart' >>> root =3D '/dev/hda1' >>> extra=3D'TERM=3Dxterm xencons=3Dtty console=3Dtty1' >>>=20 >>> This also happens if I shutdown the domain with "shutdown -hP now" or >>> "xm shutdown $domid" from dom0. >>>=20 >>> Any help would be much appreciated. >>>=20 >>> Regards >>> Dominik >>>=20 >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>=20 >>=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel