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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
On Mon, Sep 14, 2009 at 06:08:50PM +0300, Silviu Paragina wrote:> 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" >What''s the physical NIC you have? Please run "ethtool -i peth0" in dom0. Also check the offloading settings in dom0 for the NIC: "ethtool -k peth0" -- Pasi> 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@lists.xensource.com > lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
I was sure I forgot something :"> There is no physical interface, I use a stripped down network-bridge that doesn''t add any physical interface to the bridge. I have attached it here. The vif script is the standard bridge one. Also I have tried gplpv from this packages: "gplpv_chk_wlh_x86_0.10.0.83.msi" and "gplpv_chk_wlh_x86_0.10.0.86.msi" Silviu Pasi Kärkkäinen wrote:> On Mon, Sep 14, 2009 at 06:08:50PM +0300, Silviu Paragina wrote: > >> 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" >> >> > > What''s the physical NIC you have? > > Please run "ethtool -i peth0" in dom0. > > Also check the offloading settings in dom0 for the NIC: > "ethtool -k peth0" > > -- Pasi > > >> 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@lists.xensource.com >> lists.xensource.com/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
> > 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 machinecan> 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 5packets"> > 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).So even with checksum offload off you get checksum errors? Can you try the very latest -dontuse version? James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
James Harper wrote:>> 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). >> > > So even with checksum offload off you get checksum errors? > > Can you try the very latest -dontuse version? > > James > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users >Ok my stupidity amazes me :| . The checksum offloading I touched last time was actually "Check checksum on RX packets" ... I have disabled checksum offloading and everything works great... (with dontuse and 86 too). About that second question (the cdrom doesn''t show up in my computer) is it my fault or just not yet implemented? Now considering the dontuse version is actually for testing should I use it? (it seems stable :-?? ) Or I''m better off with the 86 one. (I intend to do this on a production system now that it works) Silviu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
As as side note to James, there are plenty of us waiting for the CD-ROM support to be implemented in GPLPV (for xen <3.4), and really appreciate it if you find time to look into this :D. As I recall, starting from Xen 3.4 there is an option (or is this by default?) not to use GPLPV for CD-ROM and thus it would work as it did without PV; correct me if I''m wrong. Cheers, Antti Kanes> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Silviu Paragina > Sent: 15. syyskuuta 2009 18:06 > To: James Harper > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] GPLPV and dhcp should it work? > > James Harper wrote: > >> 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). > >> > > > > So even with checksum offload off you get checksum errors? > > > > Can you try the very latest -dontuse version? > > > > James > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > lists.xensource.com/xen-users > > > Ok my stupidity amazes me :| . The checksum offloading I > touched last time was actually "Check checksum on RX packets"... I have disabled checksum offloading and everything works > great... (with dontuse and 86 too).> > About that second question (the cdrom doesn''t show up in my > computer) is it my fault or just not yet implemented? > Now considering the dontuse version is actually for testing > should I use it? (it seems stable :-?? ) Or I''m better off > with the 86 one. (I intend to do this on a production system > now that it works) > > > Silviu > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
So the cdrom feature is not yet implemented, I thought I missed something. :) Is the info from wiki.xensource.com/xenwiki/XenWindowsGplPv/Building still accurate (the wdk version & co) Silviu Antti Kanes wrote:> As as side note to James, there are plenty of us waiting for the CD-ROM > support to be implemented in GPLPV (for xen <3.4), and really appreciate it > if you find time to look into this :D. > > As I recall, starting from Xen 3.4 there is an option (or is this by > default?) not to use GPLPV for CD-ROM and thus it would work as it did > without PV; correct me if I''m wrong. > > Cheers, > Antti Kanes > > >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >> Silviu Paragina >> Sent: 15. syyskuuta 2009 18:06 >> To: James Harper >> Cc: xen-users@lists.xensource.com >> Subject: Re: [Xen-users] GPLPV and dhcp should it work? >> >> James Harper wrote: >> >>>> 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). >>>> >>>> >>> So even with checksum offload off you get checksum errors? >>> >>> Can you try the very latest -dontuse version? >>> >>> James >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> lists.xensource.com/xen-users >>> >>> >> Ok my stupidity amazes me :| . The checksum offloading I >> touched last time was actually "Check checksum on RX packets" >> > ... I have disabled checksum offloading and everything works > great... > (with dontuse and 86 too). > >> About that second question (the cdrom doesn''t show up in my >> computer) is it my fault or just not yet implemented? >> Now considering the dontuse version is actually for testing >> should I use it? (it seems stable :-?? ) Or I''m better off >> with the 86 one. (I intend to do this on a production system >> now that it works) >> >> >> Silviu >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> lists.xensource.com/xen-users >> >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users