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] Weird bridge problem Xen 4 + Debian Squeeze + HVM

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Weird bridge problem Xen 4 + Debian Squeeze + HVM
From: Francisco Javier Funes Nieto <esencia@xxxxxxxxx>
Date: Fri, 13 May 2011 00:29:49 +0200
Delivery-date: Thu, 12 May 2011 15:32:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=BMe+G/78D85L5scYffJe7yeuao/TjAGnea2lOHpb1ug=; b=ke9VuKIWOjxF2b4qKVTBpO4g4TrJq5owt32x3sMPQcsXGSuIhPO0ubBdvQLq6QIT0k Ql+Lyo9GVQh3L/Z4tsR5ukUWNV8gCejpAbEHZ2aH3iFIDtcmlY98YhI9vNHDc+aUpngn Q73cLVnX6o9yfqnGl3rPp4g4g0nkhR1Uaeu0I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aQOFPGF8k2UeGZe2hAtAKehsai8FYBCXCxrDRUnbOqDpGfXoHkCR1aeab9ou64LisM ZUDY2R3Nl0icUXZlL04gX9JOHsq3ODo1mVWPEjhuULdnGAX8/LsdHUt9V1V5M+Y1knaR uSO2FMOmkGWdSgH92Sd+XrbXFPQ7vFR4UEz5E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1305236845.2939.118.camel@xxxxxxxxxxxxxxxxxxxx>
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>
References: <BANLkTikSU+uGeVQNbNX+FVJaSg2BNKG9Nw@xxxxxxxxxxxxxx> <1305236845.2939.118.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Without the VM-HVM running...

root@debian:~# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.002215e17c2f       no              peth0


VM-HVM Running:

root@debian:~# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.002215e17c2f       no              peth0
                                                        vif1.0

If I use type=paravirtualized in the vif statement and add to the iso the GPLPV drivers (with nLite) the network works in the HVM domU (WinXP) but the default type=ioemu doesn't works.

With Xen 3.4.2/Lenny dom0 it works flawlessly !! But Squeeze/Xen4 doesn't.

Any ideas?

J.
2011/5/12 Alexandre Chapellon <a.chapellon@xxxxxxxxx>
you specify eth0 as the bridge interface?
does eth0 is really a bridge?

what's the output of brctl show?

Le jeudi 12 mai 2011 à 21:39 +0200, Francisco Javier Funes Nieto a
écrit :
> Hi all,
>
>
> I've a Debian Squeeze 64bits box with Xen 4 from deb repositories and
> PV/HVM support.
>
>
> root@debian:~# xm info |grep xen_caps
> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
> hvm-3.0-x86_32p hvm-3.0-x86_64
>
>
> I'm trying to do a Windoze HVM but I've no network at all.
>
>
> This is the cfg file:
>
>
> #####################
> import os, re
> arch = os.uname()[4]
>
>
> kernel = "/usr/lib/xen-4.0/boot/hvmloader"
>
>
> builder='hvm'
> vcpus = '1'
> memory = 512
> shadow_memory = 8
> name = "xp1.canonigos.es"
> vif = [ 'type=ioemu, bridge=eth0' ]
> disk = [
>  'phy:/dev/mapper/vserver-xp1,ioemu:hda,w',
>  'file:/root/xp.iso,ioemu:hdb:cdrom,r'
> ]
>
>
>
>
> device_model = '/usr/lib/xen-4.0/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
> vnclisten="0.0.0.0"
> vncconsole=1
> vncpasswd='canonigos'
> stdvga=0
> serial='pty'
> usbdevice='tablet'
>
>
> > > on_reboot   = 'restart'
> on_crash    = 'restart'
>
>
> ########################
>
>
> With this config I've no network inside the domU-HVM but PV domU's
> with Debian works great.
>
>
> If I change vif= statement to type=paravirtualized the domU-HVM
> doesn't recognize the PCI Network device.
>
>
> There's some bug rolling' here?
>
>
> Thanks!
>
>
> J.
>
>
> --
> _____________________________________________
>
> Francisco Javier Funes Nieto [esencia@xxxxxxxxx]
> CANONIGOS
> Servicios Informáticos para PYMES.
> Cl. Cruz 2, 1º Oficina 7
> Tlf: 958.536759 / 661134556
> Fax: 958.521354
> GRANADA - 18002
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

--
horoa: la voie est libre



--
_____________________________________________

Francisco Javier Funes Nieto [esencia@xxxxxxxxx]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>