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

[Xen-users] Unable to launch DomU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Eric Smith <esmithbss@xxxxxxxxxxxxx>
  • Date: Sat, 24 Jun 2006 10:50:40 -0700 (PDT)
  • Delivery-date: Mon, 26 Jun 2006 01:59:09 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4c5yW/x4EsI/yUbOLxw+pIxYnr8s+aaPT+n/c16oN+deB2ZQO1wey/3cwuBas3ms2FYcf2sVzz37CBIN7npwAmTYkzdgjmLl6FfxrNwn1nG15wqAbf4vVqyouU8w1dRolCwTFiYh2up6zMz4oyk7eOku4d1jOw+Jix0UbQDeYx4= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

HELP!!!!

(I have provided everything I can think of in this
email in the hopes that someone can help me a.s.a.p.)

I have followed the howtos at howtoforge.com to the
letter.  I have gone through the wiki's.  I have gone
through the mailing lists and I am still stuck.

I am trying to get Xen 3.0.2-2 running on kubuntu 6.06
(Dapper Drake).  My computer is a notebook with a
Pentium-M 750 (1.8GHz), 1GB ram, 80GB hd, ATI x600
video.

I have tried both the binary install and the source
install.  I even tried completely rebuilding my box
from scratch with FC5 and the xen 3.0.2 that comes
with the install DVD, but regardless of how I install
Xen, even though the Dom0 environment works great, I
cannot get a DomU environment to launch properly.

On both FC5 and kubuntu, every time I issue the xm
create call, the result is :

Using config file "polydactes-fw".
Started domain polydactes-fw
Linux version 2.6.16-xen (root@polydactes) (gcc
version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #2 SMP Fri Jun
23 23:42:10 CDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000008000000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line: 
ip=192.168.0.101:1.2.3.4:192.168.0.1:255.255.255.0:polydactes-fw.polydactes.com:eth0:off
root=/dev/hda1 ro 4
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 1862.618 MHz processor.
Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
Software IO TLB disabled
vmalloc area: c9000000-fb7fe000, maxmem 33ffe000
Memory: 121028k/139264k available (2176k kernel code,
9880k reserved, 546k data, 172k init, 0k highmem)
Checking if this processor honours the WP bit even in
supervisor mode... Ok.


Then everything appears to lock up without going any
further.

If I look at "xm top", I can see that the DomU
environment is getting between 85% and 95% of the CPU,
but it apparently isn't going any further.  It's just
in some sort of infinite loop.

The config file for my DomU is simple (as shown in the
how-tos at howtoforge.com.  Here it is:

#  -*- mode: python; -*-
name="polydactes-fw"
kernel="/boot/vmlinuz-2.6-xen"
ramdisk="/boot/initrd-2.6-xen.img"
root="/dev/hda1 ro"
disk=['phy:/dev/mapper/Polydactes-firewall--disk,hda1,w','phy:/dev/mapper/Polydactes-firewall--swap,hda2,w']
memory=128
# network
vif=[ '' ]
dhcp="off"
ip="192.168.0.101"
netmask="255.255.255.0"
gateway="192.168.0.1"
hostname="polydactes-fw.polydactes.com"
extra="4"
#on_poweroff = 'destroy'
#on_reboot   = 'restart'
#on_crash    = 'restart'


Looking at the xend-debug log file I see the
following:

Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:e0:b8:7c:24:d7
Sending on   LPF/eth0/00:e0:b8:7c:24:d7
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 130.38.206.25 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding
broadcast address.
Nothing to flush.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:e0:b8:7c:24:d7
Sending on   LPF/eth0/00:e0:b8:7c:24:d7
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

and the xend.log file (for a single launch) contains:
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:178) XendDomainInfo.create(['vm',
['name', 'polydactes-fw'], ['memory', 128], ['vcpus',
1], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6-xen'], ['ramdisk',
'/boot/initrd-2.6-xen.img'], ['ip',
'192.168.0.101:1.2.3.4:192.168.0.1:255.255.255.0:polydactes-fw.polydactes.com:eth0:off'],
['root', '/dev/hda1 ro'], ['args', '4']]], ['device',
['vbd', ['uname',
'phy:/dev/mapper/Polydactes-firewall--disk'], ['dev',
'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'phy:/dev/mapper/Polydactes-firewall--swap'], ['dev',
'hda2'], ['mode', 'w']]], ['device', ['vif']]])
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:284) parseConfig: config is ['vm',
['name', 'polydactes-fw'], ['memory', 128], ['vcpus',
1], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6-xen'], ['ramdisk',
'/boot/initrd-2.6-xen.img'], ['ip',
'192.168.0.101:1.2.3.4:192.168.0.1:255.255.255.0:polydactes-fw.polydactes.com:eth0:off'],
['root', '/dev/hda1 ro'], ['args', '4']]], ['device',
['vbd', ['uname',
'phy:/dev/mapper/Polydactes-firewall--disk'], ['dev',
'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'phy:/dev/mapper/Polydactes-firewall--swap'], ['dev',
'hda2'], ['mode', 'w']]], ['device', ['vif']]]
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:380) parseConfig: result is
{'ssidref': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'image': ['linux', ['kernel',
'/boot/vmlinuz-2.6-xen'], ['ramdisk',
'/boot/initrd-2.6-xen.img'], ['ip',
'192.168.0.101:1.2.3.4:192.168.0.1:255.255.255.0:polydactes-fw.polydactes.com:eth0:off'],
['root', '/dev/hda1 ro'], ['args', '4']],
'on_poweroff': None, 'cpus': None, 'name':
'polydactes-fw', 'backend': [], 'vcpus': 1,
'cpu_weight': None, 'vcpu_avail': None, 'memory': 128,
'device': [('vbd', ['vbd', ['uname',
'phy:/dev/mapper/Polydactes-firewall--disk'], ['dev',
'hda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname',
'phy:/dev/mapper/Polydactes-firewall--swap'], ['dev',
'hda2'], ['mode', 'w']]), ('vif', ['vif'])],
'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1164) XendDomainInfo.construct: None 0
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1196) XendDomainInfo.initDomain: 3 1.0
[2006-06-24 01:44:37 xend] DEBUG (balloon:126)
Balloon: free 129; need 129; done.
[2006-06-24 01:44:37 xend] INFO (image:135)
buildDomain os=linux dom=3 vcpus=1
[2006-06-24 01:44:37 xend] DEBUG (image:173) dom      
     = 3
[2006-06-24 01:44:37 xend] DEBUG (image:174) image    
     = /boot/vmlinuz-2.6-xen
[2006-06-24 01:44:37 xend] DEBUG (image:175)
store_evtchn   = 1
[2006-06-24 01:44:37 xend] DEBUG (image:176)
console_evtchn = 2
[2006-06-24 01:44:37 xend] DEBUG (image:177) cmdline  
     = 
ip=192.168.0.101:1.2.3.4:192.168.0.1:255.255.255.0:polydactes-fw.polydactes.com:eth0:off
root=/dev/hda1 ro 4
[2006-06-24 01:44:37 xend] DEBUG (image:178) ramdisk  
     = /boot/initrd-2.6-xen.img
[2006-06-24 01:44:37 xend] DEBUG (image:179) vcpus    
     = 1
[2006-06-24 01:44:37 xend] DEBUG (image:180) features 
     =
[2006-06-24 01:44:37 xend] DEBUG (DevController:103)
DevController: writing {'virtual-device': '769',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/3/769'} to
/local/domain/3/device/vbd/769.
[2006-06-24 01:44:37 xend] DEBUG (DevController:105)
DevController: writing {'domain': 'polydactes-fw',
'frontend': '/local/domain/3/device/vbd/769', 'dev':
'hda1', 'state': '1', 'params':
'/dev/mapper/Polydactes-firewall--disk', 'mode': 'w',
'frontend-id': '3', 'type': 'phy'} to
/local/domain/0/backend/vbd/3/769.
[2006-06-24 01:44:37 xend] DEBUG (DevController:103)
DevController: writing {'virtual-device': '770',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/3/770'} to
/local/domain/3/device/vbd/770.
[2006-06-24 01:44:37 xend] DEBUG (DevController:105)
DevController: writing {'domain': 'polydactes-fw',
'frontend': '/local/domain/3/device/vbd/770', 'dev':
'hda2', 'state': '1', 'params':
'/dev/mapper/Polydactes-firewall--swap', 'mode': 'w',
'frontend-id': '3', 'type': 'phy'} to
/local/domain/0/backend/vbd/3/770.
[2006-06-24 01:44:37 xend] DEBUG (DevController:103)
DevController: writing {'backend-id': '0', 'mac':
'00:16:3e:6d:ec:c3', 'handle': '0', 'state': '1',
'backend': '/local/domain/0/backend/vif/3/0'} to
/local/domain/3/device/vif/0.
[2006-06-24 01:44:37 xend] DEBUG (DevController:105)
DevController: writing {'mac': '00:16:3e:6d:ec:c3',
'state': '1', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'frontend-id': '3',
'domain': 'polydactes-fw', 'frontend':
'/local/domain/3/device/vif/0'} to
/local/domain/0/backend/vif/3/0.
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:671) Storing VM details: {'ssidref':
'0', 'uuid': '6c08819c-56bc-f076-2edf-18b06bd93634',
'on_reboot': 'restart', 'start_time': '1151131477.69',
'on_poweroff': 'destroy', 'name': 'polydactes-fw',
'vcpus': '1', 'vcpu_avail': '1', 'memory': '128',
'on_crash': 'restart', 'image': "(linux (kernel
/boot/vmlinuz-2.6-xen) (ramdisk
/boot/initrd-2.6-xen.img) (ip
192.168.0.101:1.2.3.4:192.168.0.1:255.255.255.0:polydactes-fw.polydactes.com:eth0:off)
(root '/dev/hda1 ro') (args 4))", 'maxmem': '128'}
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:696) Storing domain details:
{'console/ring-ref': '133102', 'console/port': '2',
'name': 'polydactes-fw', 'console/limit': '1048576',
'vm': '/vm/6c08819c-56bc-f076-2edf-18b06bd93634',
'domid': '3', 'cpu/0/availability': 'online',
'memory/target': '131072', 'store/ring-ref': '133103',
'store/port': '1'}
[2006-06-24 01:44:37 xend.XendDomainInfo] DEBUG
(XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-06-24 01:44:37 xend] DEBUG (DevController:132)
Waiting for devices vif.
[2006-06-24 01:44:37 xend] DEBUG (DevController:138)
Waiting for 0.
[2006-06-24 01:44:37 xend] DEBUG (DevController:403)
hotplugStatusCallback
/local/domain/0/backend/vif/3/0/hotplug-status.
[2006-06-24 01:44:37 xend] DEBUG (DevController:403)
hotplugStatusCallback
/local/domain/0/backend/vif/3/0/hotplug-status.
[2006-06-24 01:44:37 xend] DEBUG (DevController:417)
hotplugStatusCallback 1.
[2006-06-24 01:44:37 xend] DEBUG (DevController:132)
Waiting for devices usb.
[2006-06-24 01:44:37 xend] DEBUG (DevController:132)
Waiting for devices vbd.
[2006-06-24 01:44:37 xend] DEBUG (DevController:138)
Waiting for 769.
[2006-06-24 01:44:37 xend] DEBUG (DevController:403)
hotplugStatusCallback
/local/domain/0/backend/vbd/3/769/hotplug-status.
[2006-06-24 01:44:37 xend] DEBUG (DevController:417)
hotplugStatusCallback 1.
[2006-06-24 01:44:37 xend] DEBUG (DevController:138)
Waiting for 770.
[2006-06-24 01:44:37 xend] DEBUG (DevController:403)
hotplugStatusCallback
/local/domain/0/backend/vbd/3/770/hotplug-status.
[2006-06-24 01:44:37 xend] DEBUG (DevController:417)
hotplugStatusCallback 1.
[2006-06-24 01:44:38 xend] DEBUG (DevController:132)
Waiting for devices irq.
[2006-06-24 01:44:38 xend] DEBUG (DevController:132)
Waiting for devices pci.
[2006-06-24 01:44:38 xend] DEBUG (DevController:132)
Waiting for devices ioports.
[2006-06-24 01:44:38 xend] DEBUG (DevController:132)
Waiting for devices vtpm.
[2006-06-24 01:44:38 xend] INFO (XendDomain:363)
Domain polydactes-fw (3) unpaused.

I know I'm missing something simple and stupid, but I
have absolutely no clue what the DomU is trying to do
at this point that would cause it to behave like this.

What do I need to do to correct this?

Sincerely,

Eric

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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