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

Re: [Xen-users] Create domU failure for DHCP request, I also mounted and edited interfaces


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Joni Lee <webcokies@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sun, 5 Jul 2009 11:50:49 -0700 (PDT)
  • Cc:
  • Delivery-date: Sun, 05 Jul 2009 11:51:54 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=EYM0kphlAb3PukNIj0pqcFpdhVXKTMvg3enKyVT9NPhdt9NoA5swSRBCdVJBu44ayl0fucxQvEcdUpGoCxu7JrmWZoOst+8QMNqRY/+dLiEpbZpTcC+3jgH+NJ8RrgZBX9+YiPBfrq0kMMRbryXUJWx5zlG3QP3MJPIjN+6CBHE=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Personally , i made Xen 3.4.1 port to Ubuntu 9.04 Server manually.
It works fine.

http://lxer.com/module/newswire/view/122253/index.html

Regarding install PV DomUs via dual-pygrub technique you may view:-

http://lxer.com/module/newswire/view/121777/index.html

and try it on Xen Host you already built up, ignoring my 3.4.1 setup.

It would also work at Xen 3.4.1 Dom0 on top of Ubuntu 9.04 same way.
I never trust samples like you picked up.

Don't be afraid of building xenified kernel manually. I would recommend
2.6.29.4 patched per Anrew Lyon ( patches are rebased Jan's Beulich src
rpm for Suse xenified kernel 2.6.29 )

wget http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.29-6.tar.bz2


Boris
 

--- On Sun, 7/5/09, Joni Lee <webcokies@xxxxxxxxx> wrote:

From: Joni Lee <webcokies@xxxxxxxxx>
Subject: Re: [Xen-users] Create domU failure for DHCP request, I also mounted and edited interfaces
To: xen-users@xxxxxxxxxxxxxxxxxxx, "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Date: Sunday, July 5, 2009, 1:41 PM

Thank you Boris for giving me a help. It's Xen 3.3 the steps following:

1.
sudo apt-get install python2.5 ubuntu-xen-desktop

2.
I used is this kernel: linux-image-2.6.26-2-xen-686_2.6.26-15_i386.deb

Download from here:

Kernel: http://packages.debian.org/lenny/i386/linux-image-2.6.26-2-xen-686/download

Modules: http://packages.debian.org/lenny/i386/linux-modules-2.6.26-2-xen-686/download

sudo dpkg -i the-two-files

3. my GRUB menu.lst
title Xen 3.3 / Ubuntu 9.04, kernel 2.6.26-2-xen-686
uuid 6b277920-c7c1-4c22-a0e6-cd3890d674e1
kernel /boot/xen-3.3.gz
module /boot/vmlinuz-2.6.26-2-xen-686 root=UUID=6b277920-c7c1-4c22-a0e6-cd3890d674e1 ro console=tty0
module /boot/initrd.img-2.6.26-2-xen-686
quiet
4.   sudo apt-get remove network-manager

         update the file /etc/network/interfaces:

    auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

5. And xend.log maybe help
[2009-07-05 19:38:26 6016] DEBUG (XendDomainInfo:89) XendDomainInfo.create(['vm', ['name', 'ttylinux'], ['memory', 128], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/root/ttylinux/vmlinuz-2.6.16.33-xen'], ['ramdisk', '/root/ttylinux/initrd-2.6.28-11-generic'], ['ip', ':127.0.255.255::::eth0:dhcp'], ['root', '/dev/sda ro'], ['args', 'xencons=tty']]], ['device', ['vbd', ['uname', 'file:/root/ttylinux/ttylinux.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'eth0']]]])
[2009-07-05 19:38:26 6016] DEBUG (XendDomainInfo:2028) XendDomainInfo.constructDomain
[2009-07-05 19:38:26 6016] DEBUG (balloon:132) Balloon: 132728 KiB free; need 2048; done.
[2009-07-05 19:38:26 6016] DEBUG (XendDomain:447) Adding Domain:
2
[2009-07-05 19:38:26 6016] DEBUG (XendDomainInfo:2134) XendDomainInfo.initDomain: 2 256
[2009-07-05 19:38:26 6016] DEBUG (XendDomainInfo:2215) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0.
[2009-07-05 19:38:26 6016] DEBUG (balloon:132) Balloon: 132728 KiB free; need 132096; done.
[2009-07-05 19:38:26 6016] INFO (image:166) buildDomain os=linux dom=2 vcpus=1
[2009-07-05 19:38:26 6016] DEBUG (image:631) domid = 2
[2009-07-05 19:38:26 6016] DEBUG (image:632) memsize = 128
[2009-07-05 19:38:26 6016] DEBUG (image:633) image = /root/ttylinux/vmlinuz-2.6.16.33-xen
[2009-07-05 19:38:26 6016] DEBUG (image:634) store_evtchn = 1
[2009-07-05 19:38:26 6016] DEBUG (image:635) console_evtchn = 2
[2009-07-05 19:38:26 6016] DEBUG (image:636) cmdline = root=/dev/sda ro ip=:127.0.255.255::::eth0:dhcp xencons=tty
[2009-07-05 19:38:26 6016] DEBUG (image:637) ramdisk
= /root/ttylinux/initrd-2.6.28-11-generic
[2009-07-05 19:38:26 6016] DEBUG (image:638) vcpus = 1
[2009-07-05 19:38:26 6016] DEBUG (image:639) features =
[2009-07-05 19:38:26 6016] INFO (XendDomainInfo:1900) createDevice: vbd : {'uuid': '7deedfdd-2a55-5791-77a4-77c1927c73cf', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname': 'file:/root/ttylinux/ttylinux.img', 'mode': 'w'}
[2009-07-05 19:38:26 6016] DEBUG (DevController:122) DevController: writing {'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/2049'} to /local/domain/2/device/vbd/2049.
[2009-07-05 19:38:26 6016] DEBUG (DevController:124) DevController: writing {'domain': 'ttylinux', 'frontend': '/local/domain/2/device/vbd/2049', 'uuid': '7deedfdd-2a55-5791-77a4-77c1927c73cf', 'dev': 'sda1', 'state': '1', 'params': '/root/ttylinux/ttylinux.img',
'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'file'} to /local/domain/0/backend/vbd/2/2049.
[2009-07-05 19:38:26 6016] INFO (XendDomainInfo:1900) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:09:99:c3', 'uuid': '3671f664-673a-d629-a4ad-4048a7a70c1e'}
[2009-07-05 19:38:26 6016] DEBUG (DevController:122) DevController: writing {'mac': '00:16:3e:09:99:c3', 'handle': '0', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
[2009-07-05 19:38:26 6016] DEBUG (DevController:124) DevController: writing {'bridge': 'eth0', 'domain': 'ttylinux', 'handle': '0', 'uuid': '3671f664-673a-d629-a4ad-4048a7a70c1e', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:09:99:c3', 'frontend-id': '2', 'state': '1', 'online': '1', 'frontend': '/local/domain/2/device/vif/0'} to /local/domain/0/backend/vif/2/0.
[2009-07-05 19:38:26 6016] DEBUG
(XendDomainInfo:2729) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '0ce37bfd-8689-f7be-5f23-caf40b5981f7', 'on_reboot': 'restart', 'start_time': '1246815506.69', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel /root/ttylinux/vmlinuz-2.6.16.33-xen) (ramdisk /root/ttylinux/initrd-2.6.28-11-generic) (args 'root=/dev/sda ro ip=:127.0.255.255::::eth0:dhcp xencons=tty') (notes (HV_START_LOW 4118806528) (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3222278144) (LOADER generic) (PAE_MODE yes) (ENTRY 3222274048) (XEN_VERSION xen-3.0)))", 'name': 'ttylinux'}
[2009-07-05 19:38:26 6016] DEBUG (XendDomainInfo:1359) Storing domain details:
{'console/ring-ref': '28998', 'image/entry': '3222274048', 'console/port': '2', 'store/ring-ref': '28999', 'image/loader': 'generic', 'vm': '/vm/0ce37bfd-8689-f7be-5f23-caf40b5981f7', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '131072', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page': '3222278144', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'console/type': 'xenconsoled', 'image/features/auto-translated-physmap': '1', 'name': 'ttylinux', 'domid': '2', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2009-07-05 19:38:26 6016] DEBUG (DevController:122)
DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/2/0'} to /local/domain/2/device/console/0.
[2009-07-05 19:38:26 6016] DEBUG (DevController:124) DevController: writing {'domain': 'ttylinux', 'frontend': '/local/domain/2/device/console/0', 'uuid': 'd786543a-4450-5d35-8af2-de652688d9c8', 'frontend-id': '2', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/2/0.
[2009-07-05 19:38:26 6016] DEBUG (XendDomainInfo:1443) XendDomainInfo.handleShutdownWatch
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices vif.
[2009-07-05 19:38:26 6016] DEBUG (DevController:160) Waiting for 0.
[2009-07-05 19:38:26 6016] DEBUG (DevController:645) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2009-07-05 19:38:26 6016] DEBUG (DevController:645) hotplugStatusCallback
/local/domain/0/backend/vif/2/0/hotplug-status.
[2009-07-05 19:38:26 6016] DEBUG (DevController:659) hotplugStatusCallback 1.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices vscsi.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices vbd.
[2009-07-05 19:38:26 6016] DEBUG (DevController:160) Waiting for 2049.
[2009-07-05 19:38:26 6016] DEBUG (DevController:645) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status.
[2009-07-05 19:38:26 6016] DEBUG (DevController:645) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status.
[2009-07-05 19:38:26 6016] DEBUG (DevController:659) hotplugStatusCallback 1.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices irq.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices vkbd.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices vfb.
[2009-07-05
19:38:26 6016] DEBUG (DevController:155) Waiting for devices console.
[2009-07-05 19:38:26 6016] DEBUG (DevController:160) Waiting for 0.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices pci.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices ioports.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices tap.
[2009-07-05 19:38:26 6016] DEBUG (DevController:155) Waiting for devices vtpm.
[2009-07-05 19:38:26 6016] INFO (XendDomain:1172) Domain ttylinux (2) unpaused.

Wait to hear from you soon.
thank you


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