All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik Klein <dk@in-telegence.net>
To: xen-devel@lists.xensource.com
Subject: Domain status after shutdown command: ---s--
Date: Tue, 19 Feb 2008 13:34:53 +0100	[thread overview]
Message-ID: <47BACCED.5040705@in-telegence.net> (raw)

Hi

this was already on xen-users, but noone could help.

I use Xen 3.2 on debian etch, build from source. domU is also debian etch.

I can create the domain just fine, but when I shut it down, it stays in 
status "---s--" forever until I use "xm destroy".

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.

The logs do not show any errors. Or at least I cannot see anything that 
looks like an error.

Here's what I see if I shutdown the domain from a console:

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 != Connected, skipping
System halted.

At this point, the console is locked. If I quit the console with CTRL+5 
and use "xm list", I see

# xm list
Name                                        ID   Mem VCPUs      State 
Time(s)
Domain-0                                     0   256     1     r----- 
37627.4
dktestvmxen                                  1   256     1     ---s--    4.8

Here's my domU config file:

kernel='/boot/vmlinuz-2.6.18.8-xen'
ramdisk='/boot/initrd-2.6.18.8-xen.img'
disk = [ 'file:/dktestvmxen.img,hda1,w' ]
memory = 256
maxmem = 512
builder = 'linux'
name = 'dktestvmxen'
vif = [ 'mac=00:16:3e:13:71:7b,bridge=eth1' ]
localtime = 0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
root = '/dev/hda1'
extra='TERM=xterm xencons=tty console=tty1'

This also happens if I shutdown the domain with "shutdown -hP now" or 
"xm shutdown $domid" from dom0.

Any help would be much appreciated.

Regards
Dominik

             reply	other threads:[~2008-02-19 12:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 12:34 Dominik Klein [this message]
2008-02-19 13:21 ` Domain status after shutdown command: ---s-- Keir Fraser
2008-02-19 13:29   ` Dominik Klein
2008-02-19 14:08     ` Keir Fraser
2008-02-19 14:26       ` Dominik Klein
2008-02-20  9:23       ` Dominik Klein
2008-02-19 14:31     ` Dominik Klein
2008-03-17 15:09 ` Marc Patino Gómez
2008-04-09 14:25   ` Dominik Klein
2008-04-09 14:39     ` Keir Fraser
2008-04-10  6:13       ` Dominik Klein
2008-04-14  6:18         ` Dominik Klein
2008-04-14  8:50           ` Keir Fraser
2008-04-22 11:36             ` [badly solved] " Dominik Klein

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=47BACCED.5040705@in-telegence.net \
    --to=dk@in-telegence.net \
    --cc=xen-devel@lists.xensource.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.