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

[Xen-users] OpenBSD HVM networking misbehaves with Xen4



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.