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] Personalizing names of "vifX.X"

To: Leonardo Pinto <listas@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Personalizing names of "vifX.X"
From: Anand <xen.mails@xxxxxxxxx>
Date: Fri, 6 Jan 2006 18:58:14 +0530
Cc: Fedora Xen <fedora-xen@xxxxxxxxxx>, Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>, PAINCHAUD Christophe <cpainchaud@xxxxxxxxxxx>
Delivery-date: Fri, 06 Jan 2006 13:34:08 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LiJtvsE95EdbAjPmkBSB1VFFtADf2C84lx7nyQHpb661pDEsF0TYf4wMWpbVFyxjuByfRQ4aGI+3soRupLAFOFMTE3h/1waiMmlO1HhM9ckGWFXSTfMHx5wYfl0UU91506kJD0wWnSjBB+F5gQ5bLHeP/5X91UBEE5OQKc92/2Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060105155958.97918102FCE@xxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060105155958.97918102FCE@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am using the custom vif names now inside domU config. However while booting up and shutting down domU, i see this inside /var/log/messages in dom0

Jan  6 18:54:20 xen net.agent[8922]: remove event not handled

Jan  6 18:54:36 xen hald[4869]: Timed out waiting for hotplug event 1148. Rebasing to 1149
Jan  6 18:54:37 xen hal.hotplug[9720]: timout(10000 ms) waiting for /class/net/vif3.0

This is the third time a domU has been booted on this machine so i can understand the vif3.0, however i have put a custom name for the vifname as vm01.

ifconfig from dom0

eth0      Link encap:Ethernet  HWaddr 00:08:A1:50:FA:19
          inet addr:192.168.1.250  Bcast:192.168.1.255  Mask: 255.255.255.0
          inet6 addr: fe80::208:a1ff:fe50:fa19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7828 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6329 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3537327 (3.3 MiB)  TX bytes:835757 (816.1 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:76 (76.0 b)  TX bytes:76 (76.0 b)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:7811 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6449 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3548430 (3.3 MiB)  TX bytes:859382 (839.2 KiB)
          Interrupt:16 Base address:0xa000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6332 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7830 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:837371 (817.7 KiB)  TX bytes:3537471 (3.3 MiB)

vm01      Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:14 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:762 (762.0 b)  TX bytes:11140 (10.8 KiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:341 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:31190 (30.4 KiB)  TX bytes:378 ( 378.0 b)

ifconfig from inside domU

eth0      Link encap:Ethernet  HWaddr AA:00:00:18:98:FB
          inet addr:192.168.1.105  Bcast:192.168.1.255   Mask:255.255.255.0
          inet6 addr: fe80::a800:ff:fe18:98fb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:56 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11226 (10.9 KiB)  TX bytes:762 (762.0 b)

lo        Link encap:Local Loopback
          inet addr: 127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Any help would be appreciated.

On 1/5/06, Leonardo Pinto <listas@xxxxxxxxxxxxxxxx> wrote:
Here everything functioned well. I applied the patches in the hand in
following the files of the FC4:

"/etc/xen/scripts/vif-common.sh" and
"/usr/lib/python/xen/xend/server/netif.py"

Remaining only obviously the last adjustment in the configuration file of
the virtual machine:

"vif = [ ' mac=aa:00:00:00:00:11, bridge=isp0, vifname=isp0.0 ' ]"

Special thanks for "PAINCHAUD Christophe".

--
Leonardo Pinto
listas#openlogic dot com br

> I tried to apply it to the 2 files vif-common.sh and netif.py however the
vifnames specified inside the config don't work. Any ideas ?On 1/5/06,
PAINCHAUD Christophe
>
>
>  &lt;cpainchaud@xxxxxxxxxxx&gt; wrote:
> A dev just pointed me this link :
>
http://xenbits.xensource.com/xen-unstable.hg?cmd=changeset;node=95f84e37c90d573dd01cc29db5b81ffb5f86f84a
>
> Regards...
>
> Christophe PAINCHAUD
>
>
> Somebody could answer me if is possible to modify the standard of the name
> of the virtual interfaces vifX.X? And where I can make these alterations
for
> my proper personalizations?
>
> Thankful,
> --
> Leonardo Pinto


________________________________________________
Mensagem enviada usando OpenLogic WebMail 2.7.2




--

regards,

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