WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Debian DomainU failing with: Error: Device 0 (vif) could

To: Mark Foster <mark@xxxxxxxxx>
Subject: Re: [Xen-users] Debian DomainU failing with: Error: Device 0 (vif) could not be connected.
From: Michael Walker <mwalker@xxxxxxxx>
Date: Thu, 29 Dec 2005 10:40:38 -0800
Cc: mwalker@xxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Dec 2005 18:45:03 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nECNo1WhVSYLHRYaIfzivmQHvzQvJCrOTo+istnc7PRcfEEvfYY0ro8jhDskZKd1rEmirjTTPIEZ5P6b3s3KHYO3qxKynTJuYJiJws9FIclb1KefGVrf8X5E85T8YV4JWnqsVW+8vcsWCegIACH8l5gHm2xsQJ1nWVw6YQnISXg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43B19A5C.40604@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f57a39e90512210948k2a4821b0qca59cf6310b171ed@xxxxxxxxxxxxxx> <43B19A5C.40604@xxxxxxxxx>
Reply-to: mwalker@xxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Mark,

Thanx for the reply.

Here's the diagnostic info - not sure what the problem is yet though, I
appear to have at least some information bridge setup, so it
may be a different issue.  Also - this session is after a complete
re-install of the base system and then xen on top - still the same
problem.

The only thing that looks 'interesting' is the following at the tail
of 'xm dmesg':
...
(XEN) mtrr: base(0xe8020000) is not aligned on a size(0x800000) boundary
...

Not sure if that is a fatal error or not...

Here's the full diagnostic info you requested:

debian:~# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      125     1 r-----   116.8
debian:~# xm create vm01.cfg -c
Using config file "/etc/xen/vm01.cfg".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
debian:~#
debian:~# xm dmesg
 __  __            _____  ___   ___
 \ \/ /___ _ __   |___ / / _ \ / _ \
  \  // _ \ '_ \    |_ \| | | | | | |
  /  \  __/ | | |  ___) | |_| | |_| |
 /_/\_\___|_| |_| |____(_)___(_)___/

 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0.0 (root@) (gcc version 4.0.3 20051201 (prerelease)
(Debian 4.0.2-5)) Thu Dec 29 01:56:30 PST 2005
 Latest ChangeSet: Sun Dec  4 17:24:24 2005 +0100 8240:64cd054aa143

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 00000000000a0000 (usable)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000001fe70000 (usable)
(XEN)  000000001fe70000 - 000000001fe72000 (ACPI NVS)
(XEN)  000000001fe72000 - 000000001fe93000 (ACPI data)
(XEN)  000000001fe93000 - 000000001ff00000 (reserved)
(XEN)  00000000fec00000 - 00000000fec10000 (reserved)
(XEN)  00000000fecf0000 - 00000000fecf1000 (reserved)
(XEN)  00000000fed20000 - 00000000fed90000 (reserved)
(XEN)  00000000fee00000 - 00000000fee10000 (reserved)
(XEN)  00000000ffb00000 - 0000000100000000 (reserved)
(XEN) System RAM: 510MB (522304kB)
(XEN) Xen heap: 10MB (10644kB)
(XEN) PAE disabled.
(XEN) found SMP MP-table at 000fe710
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 DELL                                  ) @ 0x000feb90
(XEN) ACPI: RSDT (v001 DELL    3000    0x00000007 ASL  0x00000061) @ 0x000fd28b
(XEN) ACPI: FADT (v001 DELL    3000    0x00000007 ASL  0x00000061) @ 0x000fd2bf
(XEN) ACPI: SSDT (v001   DELL    st_ex 0x00001000 MSFT 0x0100000d) @ 0xfffd1496
(XEN) ACPI: MADT (v001 DELL    3000    0x00000007 ASL  0x00000061) @ 0x000fd333
(XEN) ACPI: BOOT (v001 DELL    3000    0x00000007 ASL  0x00000061) @ 0x000fd39f
(XEN) ACPI: DSDT (v001   DELL    dt_ex 0x00001000 MSFT 0x0100000d) @ 0x00000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 15:3 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 15:3 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] disabled)
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) Initializing CPU#0
(XEN) Detected 2992.621 MHz processor.
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 1024K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 04
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 1024K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 04
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) ..TIMER: vector=0x31 pin1=2 pin2=-1
(XEN) checking TSC synchronization across 2 CPUs: passed.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 2 CPUs
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found:
'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=xen-3.0,VIRT_BASE=0xC0000000,PAE=no,LOADER=generic'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   01800000->02000000 (29952 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c05fd904
(XEN)  Init. ramdisk: c05fe000->c05fe000
(XEN)  Phys-Mach map: c05fe000->c061d400
(XEN)  Start info:    c061e000->c061f000
(XEN)  Page tables:   c061f000->c0622000
(XEN)  Boot stack:    c0622000->c0623000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Scrubbing Free RAM: ......done.
(XEN) Xen trace buffers: disabled
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
input to Xen).
(XEN) mtrr: base(0xe8020000) is not aligned on a size(0x800000) boundary

debian:~# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      125     1 r-----   126.9
vm01                               1       96     1 --p---     0.0
debian:~#
debian:~# xm info
system                 : Linux
host                   : debian
release                : 2.6.12.6-xen0
version                : #1 Wed Dec 28 02:12:31 PST 2005
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 1
threads_per_core       : 2
cpu_mhz                : 2992
hw_caps                : bfebfbff:00000000:00000000:00000080:0000441d
total_memory           : 511
free_memory            : 271
xen_major              : 3
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_32
platform_params        : virt_start=0xfc000000
xen_changeset          : Sun Dec  4 17:24:24 2005 +0100 8240:64cd054aa143
cc_compiler            : gcc version 4.0.3 20051201 (prerelease)
(Debian 4.0.2-5)
cc_compile_by          : root
cc_compile_domain      : (none)
cc_compile_date        : Thu Dec 29 01:56:30 PST 2005
debian:~# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              peth0
                                                        vif0.0
debian:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:11:22:48:19
          inet addr:192.168.1.35  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16648 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:39922381 (38.0 MiB)  TX bytes:1180509 (1.1 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6640 (6.4 KiB)  TX bytes:6640 (6.4 KiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:27499 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16788 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40040429 (38.1 MiB)  TX bytes:1200860 (1.1 MiB)

veth1     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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth2     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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth3     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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth4     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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth5     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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth6     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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth7     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 txqueuelen: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
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16648 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1180509 (1.1 MiB)  TX bytes:39922381 (38.0 MiB)

vif0.1    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.2    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.3    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.4    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.5    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.6    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.7    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif1.0    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 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:57 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7059 (6.8 KiB)  TX bytes:0 (0.0 b)

debian:~#

Any other thoughts on what could be going wrong?

Thanx!
   _Mike_



On 12/27/05, Mark Foster <mark@xxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You might want to send output from these commands:
> xm dmesg
> xm list
> xm info
> brctl show
> ifconfig -a
>
> I had a similar issue on one of my boxes, the bridge was not getting
> setup correctly (output from brctl show was empty)... ended up
> uninstalling and reinstalling xen 3.0.0 and even then, the xend
> doesn't want to start at boot -- I have to start it by hand.
>
> Michael Walker wrote:
>
> > All,
> >
> > I am attempting to install Xen3.0 following the WiKi howto's for
> > 'Xen 3.0.x on Debian Sarge' (Dom0) and 'Debian Sarge on Xen'
> > (DomU):
> >
> > Dom0:
> > http://mark.foster.cc/wiki/index.php/Xen_3.0.x_on_Debian_Sarge
> > DomU: http://mark.foster.cc/wiki/index.php/Debian_Sarge_on_Xen
> >
> > I've got Debian installed just fine and Domain0 up and running.
> >
> > When I try to create my first DomainU domain - it fails with the
> > following error message:
> >
> > xen1:~# xm create vm01.cfg -c Using config file
> > "/etc/xen/vm01.cfg". Error: Device 0 (vif) could not be connected.
> > Hotplug scripts not working. xen:!#
> >
> > I've seen another thread with a similiar problem - but I didn't see
> > a resolution to this problem. Any ideas what's gone wrong?
> >
> > Here's a snippet from the xend.log if it helps:
> >
> > ... [2005-12-21 01:30:17 xend] DEBUG (DevController:133) Waiting
> > for devices vif. [2005-12-21 01:30:17 xend] DEBUG
> > (DevController:139) Waiting for 0. [2005-12-21 01:30:17 xend] DEBUG
> > (DevController:409) hotplugStatusCallback
> > /local/domain/0/backend/vif/1/0/hotplug-status. [2005-12-21
> > 01:30:27 xend] ERROR (SrvBase:87) Request wait_for_devices failed.
> > Traceback (most recent call last): File
> > "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform return
> > op_method(op, req) File
> > "/usr/lib/python/xen/xend/server/SrvDomain.py", line 72, in
> > op_wait_for_devices return self.dom.waitForDevices() File
> > "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1343, in
> > waitForDevices self.waitForDevices_(c) File
> > "/usr/lib/python/xen/xend/XendDomainInfo.py", line 971, in
> > waitForDevices_ return
> > self.getDeviceController(deviceClass).waitForDevices() File
> > "/usr/lib/python/xen/xend/server/DevController.py", line 135, in
> > waitForDevices return map(self.waitForDevice, self.deviceIDs())
> > File "/usr/lib/python/xen/xend/server/DevController.py", line 145,
> > in waitForDevice raise VmError("Device %s (%s) could not be
> > connected. " VmError: Device 0 (vif) could not be connected.
> > Hotplug scripts not working. ...
> >
> > I've attached both the xend.log and the xend.debug.log and the
> > vm01.cfg file as defined in the above WiKi.
> >
> > Any insights into what's gone wrong would be appreciated. If more
> > info is required - just let me know what will help diagnoset he
> > problem.
> >
> > Thanx, _Mike_
> >
> > -- Michael Walker mwalker@xxxxxxxx
> >
> >
> > ----------------------------------------------------------------------
> >
> >
> > [2005-12-21 01:30:11 xend] INFO (SrvDaemon:268) Xend Daemon started
> > [2005-12-21 01:30:11 xend] INFO (SrvDaemon:272) Xend changeset:
> > Sun Dec 4 17:24:24 2005 +0100 8240:64cd054aa143. [2005-12-21
> > 01:30:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:198)
> > XendDomainInfo.recreate({'paused': 0, 'cpu_time': 16092068622L,
> > 'ssidref': 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':
> > 471788, 'maxmem_kb': -4, 'max_vcpu_id': 1, 'crashed': 0, 'running':
> > 1, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0}) [2005-12-21
> > 01:30:11 xend.XendDomainInfo] INFO (XendDomainInfo:210) Recreating
> > domain 0, UUID 00000000-00000000-00000000-00000000. [2005-12-21
> > 01:30:11 xend.XendDomainInfo] WARNING (XendDomainInfo:232) No vm
> > path in store for existing domain 0 [2005-12-21 01:30:11
> > xend.XendDomainInfo] DEBUG (XendDomainInfo:655) Storing VM details:
> > {'ssidref': '0', 'uuid': '00000000-00000000-00000000-00000000',
> > 'on_reboot': 'restart', 'on_poweroff': 'destroy', 'name':
> > 'Domain-0', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '461',
> > 'on_crash': 'restart', 'maxmem': '461'} [2005-12-21 01:30:11
> > xend.XendDomainInfo] DEBUG (XendDomainInfo:680) Storing domain
> > details: {'cpu/0/availability': 'online', 'memory/target':
> > '472064', 'cpu/1/availability': 'online', 'name': 'Domain-0',
> > 'console/limit': '1048576', 'vm':
> > '/vm/00000000-00000000-00000000-00000000', 'domid': '0'}
> > [2005-12-21 01:30:11 xend] DEBUG (XendDomain:151) number of vcpus
> > to use is 0 [2005-12-21 01:30:11 xend] INFO (SrvServer:112) unix
> > path=/var/lib/xend/xend-socket [2005-12-21 01:30:16
> > xend.XendDomainInfo] DEBUG (XendDomainInfo:176)
> > XendDomainInfo.create(['vm', ['name', 'vm01'], ['memory', '96'],
> > ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip',
> > ':1.2.3.4::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['vcpus', '1'],
> > ['vcpus', '1'], ['boot', 'c'], ['nics', '1']]], ['device', ['vbd',
> > ['uname', 'file:/opt/xen/domains/vm01/diskimage'], ['dev', 'hda1'],
> > ['mode', 'w']]], ['device', ['vbd', ['uname',
> > 'file:/opt/xen/domains/vm01/swapimage'], ['dev', 'hda2'], ['mode',
> > 'w']]], ['device', ['vif']]]) [2005-12-21 01:30:16
> > xend.XendDomainInfo] DEBUG (XendDomainInfo:281) parseConfig: config
> > is ['vm', ['name', 'vm01'], ['memory', '96'], ['image', ['linux',
> > ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip',
> > ':1.2.3.4::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['vcpus', '1'],
> > ['vcpus', '1'], ['boot', 'c'], ['nics', '1']]], ['device', ['vbd',
> > ['uname', 'file:/opt/xen/domains/vm01/diskimage'], ['dev', 'hda1'],
> > ['mode', 'w']]], ['device', ['vbd', ['uname',
> > 'file:/opt/xen/domains/vm01/swapimage'], ['dev', 'hda2'], ['mode',
> > 'w']]], ['device', ['vif']]] [2005-12-21 01:30:16
> > xend.XendDomainInfo] DEBUG (XendDomainInfo:373) parseConfig: result
> > is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot':
> > None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'],
> > ['ip', ':1.2.3.4::::eth0:dhcp'], ['root', '/dev/hda1 ro'],
> > ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['nics', '1']],
> > 'on_poweroff': None, 'cpus': None, 'name': 'vm01', 'backend': [],
> > 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 96,
> > 'device': [('vbd', ['vbd', ['uname',
> > 'file:/opt/xen/domains/vm01/diskimage'], ['dev', 'hda1'], ['mode',
> > 'w']]), ('vbd', ['vbd', ['uname',
> > 'file:/opt/xen/domains/vm01/swapimage'], ['dev', 'hda2'], ['mode',
> > 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None,
> > 'maxmem': None} [2005-12-21 01:30:16 xend.XendDomainInfo] DEBUG
> > (XendDomainInfo:1123) XendDomainInfo.construct: None 0 [2005-12-21
> > 01:30:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:1155)
> > XendDomainInfo.initDomain: 1 1.0 [2005-12-21 01:30:16 xend] DEBUG
> > (balloon:47) Balloon: free 31; need 97. [2005-12-21 01:30:16
> > xend.XendDomainInfo] DEBUG (XendDomainInfo:903) Setting memory
> > target of domain Domain-0 (0) to 395 MiB. [2005-12-21 01:30:16
> > xend] INFO (image:132) buildDomain os=linux dom=1 vcpus=1
> > [2005-12-21 01:30:16 xend] DEBUG (image:170) dom = 1
> > [2005-12-21 01:30:16 xend] DEBUG (image:171) image =
> > /boot/vmlinuz-2.6.12-xenU [2005-12-21 01:30:16 xend] DEBUG
> > (image:172) store_evtchn = 1 [2005-12-21 01:30:16 xend] DEBUG
> > (image:173) console_evtchn = 2 [2005-12-21 01:30:16 xend] DEBUG
> > (image:174) cmdline = ip=:1.2.3.4::::eth0:dhcp
> > root=/dev/hda1 ro [2005-12-21 01:30:16 xend] DEBUG (image:175)
> > ramdisk = [2005-12-21 01:30:16 xend] DEBUG (image:176) vcpus
> > = 1 [2005-12-21 01:30:17 xend] DEBUG (DevController:104)
> > DevController: writing {'virtual-device': '769', 'backend-id': '0',
> > 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/769'} to
> > /local/domain/1/device/vbd/769. [2005-12-21 01:30:17 xend] DEBUG
> > (DevController:106) DevController: writing {'domain': 'vm01',
> > 'frontend': '/local/domain/1/device/vbd/769', 'dev': 'hda1',
> > 'state': '1', 'params': '/opt/xen/domains/vm01/diskimage', 'mode':
> > 'w', 'frontend-id': '1', 'type': 'file'} to
> > /local/domain/0/backend/vbd/1/769. [2005-12-21 01:30:17 xend] DEBUG
> > (DevController:104) DevController: writing {'virtual-device':
> > '770', 'backend-id': '0', 'state': '1', 'backend':
> > '/local/domain/0/backend/vbd/1/770'} to
> > /local/domain/1/device/vbd/770. [2005-12-21 01:30:17 xend] DEBUG
> > (DevController:106) DevController: writing {'domain': 'vm01',
> > 'frontend': '/local/domain/1/device/vbd/770', 'dev': 'hda2',
> > 'state': '1', 'params': '/opt/xen/domains/vm01/swapimage', 'mode':
> > 'w', 'frontend-id': '1', 'type': 'file'} to
> > /local/domain/0/backend/vbd/1/770. [2005-12-21 01:30:17 xend] DEBUG
> > (DevController:104) DevController: writing {'backend-id': '0',
> > 'mac': '00:16:3e:50:88:e8', 'handle': '0', 'state': '1', 'backend':
> > '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.
> > [2005-12-21 01:30:17 xend] DEBUG (DevController:106)
> > DevController: writing {'mac': '00:16:3e:50:88:e8', 'state': '1',
> > 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge',
> > 'frontend-id': '1', 'domain': 'vm01', 'frontend':
> > '/local/domain/1/device/vif/0'} to /local/domain/0/backend/vif/1/0.
> > [2005-12-21 01:30:17 xend.XendDomainInfo] DEBUG
> > (XendDomainInfo:655) Storing VM details: {'ssidref': '0', 'uuid':
> > '19d0e670-31a9234a-73c39835-0a58f6b7', 'on_reboot': 'restart',
> > 'image': "(linux (kernel /boot/vmlinuz-2.6.12-xenU) (ip
> > :1.2.3.4::::eth0:dhcp) (root '/dev/hda1 ro') (vcpus 1) (vcpus 1)
> > (boot c) (nics 1))", 'on_poweroff': 'destroy', 'name': 'vm01',
> > 'vcpus': '1', 'vcpu_avail': '1', 'memory': '96', 'on_crash':
> > 'restart', 'start_time': '1135157417.12', 'maxmem': '96'}
> > [2005-12-21 01:30:17 xend.XendDomainInfo] DEBUG
> > (XendDomainInfo:680) Storing domain details: {'console/ring-ref':
> > '73417', 'console/port': '2', 'name': 'vm01', 'console/limit':
> > '1048576', 'vm': '/vm/19d0e670-31a9234a-73c39835-0a58f6b7',
> > 'domid': '1', 'cpu/0/availability': 'online', 'memory/target':
> > '98304', 'store/ring-ref': '73418', 'store/port': '1'} [2005-12-21
> > 01:30:17 xend] DEBUG (DevController:133) Waiting for devices vif.
> > [2005-12-21 01:30:17 xend] DEBUG (DevController:139) Waiting for 0.
> > [2005-12-21 01:30:17 xend] DEBUG (DevController:409)
> > hotplugStatusCallback
> > /local/domain/0/backend/vif/1/0/hotplug-status. [2005-12-21
> > 01:30:27 xend] ERROR (SrvBase:87) Request wait_for_devices failed.
> > Traceback (most recent call last): File
> > "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform return
> > op_method(op, req) File
> > "/usr/lib/python/xen/xend/server/SrvDomain.py", line 72, in
> > op_wait_for_devices return self.dom.waitForDevices() File
> > "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1343, in
> > waitForDevices self.waitForDevices_(c) File
> > "/usr/lib/python/xen/xend/XendDomainInfo.py", line 971, in
> > waitForDevices_ return
> > self.getDeviceController(deviceClass).waitForDevices() File
> > "/usr/lib/python/xen/xend/server/DevController.py", line 135, in
> > waitForDevices return map(self.waitForDevice, self.deviceIDs())
> > File "/usr/lib/python/xen/xend/server/DevController.py", line 145,
> > in waitForDevice raise VmError("Device %s (%s) could not be
> > connected. " VmError: Device 0 (vif) could not be connected.
> > Hotplug scripts not working.
> >
> >
> > ----------------------------------------------------------------------
> >
> >
> > Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995,
> > 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights
> > reserved.
> >
> > Please contribute if you find this software useful. For info,
> > please visit http://www.isc.org/dhcp-contrib.html
> >
> > Listening on LPF/eth0/00:11:11:22:48:19 Sending on
> > LPF/eth0/00:11:11:22:48:19 Sending on
> > Socket/fallback/fallback-net DHCPREQUEST on eth0 to 255.255.255.255
> > port 67 DHCPACK from 192.168.1.1 bound to 192.168.1.29 -- renewal
> > in 10800 seconds.
> >
> >
> > ----------------------------------------------------------------------
> >
> >
> > _______________________________________________ Xen-users mailing
> > list Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
>
>
> - --
> Some days it's just not worth chewing through the restraints...
> Mark D. Foster, CISSP <mark@xxxxxxxxx>  http://mark.foster.cc/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDsZpbPyOrEOyoEfsRAvaCAKCTz5wrZuG58ltjOO6m8CRW77U5lACgqU3X
> 1Xbo+Kgn1xOzNdvH/CS5qMg=
> =Wb+W
> -----END PGP SIGNATURE-----
>
>


--
Michael Walker
mwalker@xxxxxxxx

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