[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] VM is paused when it is created


  • To: xen-users@xxxxxxxxxxxxx
  • From: Cao Wenz <wenzcao@xxxxxxxxx>
  • Date: Mon, 18 Mar 2013 11:50:10 +0800
  • Delivery-date: Mon, 18 Mar 2013 03:51:17 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi, ALL

I install Centos 5.5 and Xen 4.0 in my VMware VM. The dom0 is OK, I can get vm list by "xm list", show bridge config by "brctl show". Than I create a VM image, and try to start it. But when "xm create -c", the vm  is paused. I do not know why.

my config is:
  1 # Kernel image file.
  2 kernel = "/boot/vmlinuz-2.6.31.8-xen"
  3 
  4 # Optional ramdisk.
  5 # ramdisk = "/boot/initrd-2.6.31.8-xen.img"
  6 ramdisk = "/vm/initrd-2.6.31.8-xen.domu.img"
  7 
  8 memory = 512
  9 name = "DomainU"
 10 vcpus = 1
 11 
 12 vif = [ '' ]
 13 
 14 ip = "192.168.1.2"
 15 netmask = "255.255.255.0"
 16 gateway = "192.168.1.1"
 17 
 18 isk = [ 'file:/vm/domU.img,sda1,w' ]
 19 
 20 # Set root device.
 21 root = "/dev/sda1 ro"


And print is :
...
[   60.987475] XENBUS: Device with no driver: device/console/0
[   62.494841] IP-Config: Complete:
[   62.494866]      device=eth0, addr=192.168.1.2, mask=255.255.255.0, gw=192.168.1.1,
[   62.494894]      host=192.168.1.2, domain=, nis-domain=(none),
[   62.494907]      bootserver=127.0.255.255, rootserver=127.0.255.255, rootpath=
[   62.495267] Freeing unused kernel memory: 376k freed
[   62.496155] Write protecting the kernel read-only data: 7556k
[   62.834612] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   62.842823] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   62.852827] uhci_hcd: USB Universal Host Controller Interface driver
[   62.981896] Fusion MPT base driver 3.04.10
[   62.983314] Copyright (c) 1999-2008 LSI Corporation
[   63.002120] Fusion MPT SPI Host driver 3.04.10
[   63.099169] kjournald starting.  Commit interval 5 seconds
[   63.099201] EXT3-fs: mounted filesystem with writeback data mode.
[   64.275946] hostname used greatest stack depth: 5728 bytes left
[   64.347479] uname used greatest stack depth: 5576 bytes left
[   64.518539] mount used greatest stack depth: 4408 bytes left

dmesg is:
...
[   79.645608] md: ... autorun DONE.
[   79.646727] nash used greatest stack depth: 4400 bytes left
[   80.902473] EXT3 FS on sda3, internal journal
[   81.463346] kjournald starting.  Commit interval 5 seconds
[   81.464179] EXT3 FS on sda2, internal journal
[   81.464192] EXT3-fs: mounted filesystem with writeback data mode.
[   81.466375] kjournald starting.  Commit interval 5 seconds
[   81.467110] EXT3 FS on sda1, internal journal
[   81.467123] EXT3-fs: mounted filesystem with writeback data mode.
[   82.727149] rc.sysinit used greatest stack depth: 4200 bytes left
[   87.845535] e1000: eth0: e1000_set_tso: TSO is Enabled
[   88.531915] warning: process `kudzu' used the deprecated sysctl system call with 1.23.
[   97.266951] warning: `dbus-daemon' uses 32-bit capabilities (legacy support in use)
[   98.190488] usb usb2: usb auto-resume
[   98.190498] usb usb2: wakeup_rh
[   98.225296] hub 2-0:1.0: hub_resume
[   98.225950] usb usb1: usb auto-resume
[   98.226101] ehci_hcd 0000:02:03.0: resume root hub
[   98.226499] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   98.247844] hub 1-0:1.0: hub_resume
[   98.249594] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0000
[   99.453025] usb usb2: suspend_rh (auto-stop)
[  118.807147] e1000: peth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[  118.346076] device peth0 entered promiscuous mode
[  119.104176] eth0: port 1(peth0) entering forwarding state
[  129.170323] eth0: no IPv6 routers present
[  129.607094] peth0: no IPv6 routers present
[  180.944579]   alloc irq_desc for 432 on node 0
[  180.944584]   alloc kstat_irqs on node 0
[  180.951443]   alloc irq_desc for 433 on node 0
[  180.951446]   alloc kstat_irqs on node 0
[  180.951457] suspend: event channel 27
[  398.792388] kjournald starting.  Commit interval 5 seconds
[  398.838106] EXT3 FS on sdb1, internal journal
[  398.838123] EXT3-fs: mounted filesystem with writeback data mode.
[  413.818582] device vif1.0 entered promiscuous mode
[  413.029060] eth0: port 2(vif1.0) entering forwarding state
[  413.911324] (cdrom_add_media_watch() file=drivers/xen/blkback/cdrom.c, line=108) nodename:backend/vbd/1/2049
[  413.911353] (cdrom_is_type() file=drivers/xen/blkback/cdrom.c, line=95) type:0
[  423.171717] vif1.0: no IPv6 routers present
[  474.792898] blkback: ring-ref 8, event-channel 10, protocol 1 (x86_64-abi)
[  474.792958]   alloc irq_desc for 434 on node 0
[  474.792960]   alloc kstat_irqs on node 0
[  474.805759]   alloc irq_desc for 435 on node 0
[  474.805762]   alloc kstat_irqs on node 0

in Xend.log:
...
174 [2013-03-18 11:33:57 4422] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
175 [2013-03-18 11:33:58 4422] DEBUG (DevController:139) Waiting for devices vif2.
176 [2013-03-18 11:33:58 4422] DEBUG (DevController:139) Waiting for devices vif.
177 [2013-03-18 11:33:58 4422] DEBUG (DevController:144) Waiting for 0.
178 [2013-03-18 11:33:58 4422] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
179 [2013-03-18 11:33:59 4422] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
180 [2013-03-18 11:33:59 4422] DEBUG (DevController:642) hotplugStatusCallback 1.
181 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices vscsi.
182 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices vbd.
183 [2013-03-18 11:33:59 4422] DEBUG (DevController:144) Waiting for 2049.
184 [2013-03-18 11:33:59 4422] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-stat    us.
185 [2013-03-18 11:33:59 4422] DEBUG (DevController:642) hotplugStatusCallback 1.
186 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices ioports.
187 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices irq.
188 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices vkbd.
189 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices vfb.
190 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices console.
191 [2013-03-18 11:33:59 4422] DEBUG (DevController:144) Waiting for 0.
192 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices pci.
193 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices tap2.
194 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices tap.
195 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices vusb.
196 [2013-03-18 11:33:59 4422] DEBUG (DevController:139) Waiting for devices vtpm.
197 [2013-03-18 11:33:59 4422] INFO (XendDomain:1206) Domain DomainU (1) unpaused.

There is not any error or warning. SO how do I fix it?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.