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

Re: [Xen-users] fail of xm create



On Wed, Nov 29, 2006 at 04:01:58PM +0100, Henning Sprang wrote:
> On 11/29/06, Roland Touchais <Roland.Touchais@xxxxxxxxx> wrote:
> > # xm create x1
> 
> if you want to get the console of the started system, you want to use
> "xm create -c x1"

I have tried this with the same fail...

> 
> Please show us what this gives you, and show us xend-debug.log instead
> of xend.log

I have missed it because it was only created at xend startup and not
at "xm create" time.  I have take long time to answers to your mail
because this log file show me some way of works, I resume here my
works and my actual state.

In first time the content of xend-debug.log was :

--------------------------------------------------------------------------
Link veth10 is missing.
This may be because you have reached the limit of the number of interfaces
that the loopback driver supports.  If the loopback driver is a module, you
may raise this limit by passing it as a parameter (nloopbacks=<N>); if the
driver is compiled statically into the kernel, then you may set the parameter
using loopback.nloopbacks=<N> on the domain 0 kernel command line.
--------------------------------------------------------------------------

I dont known why xen on mandriva need tu use veth10 (in fact only 8
veth are created)..., and because i configure my virtual host without
network...  It is not proof about link between this log and my fail, but,
because at last i need to use network, I try to solve this. 

So i try using loopback.nloopbacks=<N>.  
I sucess using netloop.nloopbacks=<N> with the grub entry :

title Xen 3.0 dom0 netloop 16/ XenLinux 2.6 
kernel (hd0,8)/boot/xen.gz dom0_mem=500000 console=vga 
module (hd0,8)/boot/vmlinuz-2.6.17-5mdvxen0 root=/dev/sda9 ro console=tty0 
netloop.nloopbacks=16
module (hd0,8)/boot/initrd-2.6.17-5mdvxen0.img

this seem to create veth10 and change the problem to :

-------------------------------------------------------------------------------
Device "eth10" does not exist.
Device "eth10" does not exist.
usage: ifdown <device name>
Device "eth10" does not exist.
Cannot find device "eth10"
SIOCGIFFLAGS: No such device
-----------------------------------------------------------------------------

why using "eth10" in a host where i have only eth0 and eth1...?
but i solve this by defining in /etc/xen/xend-config.sxp

(network-script 'network-bridge netdev=eth0')

With this change i get all vethX, vifX... :

---------------------- ifconfig -a ------------------------------
i have grouped entries with same data :

eth0      Link encap:Ethernet  HWaddr 00:11:25:9C:A0:74  
          inet adr:129.175.34.211  Bcast:129.175.34.255  Masque:255.255.255.0
          adr inet6: fe80::211:25ff:fe9c:a074/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:342 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:22882 (22.3 KiB)  TX bytes:804 (804.0 b)

eth1      Link encap:Ethernet  HWaddr 00:11:25:9C:A0:75  
          adr inet6: fe80::211:25ff:fe9c:a075/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:3688 (3.6 KiB)  TX bytes:492 (492.0 b)
          Interruption:22 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:HÃÅte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:356 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:25410 (24.8 KiB)  TX bytes:1874 (1.8 KiB)
          Interruption:21 

sit0      Link encap:IPv6-dans-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth1 - veth15
          Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:342 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:804 (804.0 b)  TX bytes:22882 (22.3 KiB)

vif0.1 - vif0.15
          Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          adr inet6: fe80::200:ff:fe00:0/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:356 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:18702 (18.2 KiB)  TX bytes:0 (0.0 b)

-----------------------------------------------------------------

---------------------- brctl show -------------------------------
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth0
-----------------------------------------------------------------


but i loose network acces !!!
and i get the error :

----------------------------------------------------------------------------
Nothing to flush.
Nothing to flush.
NETLINK: Packet too small or truncated! 36!=16!=252
----------------------------------------------------------------------------

I have read something about MII_NOT_SUPPORTED, so i try to change my
network config on eth0 to set this option at "yes" here is my modified
file /etc/sysconfig/network-script/ifcfg-eth0 :

----------------------------------------------
DEVICE=eth0
BOOTPROTO=static
IPADDR=129.175.34.211
NETMASK=255.255.255.0
GATEWAY=129.175.34.1
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=yes
USERCTL=no
MS_DNS1=129.175.34.35
MS_DNS2=129.175.36.37
RESOLV_MODS=yes
LINK_DETECTION_DELAY=6
IPV6INIT=no
IPV6TO4INIT=no
----------------------------------------------

This change nothing except than veth10 is replaced by veth0, xenbr0
become xenbr10 and special case vif0.0 become special case vif0.10.



So, this seem to be a conflict between my basic network config, and
the xen bridge. So i try to bypass this by runing the bridge on my
secund and unused network interface : eth1. 

I remove /etc/sysconfig/network-script/ifcfg-eth1 file and i change
xend config : 

(network-script 'network-bridge netdev=eth1')


I get back network access.

all network config seem to bo OK :


---------------------- ifconfig -a ------------------------------
i have grouped entries with same data :

eth0      Link encap:Ethernet  HWaddr 00:11:25:9C:A0:74  
          inet adr:129.175.34.211  Bcast:129.175.34.255  Masque:255.255.255.0
          adr inet6: fe80::211:25ff:fe9c:a074/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14727 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4392 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:1378228 (1.3 MiB)  TX bytes:1228583 (1.1 MiB)
          Interruption:21 

eth1      Link encap:Ethernet  HWaddr 00:11:25:9C:A0:75  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1735 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:134885 (131.7 KiB)  TX bytes:0 (0.0 b)

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:HÃÅte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6460 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6460 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:1109788 (1.0 MiB)  TX bytes:1109788 (1.0 MiB)

peth1     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1737 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:141969 (138.6 KiB)  TX bytes:0 (0.0 b)
          Interruption:22 

sit0      Link encap:IPv6-dans-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth1 - veth15
          Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:134885 (131.7 KiB)

vif0.1 - vif0.15    
          Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          adr inet6: fe80::200:ff:fe00:0/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:110455 (107.8 KiB)  TX bytes:0 (0.0 b)


-----------------------------------------------------------------

---------------------- brctl show -------------------------------
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth1
-----------------------------------------------------------------

and xend-debug.log show no more errors :

-------------------------------------------------------------------
Nothing to flush.
Nothing to flush.
-------------------------------------------------------------------

but when i try to start always my virtual host, i already get my only
two lines output :

# xm create -c x1
Using config file "/etc/xen/x1".
Started domain ExampleDomain
#

xend-debug.log has no more lines and xend.log contain :

--------------------------------- xend.log -------------------------------
[2006-12-01 13:07:47 xend 2212] INFO (SrvDaemon:283) Xend Daemon started
[2006-12-01 13:07:47 xend 2212] INFO (SrvDaemon:287) Xend changeset: 
unavailable .
[2006-12-01 13:07:47 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:208) 
XendDomainInfo.recreate({'paused': 0, 'cpu_time': 10393396118L, 'ssi
dref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 500000, 'maxmem_kb
': 17179869180, 'max_vcpu_id': 3, 'crashed': 0, 'running': 1, 'shutdown': 0, 
'online_vcpus': 4, 'blocked': 0})
[2006-12-01 13:07:47 xend.XendDomainInfo 2212] INFO (XendDomainInfo:220) 
Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2006-12-01 13:07:47 xend.XendDomainInfo 2212] WARNING (XendDomainInfo:242) No 
vm path in store for existing domain 0
[2006-12-01 13:07:47 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:702) 
Storing VM details: {'name': 'Domain-0', 'on_reboot': 'restart', 'on
_poweroff': 'destroy', 'uuid': '00000000-0000-0000-0000-000000000000', 
'on_crash': 'restart', 'vcpus': '4', 'vcpu_avail': '15', 'memory': '489
', 'maxmem': '489'}
[2006-12-01 13:07:47 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:737) 
Storing domain details: {'cpu/1/availability': 'online', 'cpu/3/avai
lability': 'online', 'name': 'Domain-0', 'console/limit': '1048576', 
'cpu/2/availability': 'online', 'vm': '/vm/00000000-0000-0000-0000-000000
000000', 'domid': '0', 'cpu/0/availability': 'online', 'memory/target': 
'500736'}
[2006-12-01 13:07:47 xend 2212] DEBUG (XendDomain:153) number of vcpus to use 
is 0
[2006-12-01 13:07:47 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:920) 
XendDomainInfo.handleShutdownWatch
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:186) 
XendDomainInfo.create(['vm', ['name', 'ExampleDomain'], ['memory', 6
4], ['vcpus', 1], ['image', ['linux', ['kernel', 
'/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], 
['device', ['vbd
', ['uname', 'file:/data/XEN/vm001.img'], ['dev', 'sda1'], ['mode', 'w']]]])
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:292) 
parseConfig: config is ['vm', ['name', 'ExampleDomain'], ['memory', 
64], ['vcpus', 1], ['image', ['linux', ['kernel', 
'/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], 
['device', ['vb
d', ['uname', 'file:/data/XEN/vm001.img'], ['dev', 'sda1'], ['mode', 'w']]]]
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:391) 
parseConfig: result is {'uuid': None, 'on_crash': None, 'on_reboot':
 None, 'localtime': None, 'image': ['linux', ['kernel', 
'/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']], 
'on_powero
ff': None, 'bootloader_args': None, 'cpus': None, 'name': 'ExampleDomain', 
'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'v
cpu_avail': None, 'memory': 64, 'device': [('vbd', ['vbd', ['uname', 
'file:/data/XEN/vm001.img'], ['dev', 'sda1'], ['mode', 'w']])], 'bootload
er': None, 'cpu': None, 'maxmem': None}
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:1217) 
XendDomainInfo.construct: None
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:1249) 
XendDomainInfo.initDomain: 1 1.0
[2006-12-01 14:34:36 xend 2212] DEBUG (balloon:127) Balloon: 5691844 KiB free; 
need 65536; done.
[2006-12-01 14:34:36 xend 2212] INFO (image:134) buildDomain os=linux dom=1 
vcpus=1
[2006-12-01 14:34:36 xend 2212] DEBUG (image:177) dom            = 1
[2006-12-01 14:34:36 xend 2212] DEBUG (image:178) image          = 
/boot/vmlinuz-2.6.17-5mdvxenU
[2006-12-01 14:34:36 xend 2212] DEBUG (image:179) store_evtchn   = 1
[2006-12-01 14:34:36 xend 2212] DEBUG (image:180) console_evtchn = 2
[2006-12-01 14:34:36 xend 2212] DEBUG (image:181) cmdline        =  
root=/dev/sda1 ro 4
[2006-12-01 14:34:36 xend 2212] DEBUG (image:182) ramdisk        = 
[2006-12-01 14:34:36 xend 2212] DEBUG (image:183) vcpus          = 1
[2006-12-01 14:34:36 xend 2212] DEBUG (image:184) features       = 
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:110) DevController: 
writing {'virtual-device': '2049', 'backend-id': '0', 'state': '1', '
backend': '/local/domain/0/backend/vbd/1/2049'} to 
/local/domain/1/device/vbd/2049.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:112) DevController: 
writing {'domain': 'ExampleDomain', 'frontend': '/local/domain/1/devi
ce/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/data/XEN/vm001.img', 
'mode': 'w', 'frontend-id': '1', 'type': 'file'} to /local/domain/
0/backend/vbd/1/2049.
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:702) 
Storing VM details: {'uuid': 'e561685c-820c-fbdb-ac41-dcfe7842527b',
 'on_reboot': 'restart', 'start_time': '1164980076.41', 'on_poweroff': 
'destroy', 'name': 'ExampleDomain', 'vcpus': '1', 'vcpu_avail': '1', 'm
emory': '64', 'on_crash': 'restart', 'image': "(linux (kernel 
/boot/vmlinuz-2.6.17-5mdvxenU) (root '/dev/sda1 ro') (args 4))", 'maxmem': '64'}
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:737) 
Storing domain details: {'console/ring-ref': '874529', 'console/port
': '2', 'name': 'ExampleDomain', 'console/limit': '1048576', 'vm': 
'/vm/e561685c-820c-fbdb-ac41-dcfe7842527b', 'domid': '1', 'cpu/0/availabili
ty': 'online', 'memory/target': '65536', 'store/ring-ref': '874530', 
'store/port': '1'}
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:920) 
XendDomainInfo.handleShutdownWatch
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:143) Waiting for devices 
vif.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:143) Waiting for devices 
usb.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:143) Waiting for devices 
vbd.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:149) Waiting for 2049.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:449) hotplugStatusCallback 
/local/domain/0/backend/vbd/1/2049/hotplug-status.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:449) hotplugStatusCallback 
/local/domain/0/backend/vbd/1/2049/hotplug-status.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:463) hotplugStatusCallback 
1.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:143) Waiting for devices 
irq.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:143) Waiting for devices 
pci.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:143) Waiting for devices 
ioports.
[2006-12-01 14:34:36 xend 2212] DEBUG (DevController:143) Waiting for devices 
vtpm.
[2006-12-01 14:34:36 xend 2212] INFO (XendDomain:365) Domain ExampleDomain (1) 
unpaused.
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] WARNING (XendDomainInfo:862) 
Domain has crashed: name=ExampleDomain id=1.
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:1404) 
XendDomainInfo.destroyDomain(1)
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:186) 
XendDomainInfo.create(['domain', ['domid', 1], ['uuid', 'e561685c-82
0c-fbdb-ac41-dcfe7842527b'], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 
1.0], ['memory', 64], ['maxmem', 64], ['features', ''], ['name', 
'ExampleDomain'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], 
['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz
-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], ['device', 
['vbd', ['backend', 0], ['dev', 'sda1'], ['uname', 'file:/data/XEN/v
m001.img'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], 
['cpu_time', 0.102164905], ['online_vcpus', 1], ['up_time', '0
.398444890976'], ['start_time', '1164980076.41'], ['store_mfn', 874530], 
['console_mfn', 874529]])
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:292) 
parseConfig: config is ['domain', ['domid', 1], ['uuid', 'e561685c-8
20c-fbdb-ac41-dcfe7842527b'], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 
1.0], ['memory', 64], ['maxmem', 64], ['features', ''], ['name',
 'ExampleDomain'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], 
['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinu
z-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], ['device', 
['vbd', ['backend', 0], ['dev', 'sda1'], ['uname', 'file:/data/XEN/
vm001.img'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 
'crash'], ['cpu_time', 0.102164905], ['online_vcpus', 1], ['up_time', '
0.398444890976'], ['start_time', '1164980076.41'], ['store_mfn', 874530], 
['console_mfn', 874529]]
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:391) 
parseConfig: result is {'uuid': 'e561685c-820c-fbdb-ac41-dcfe7842527
b', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': 
['linux', ['kernel', '/boot/vmlinuz-2.6.17-5mdvxenU'], ['root',
 '/dev/sda1 ro'], ['args', '4']], 'on_poweroff': 'destroy', 'bootloader_args': 
None, 'cpus': None, 'name': 'ExampleDomain', 'backend': [], 'vc
pus': 1, 'cpu_weight': 1.0, 'features': '', 'vcpu_avail': 1, 'memory': 64, 
'device': [('vbd', ['vbd', ['backend', 0], ['dev', 'sda1'], ['uname
', 'file:/data/XEN/vm001.img'], ['mode', 'w']])], 'bootloader': None, 'cpu': 
None, 'maxmem': 64}
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:1217) 
XendDomainInfo.construct: None
[2006-12-01 14:34:36 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:1249) 
XendDomainInfo.initDomain: 2 1.0
[2006-12-01 14:34:36 xend 2212] DEBUG (balloon:127) Balloon: 5691844 KiB free; 
need 65536; done.
[2006-12-01 14:34:36 xend 2212] INFO (image:134) buildDomain os=linux dom=2 
vcpus=1
[2006-12-01 14:34:36 xend 2212] DEBUG (image:177) dom            = 2
[2006-12-01 14:34:36 xend 2212] DEBUG (image:178) image          = 
/boot/vmlinuz-2.6.17-5mdvxenU
[2006-12-01 14:34:36 xend 2212] DEBUG (image:179) store_evtchn   = 1
[2006-12-01 14:34:36 xend 2212] DEBUG (image:180) console_evtchn = 2
[2006-12-01 14:34:36 xend 2212] DEBUG (image:181) cmdline        =  
root=/dev/sda1 ro 4
[2006-12-01 14:34:36 xend 2212] DEBUG (image:182) ramdisk        = 
[2006-12-01 14:34:36 xend 2212] DEBUG (image:183) vcpus          = 1
[2006-12-01 14:34:36 xend 2212] DEBUG (image:184) features       = 
[2006-12-01 14:34:37 xend 2212] DEBUG (DevController:110) DevController: 
writing {'virtual-device': '2049', 'backend-id': '0', 'state': '1', '
backend': '/local/domain/0/backend/vbd/2/2049'} to 
/local/domain/2/device/vbd/2049.
[2006-12-01 14:34:37 xend 2212] DEBUG (DevController:112) DevController: 
writing {'domain': 'ExampleDomain', 'frontend': '/local/domain/2/devi
ce/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/data/XEN/vm001.img', 
'mode': 'w', 'frontend-id': '2', 'type': 'file'} to /local/domain/
0/backend/vbd/2/2049.
[2006-12-01 14:34:37 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:702) 
Storing VM details: {'uuid': 'e561685c-820c-fbdb-ac41-dcfe7842527b',
 'on_reboot': 'restart', 'start_time': '1164980077.03', 'on_poweroff': 
'destroy', 'name': 'ExampleDomain', 'vcpus': '1', 'vcpu_avail': '1', 'm
emory': '64', 'on_crash': 'restart', 'image': "(linux (kernel 
/boot/vmlinuz-2.6.17-5mdvxenU) (root '/dev/sda1 ro') (args 4))", 'maxmem': '64'}
[2006-12-01 14:34:37 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:737) 
Storing domain details: {'console/ring-ref': '864801', 'console/port
': '2', 'name': 'ExampleDomain', 'console/limit': '1048576', 'vm': 
'/vm/e561685c-820c-fbdb-ac41-dcfe7842527b', 'domid': '2', 'cpu/0/availabili
ty': 'online', 'memory/target': '65536', 'store/ring-ref': '864802', 
'store/port': '1'}
[2006-12-01 14:34:37 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:920) 
XendDomainInfo.handleShutdownWatch
[2006-12-01 14:34:37 xend.XendDomainInfo 2212] WARNING (XendDomainInfo:862) 
Domain has crashed: name=ExampleDomain id=2.
[2006-12-01 14:34:37 xend.XendDomainInfo 2212] ERROR (XendDomainInfo:1576) VM 
ExampleDomain restarting too fast (0.347583 seconds since the la
st restart).  Refusing to restart to avoid loops.
[2006-12-01 14:34:37 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:1396) 
XendDomainInfo.destroy: domid=2
[2006-12-01 14:34:37 xend.XendDomainInfo 2212] DEBUG (XendDomainInfo:1404) 
XendDomainInfo.destroyDomain(2)
-------------------------------------------------------------------------------------------------------------------

If you can show me a way to succes starting domU, thank's for all...

Roland Touchais

_______________________________________________
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®.