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] GPLPV and dhcp should it work?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] GPLPV and dhcp should it work?
From: Silviu Paragina <silviu@xxxxxxxxxxx>
Date: Mon, 14 Sep 2009 18:08:50 +0300
Delivery-date: Mon, 14 Sep 2009 08:09:33 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=paragina.ro; h=message-id :date:from:mime-version:to:subject:content-type; s=doradusmail; bh=gJkpUamNTsYaXvnm0Nmx1rLgXW0=; b=EsvVBGJ90fhRJjqBfTlwVgkVwjn9 uyfrZ0yV8BSH2gaI8InjTSw6uHVDThZi/mo2mVgwtjUXwq6uXFc/RmCBhmzsJiBv 2tnn6hKaD5Z66VBoOUXwlWeZw9mIJ7aV/ANSqxZrj2L63nRpkTOk86ABlVttPM6I VtMWkeoV4fSVMc8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=paragina.ro; h=message-id :date:from:mime-version:to:subject:content-type; q=dns; s= doradusmail; b=sx2/oANNdrQBpXtsGdT/CHRt5pvdzg9ym8A+mVa/BAPyOb/GZ GYFTLKgM8s0YTAeqkYPRzEXXIzlBWSFJbv4YF3uvKf4KWfL5RbwpG5TDffAQcMax CV4MfJ38WiSYkDEGbhmRL75ebVQpDK4nxn0NPZY/U9qiofs6NYUJtrMB8g=
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: Thunderbird 2.0.0.23 (Windows/20090812)
My problem:
I have
- a xen ubuntu 9.04 with xen from the repository (3.3.0 with some patches) and the debian kernel
- windows 2008 server guest with the attached config
- dhcp3 server with the attached config

If I leave everything as is (without gplpv) everything works great.
If I install gplpv and remove type=ioemu from the config the machine can not get the ip, but if I manually set the ip address it works fine.
On the dhcp server side I get "dhcpd: 5 bad udp checksums in 5 packets"

I have tried Checksum offloading from properties on the xen network device with no luck. I shall try again anyhow (I might have missed something, because I had other issues with xen at the time).

Also on another note the iso image, attached as a cdrom, vanishes after I install the drivers, but this doesn't matter much.

Searching with google I have found a few sites some that say this is solved, some that say to disable Checksum offloading, but all sites I have found refer to the 0.9.x version of the drivers, so I'm not sure of anything. Is this how they are supposed to act?



Silviu
ddns-update-style none;
default-lease-time 600;
max-lease-time 600;
log-facility daemon;


#dhcpd.conf part


subnet X.X.0.0 netmask 255.255.0.0 {
        range X.X.1.0 X.X.1.255;
        option domain-name-servers X.X.X.X, X.X.X.X;
        #option domain-name "internal.example.org";
        option routers X.X.0.1;
        #option broadcast-address X.X.255.255;
        #default-lease-time 600;
        #max-lease-time 7200;
        host w2008 
        {
                hardware ethernet 00:16:3E:XX:XX:XX;
                fixed-address X.X.0.3;
        }
}


import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1000

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 32
name = "w2008"
vif = [ 'mac=00:16:3E:XX:XX:XX,type=ioemu,bridge=xenbr,vifname=w2008' ]
localtime = 1
dhcp = 'dhcp'
acpi = 1
apic = 1
disk = [ 'file:/var/lib/images/xenwin2008.img,hda,w', 
'file:/var/lib/images/windows2008x86.iso,hdc:cdrom,r' ]
vcpus = 2
#cpu = 1
#cpus = 1
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d) 
# default: hard disk, cd-rom, floppy
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''

serial='pty'
usbdevice='tablet'

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>