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

[Xen-users] OpenBSD HVM networking misbehaves with Xen4

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] OpenBSD HVM networking misbehaves with Xen4
From: Hugo Silva <hugo@xxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2011 13:48:35 +0100
Delivery-date: Wed, 22 Jun 2011 08:26:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Hello everyone,

I noticed some unexpected behaviour today while setting up an OpenBSD
domU (HVM, of course).

Usually I just emulate a e1000, because the default gives me constant
watchdog timeouts (this seems to be well known).

The new thing though is that:
 - with e1000, install will hang when entering networking parameters.
  - if done manually when the system is running, the VM will hang when
upping the interface.
 - setting an IP while the system is running results in the same
behaviour as inputting it during install (ifconfig will hang)

 - with other drivers (that the fxp driver on obsd recognizes), upping
the interface immediately reboots the VM.


The one thing differing here (besides hardware) is the Xen version: I
usually run 3.3.2 (the dom0 is NetBSD -current), and this is 4.1.

I have some VMs running OpenBSD on Xen 3.3.2: this issue isn't present
(therefore I'm assuming it's somehow related to Xen 4.1, altough not
100% sure!).
Using xm, not xl - though it shouldn't matter?


If anyone is interested in troubleshooting/confirming this (install a
obsd hvm domU, try to configure the network on install - config provided
in the end of the email -- you'll need install49.iso from a OpenBSD
mirror/ftp site: for 4.9/amd64, it's
ftp://ftp.openbsd.org/pub/OpenBSD/4.9/amd64/install49.iso)


Since this is an ongoing project and I need the VM setup, I only have so
much time to try to get to the bottom of this. Will have to revert to
3.3.2 in a day or two otherwise.


For any reply: please CC me, as I'm not subscribed to this list.


Best regards,
Hugo
------------
obsd domU sample configuration


kernel = "/usr/pkg/lib/xen/boot/hvmloader"

builder='hvm'
memory=64
shadow_memory=1
name="omerta:ipsec-gw"

vif = [ 'type=ioemu, bridge=bridge0, model=e1000', 'type=ioemu,
bridge=bridge1, model=e1000' ]

disk =  [
    'phy:/dev/mapper/rcryptovg0-ipsecgw,ioemu:hda,w',
    'phy:/dev/mapper/rvg0-ipsecgw_swap0,ioemu:hdb,w',
    'file:/home/saro/iso/install49.iso,hdc:cdrom,r'
    ]

boot="d"

vnc = 1
sdl = 0

vncconsole=0
vncdisplay=0

cpus="0"
vcpus=1
keymap="pt"

acpi=0
apic=0
device_model='/usr/pkg/libexec/qemu-dm'
stdvga=0
serial='pty'

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] OpenBSD HVM networking misbehaves with Xen4, Hugo Silva <=