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] domU HVM network problem

You need to specify 'type=ioemu' in your vif line.  If running multiple domu's you should also specify a unique mac address for each one.  Also in my version of XEN (3.0.3) the domu would not start if I didn't have a bridge created ahead of time even though I am using route and not bridge.  I fixed this by adding 'brctl addbr xenbr0' to network-route.

Good Luck!

Max Baro
Technical Support Supervisor
FACTS Services, Inc.
(305) 284 - 7440
meb@xxxxxxxxxxxxxxxxx



-----Original Message-----

Message: 6
Date: Sat, 8 Mar 2008 16:53:54 +0100
From: Carles Pina i Estany <carles@xxxxxxxx>
Subject: [Xen-users] domU HVM network problem
To: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID: <20080308155354.GA8029@xxxxxxxx>
Content-Type: text/plain; charset="us-ascii"


Hello,

I'm using a Debian Etch server (AMD 64 bits) and I'm trying to use Xen
3.0.1 from Debian respositories to install another Debian (64 bits).
Using route network configuration (not bridge).

The Debian DomU doesn't find any Ethernet card (I execute lspci and I
don't see anything related with Ethernet)

The /etc/xen/xend-config.sxp file contains:
--------------
(logfile /var/log/xen/xend.log)
(network-script network-route)
(vif-script     vif-route)
(dom0-min-mem 196)
(dom0-cpus 0)
(vnc-listen '192.168.0.1')
--------------

(and other comented lines :-) )

And the /etc/xen/machinename.hvm (last version) contains:
--------------
kernel="/usr/lib64/xen-3.0.3-1/boot/hvmloader"
builder='hvm'
device_model='/usr/lib64/xen-3.0.3-1/bin/qemu-dm'
memory=256
name='chronojump'
vif = [ 'ip=192.168.0.150']
disk=['file:/home/xen/domains/chronojump/root,sda1,w','file:/home/xen/domains/de
bian-etch.iso,hdc:cdrom,r']
boot='d'
vnc=1
vncviewer=1
sdl=0
vncpasswd=''
pae=1
#acpi=0
#apic=0
stdvga=0
ne2000=1
--------------

I have tried without ne2000=1/0, also I have tried adding ip and gatway
parameters, and adding names to vif parameter, but I never got any card
in domU.

I send attached the last part of /var/log/xend.log.

Any idea please? Something else to read? (I have been searching information for quite long time and I made many tests...)

Thank you so much!

--
Carles Pina i Estany            GPG id: 0x8CBDAE64
        http://pinux.info       Manresa - Barcelona
-------------- next part --------------
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) XendDomainInfo.create(['vm', ['name', 'chronojump'], ['memory', 256], ['vcpus', 1],

 ['image', ['hvm', ['kernel', '/usr/lib64/xen-3.0.3-1/boot/hvmloader'], ['args', 'VNC_VIEWER=127.0.0.1:5501 '], ['pae', 1], ['vcpus', 1], ['boot', 'd'],

 ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['device_model', '/usr/lib64/xen-3.0.3-1/bin/qemu-dm']]], ['device', ['vbd', ['uname

', 'file:/home/xen/domains/chronojump/root'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/debian-etch.iso'],

['dev', 'hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['ip', '192.168.0.150']]]])
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) parseConfig: config is ['vm', ['name', 'chronojump'], ['memory', 256], ['vcpus', 1]

, ['image', ['hvm', ['kernel', '/usr/lib64/xen-3.0.3-1/boot/hvmloader'], ['args', 'VNC_VIEWER=127.0.0.1:5501 '], ['pae', 1], ['vcpus', 1], ['boot', 'd']

, ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['device_model', '/usr/lib64/xen-3.0.3-1/bin/qemu-dm']]], ['device', ['vbd', ['unam

e', 'file:/home/xen/domains/chronojump/root'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/debian-etch.iso'],

 ['dev', 'hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['ip', '192.168.0.150']]]]
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': None, 'on_

reboot': None, 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib64/xen-3.0.3-1/boot/hvmloader'], ['args', 'VNC_VIEWER=127.0.0.1:5501 '], ['pae',

1], ['vcpus', 1], ['boot', 'd'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['device_model', '/usr/lib64/xen-3.0.3-1/bin/qemu-dm

']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'chronojump', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None,

'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'file:/home/xen/domains/chronojump/root'], ['dev', 'sda1'], ['mode', 'w']]), ('v

bd', ['vbd', ['uname', 'file:/home/xen/domains/debian-etch.iso'], ['dev', 'hdc:cdrom'], ['mode', 'r']]), ('vif', ['vif', ['ip', '192.168.0.150']])], 'bo

otloader': None, 'cpu': None, 'maxmem': None}
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) XendDomainInfo.construct: None
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) XendDomainInfo.initDomain: 3 1.0
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: boot, val: d
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: fda, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: fdb, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: soundhw, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: localtime, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: serial, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: std-vga, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: isa, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: vcpus, val: 1
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: acpi, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: usb, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) args: usbdevice, val: None
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) Balloon: 278144 KiB free; need 278120; done.
[2008-03-08 16:34:20 xend 5195] INFO (__init__:1072) buildDomain os=hvm dom=3 vcpus=1
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) dom            = 3
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) image          = /usr/lib64/xen-3.0.3-1/boot/hvmloader
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) store_evtchn   = 1
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) memsize        = 256
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) vcpus          = 1
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) pae            = 1
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) acpi           = 0
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) apic           = 0
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) hvm shutdown watch registered
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '2049', 'device-type': 'disk', 'state

': '1', 'backend': '/local/domain/0/backend/vbd/3/2049'} to /local/domain/3/device/vbd/2049.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) DevController: writing {'domain': 'chronojump', 'frontend': '/local/domain/3/device/vbd/2049', 'de

v': 'sda1', 'state': '1', 'params': '/home/xen/domains/chronojump/root', 'mode': 'w', 'online': '1', 'frontend-id': '3', 'type': 'file'} to /local/domai

n/0/backend/vbd/3/2049.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc'

[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'stat

e': '1', 'backend': '/local/domain/0/backend/vbd/3/5632'} to /local/domain/3/device/vbd/5632.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) DevController: writing {'domain': 'chronojump', 'frontend': '/local/domain/3/device/vbd/5632', 'de

v': 'hdc', 'state': '1', 'params': '/home/xen/domains/debian-etch.iso', 'mode': 'r', 'online': '1', 'frontend-id': '3', 'type': 'file'} to /local/domain

/0/backend/vbd/3/5632.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:5d:63:f8', 'handle': '0', 'state': '1'

, 'backend': '/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vif/0.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) DevController: writing {'domain': 'chronojump', 'handle': '0', 'script': '/etc/xen/scripts/vif-rou

te', 'ip': '192.168.0.150', 'state': '1', 'frontend': '/local/domain/3/device/vif/0', 'mac': '00:16:3e:5d:63:f8', 'online': '1', 'frontend-id': '3'} to

/local/domain/0/backend/vif/3/0.
[2008-03-08 16:34:20 xend 5195] INFO (__init__:1072) spawning device models: /usr/lib64/xen-3.0.3-1/bin/qemu-dm ['/usr/lib64/xen-3.0.3-1/bin/qemu-dm', '

-d', '3', '-m', '256', '-boot', 'd', '-vcpus', '1', '-domain-name', 'chronojump', '-vncunused', '-k', 'en-us', '-vnclisten', '192.168.0.1']

[2008-03-08 16:34:20 xend 5195] INFO (__init__:1072) device model pid: 6184
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) Storing VM details: {'shadow_memory': '3', 'uuid': 'e5f8cbae-e126-967f-55d5-9d5f7c7

be5dc', 'on_reboot': 'restart', 'start_time': '1204990460.52', 'on_poweroff': 'destroy', 'name': 'chronojump', 'xend/restart_count': '0', 'vcpus': '1',

'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': "(hvm (kernel /usr/lib64/xen-3.0.3-1/boot/hvmloader) (args 'VNC_VIEWER=127.0.0.1:550

1 ') (pae 1) (vcpus 1) (boot d) (vnc 1) (vncunused 1) (xauthority /root/.Xauthority) (device_model /usr/lib64/xen-3.0.3-1/bin/qemu-dm))", 'maxmem': '256

'}
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) Storing domain details: {'console/port': '2', 'name': 'chronojump', 'console/limit'

: '1048576', 'vm': '/vm/e5f8cbae-e126-967f-55d5-9d5f7c7be5dc', 'domid': '3', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref'

: '281761', 'store/port': '1'}
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) hvm_shutdown fired, shutdown reason=None
[2008-03-08 16:34:20 xend.XendDomainInfo 5195] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) Waiting for devices vif.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) Waiting for 0.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.

[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.

[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) Waiting for devices usb.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) Waiting for devices vbd.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) Waiting for 2049.
[2008-03-08 16:34:20 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/3/2049/hotplug-status.

[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/3/2049/hotplug-status.

[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for 5632.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/3/5632/hotplug-status.

[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices irq.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices pci.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices ioports.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices tap.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices vtpm.
[2008-03-08 16:34:22 xend 5195] INFO (__init__:1072) Domain chronojump (3) unpaused.
[2008-03-08 16:36:50 xend 5195] ERROR (__init__:1072) method "xend_vnets" is not supported
hotplug-status.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/3/2049/hotplug-status.

[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for 5632.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/3/5632/hotplug-status.

[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices irq.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices pci.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices ioports.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices tap.
[2008-03-08 16:34:22 xend 5195] DEBUG (__init__:1072) Waiting for devices vtpm.
[2008-03-08 16:34:22 xend 5195] INFO (__init__:1072) Domain chronojump (3) unpaused.

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

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


End of Xen-users Digest, Vol 37, Issue 48
*****************************************

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