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] could not get IP address for the interface created by ne

To: veerasena reddy <veeruyours@xxxxxxxxx>
Subject: Re: [Xen-users] could not get IP address for the interface created by netfront driver on HVM guest
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Sat, 18 Jun 2011 21:19:48 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 18 Jun 2011 18:21:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=We+QUrE+wYBwrf+tMKWUHHHu+iM9Zkm6I/NRJYHK0C4=; b=Di4IeC67u8S379gji/V1LX1e9Pt7k9NAxuSmRbZkk8bOflZGk9RC04OjiQUwz9idux y9xKR3V7HAeW0Xinxo22RT4uyBZP9H454qcKulhRrV54nimWRYiXUIQ+A5rChn8L7knw pMA1zf98I9oA5KKi7P4qmkyLua9al/Y6ljHf0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=pRYLVJmDK/B/3KwTQzbrnnwv8GjhYTE8z7707j8FwpzVuClRI4rGkyVQtvZFoRnDbU 7MjnpYSlFOkGoEPfChBF47Nh3R4/eJIp25uskAenms95Nl+cVQvJk0WVeAZNhJVTcaY8 1mXwoqNf1xoNqMndKiVddmZNSseW3+0JCMIbM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTi=3XGhb+udda_spvm=GND2VOWMHmg@xxxxxxxxxxxxxx>
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: <BANLkTi=3XGhb+udda_spvm=GND2VOWMHmg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Jun 18, 2011 at 4:16 PM, veerasena reddy <veeruyours@xxxxxxxxx> wrote:
> Hi,
>
> I am trying to run PV drivers on my HVM guest.
> For this, I have compiled 2.6.35.9 kernel downloaded from kernel.org + the
> PV-on-HVM drivers patch "pvdrivers.20100509-1955.patch" downloaded from
> http://blog.alex.org.uk/2010/05/09/linux-pv-drivers-for-xen-hvm-building-normally-within-an-arbitrary-kernel-tree/.
> During compilation i disabled "Paravirtualized Guest Support" (and so
> "CONFIG_XEN" got disabled) and enabled only "XEN pvdrivers" from the patch.
>
> The installation of the VM was done using "virt-manager" graphical utility.
> After the installation of VM and the new kernel with PV drivers
> compiled/installed on HVM guest, I shutdown the VM, closed the virt-manager,
> changed the "vif" configuration in /var/lib/xend/domains/<UUID>/config.sxp
> to "(type netfront)" as below:
>     (device
>         (vif
>             (bridge virbr0)
>             (uuid 50c7ccfd-45a7-61df-e94b-52bea67d3ee0)
>             (script /etc/xen/scripts/vif-bridge)
>             (mac 00:16:36:30:24:8a)
>             (type netfront)
>             (backend 0)
>         )
>     )
>
> Then, xend was restarted and virt-manager is restarted and the HVM guest is
> started.
> The HVM guest boots fine, all the PV drivers are loaded (balloon, vbd, vnif,
> platform-pci), network interface is created (also observed Tx/Rx counters
> increasing) but it never got IP addresses which otherwise could get in pure
> HVM mode. ethtool -i eth0 on the HVM guest shows netfront is the driver for
> the interface.
>
> Could you please help me, if I missed something in configuring netfront
> device assignment to HVM guest.
>

IP address assignment should be independent of the NIC driver. Could
you do a tcpdump or tshark network trace to see if the DHCP packets
are going and coming in correctly?

You could also try to assign a static IP to and pinging self and the
local network/gateway to see if basic networking is working.

Thanks,
Todd


> Thanks & Regards,
> VSR.
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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